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
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 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
-
Method Details
-
isBlacklisted
- See Also:
-
isBlacklisted
- See Also:
-
isBlacklisted
- See Also:
-
findByAccession
- See Also:
-
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.
-