Interface SecurableBaseService<C extends Securable>
- All Superinterfaces:
BaseImmutableService<C>,BaseReadOnlyService<C>,BaseService<C>,SecurableBaseImmutableService<C>,SecurableBaseReadOnlyService<C>
- All Known Subinterfaces:
ArrayDesignService,CoexpressionAnalysisService,DifferentialExpressionAnalysisService,ExperimentalDesignService,ExpressionExperimentService,FactorValueService,GeneDiffExMetaAnalysisService
- All Known Implementing Classes:
ArrayDesignServiceImpl,CoexpressionAnalysisServiceImpl,DifferentialExpressionAnalysisServiceImpl,ExperimentalDesignServiceImpl,ExpressionExperimentServiceImpl,FactorValueServiceImpl,GeneDiffExMetaAnalysisServiceImpl
public interface SecurableBaseService<C extends Securable>
extends BaseService<C>, SecurableBaseImmutableService<C>
A base service for securable entities.
This interface provides sensible default Secured annotations for all methods defined and inherited from
BaseService.
- Author:
- poirigui
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionsave(Collection<C> entities) voidUpdates the given entity in the persistent storage.voidupdate(Collection<C> entities) Updates all entities in the given collection in the persistent storage.Methods inherited from interface ubic.gemma.persistence.service.BaseReadOnlyService
countAll, getElementClass, loadOrFail, loadOrFailMethods inherited from interface ubic.gemma.persistence.service.common.auditAndSecurity.SecurableBaseImmutableService
create, create, findOrCreate, remove, remove, removeMethods inherited from interface ubic.gemma.persistence.service.common.auditAndSecurity.SecurableBaseReadOnlyService
find, findOrFail, load, load, loadAll, loadOrFail, loadOrFail, loadOrFail, loadOrFail, streamAll, streamAll
-
Method Details
-
save
@Secured({"GROUP_USER","ACL_SECURABLE_COLLECTION_EDIT_IGNORE_TRANSIENT"}) Collection<C> save(Collection<C> entities) - Specified by:
savein interfaceBaseService<C extends Securable>- See Also:
-
save
- Specified by:
savein interfaceBaseService<C extends Securable>- See Also:
-
update
Description copied from interface:BaseServiceUpdates the given entity in the persistent storage.- Specified by:
updatein interfaceBaseService<C extends Securable>- Parameters:
entity- the entity to be updated.
-
update
Description copied from interface:BaseServiceUpdates all entities in the given collection in the persistent storage.- Specified by:
updatein interfaceBaseService<C extends Securable>- Parameters:
entities- the entities to be updated.
-