Class BlacklistedEntityServiceImpl
java.lang.Object
ubic.gemma.persistence.service.AbstractService<BlacklistedEntity>
ubic.gemma.persistence.service.AbstractVoEnabledService<BlacklistedEntity,BlacklistedValueObject>
ubic.gemma.persistence.service.blacklist.BlacklistedEntityServiceImpl
- All Implemented Interfaces:
BaseImmutableService<BlacklistedEntity>,BaseReadOnlyService<BlacklistedEntity>,BaseService<BlacklistedEntity>,BaseVoEnabledService<BlacklistedEntity,,BlacklistedValueObject> BlacklistedEntityService
@Service
public class BlacklistedEntityServiceImpl
extends AbstractVoEnabledService<BlacklistedEntity,BlacklistedValueObject>
implements BlacklistedEntityService
-
Field Summary
Fields inherited from class ubic.gemma.persistence.service.AbstractService
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblacklistExpressionExperiment(ExpressionExperiment dataset, String reason) Blacklist a given dataset.blacklistPlatform(ArrayDesign platform, String reason) Blacklist a given platform.findByAccession(String accession) booleanisBlacklisted(String accession) booleanisBlacklisted(ArrayDesign platform) booleanisBlacklisted(ExpressionExperiment dataset) intRemove all blacklisted platforms and experiments.Methods inherited from class ubic.gemma.persistence.service.AbstractVoEnabledService
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIdsMethods inherited from class ubic.gemma.persistence.service.AbstractService
countAll, create, create, ensureInSession, ensureInSession, find, findOrCreate, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, remove, remove, remove, save, save, streamAll, streamAll, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ubic.gemma.persistence.service.BaseImmutableService
create, create, findOrCreate, remove, remove, removeMethods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, find, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, loadOrFail, streamAll, streamAllMethods inherited from interface ubic.gemma.persistence.service.BaseVoEnabledService
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
-
Constructor Details
-
BlacklistedEntityServiceImpl
-
-
Method Details
-
isBlacklisted
- Specified by:
isBlacklistedin interfaceBlacklistedEntityService- See Also:
-
isBlacklisted
- Specified by:
isBlacklistedin interfaceBlacklistedEntityService- See Also:
-
isBlacklisted
- Specified by:
isBlacklistedin interfaceBlacklistedEntityService- See Also:
-
findByAccession
- Specified by:
findByAccessionin interfaceBlacklistedEntityService- See Also:
-
blacklistExpressionExperiment
@Transactional public BlacklistedExperiment blacklistExpressionExperiment(ExpressionExperiment dataset, String reason) Description copied from interface:BlacklistedEntityServiceBlacklist a given dataset.- Specified by:
blacklistExpressionExperimentin interfaceBlacklistedEntityService- Parameters:
dataset- the dataset to blacklistreason- a reason, which must be non-empty
-
blacklistPlatform
Description copied from interface:BlacklistedEntityServiceBlacklist a given platform.If the platform has associated datasets, those are blacklisted as well as per
BlacklistedEntityService.blacklistExpressionExperiment(ExpressionExperiment, String). The reason will be adjusted to reflect the cascading through the platform.- Specified by:
blacklistPlatformin interfaceBlacklistedEntityService- Parameters:
platform- the platform to blacklistreason- a reason, which must be non-empty
-
removeAll
@Transactional public int removeAll()Description copied from interface:BlacklistedEntityServiceRemove all blacklisted platforms and experiments.- Specified by:
removeAllin interfaceBlacklistedEntityService
-