Interface SecurableBaseService<C extends Securable>
- All Superinterfaces:
BaseImmutableService<C>
,BaseReadOnlyService<C>
,BaseService<C>
,SecurableBaseImmutableService<C>
,SecurableBaseReadOnlyService<C>
- All Known Subinterfaces:
ArrayDesignService
,CoexpressionAnalysisService
,DifferentialExpressionAnalysisService
,ExpressionExperimentService
,GeneDiffExMetaAnalysisService
- All Known Implementing Classes:
ArrayDesignServiceImpl
,CoexpressionAnalysisServiceImpl
,DifferentialExpressionAnalysisServiceImpl
,ExpressionExperimentServiceImpl
,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) void
Updates the given entity in the persistent storage.void
update
(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
Methods inherited from interface ubic.gemma.persistence.service.common.auditAndSecurity.SecurableBaseImmutableService
create, create, findOrCreate, remove, remove, remove
Methods 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:
save
in interfaceBaseService<C extends Securable>
- See Also:
-
save
- Specified by:
save
in interfaceBaseService<C extends Securable>
- See Also:
-
update
Description copied from interface:BaseService
Updates the given entity in the persistent storage.- Specified by:
update
in interfaceBaseService<C extends Securable>
- Parameters:
entity
- the entity to be updated.
-
update
Description copied from interface:BaseService
Updates all entities in the given collection in the persistent storage.- Specified by:
update
in interfaceBaseService<C extends Securable>
- Parameters:
entities
- the entities to be updated.
-