Interface BlacklistedEntityService
-
- All Superinterfaces:
BaseImmutableService<BlacklistedEntity>
,BaseReadOnlyService<BlacklistedEntity>
,BaseVoEnabledService<BlacklistedEntity,BlacklistedValueObject>
- All Known Implementing Classes:
BlacklistedEntityServiceImpl
public interface BlacklistedEntityService extends BaseImmutableService<BlacklistedEntity>, BaseVoEnabledService<BlacklistedEntity,BlacklistedValueObject>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlacklistedExperiment
blacklistExpressionExperiment(ExpressionExperiment dataset, String reason)
Blacklist a given dataset.BlacklistedPlatform
blacklistPlatform(ArrayDesign platform, String reason)
Blacklist a given platform.BlacklistedEntity
findByAccession(String accession)
boolean
isBlacklisted(String accession)
boolean
isBlacklisted(ArrayDesign platform)
boolean
isBlacklisted(ExpressionExperiment dataset)
int
removeAll()
Remove all blacklisted platforms and experiments.-
Methods inherited from interface ubic.gemma.persistence.service.BaseImmutableService
create, create, findOrCreate, remove, remove, remove
-
Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, find, findOrFail, getElementClass, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail
-
Methods inherited from interface ubic.gemma.persistence.service.BaseVoEnabledService
loadAllValueObjects, loadValueObject, loadValueObjectById, loadValueObjects, loadValueObjectsByIds
-
-
-
-
Method Detail
-
isBlacklisted
boolean isBlacklisted(String accession)
-
isBlacklisted
boolean isBlacklisted(ArrayDesign platform)
-
isBlacklisted
boolean isBlacklisted(ExpressionExperiment dataset)
-
findByAccession
BlacklistedEntity findByAccession(String accession)
-
blacklistExpressionExperiment
@Secured({"GROUP_ADMIN","ACL_SECURABLE_EDIT"}) BlacklistedExperiment blacklistExpressionExperiment(ExpressionExperiment dataset, String reason)
Blacklist a given dataset.- Parameters:
dataset
- the dataset to blacklistreason
- a reason, which must be non-empty
-
blacklistPlatform
@Secured({"GROUP_ADMIN","ACL_SECURABLE_EDIT"}) BlacklistedPlatform blacklistPlatform(ArrayDesign platform, String reason)
Blacklist a given platform.If the platform has associated datasets, those are blacklisted as well as per
blacklistExpressionExperiment(ExpressionExperiment, String)
. The reason will be adjusted to reflect the cascading through the platform.- Parameters:
platform
- the platform to blacklistreason
- a reason, which must be non-empty
-
removeAll
@Secured("GROUP_ADMIN") int removeAll()
Remove all blacklisted platforms and experiments.
-
-