Interface SecurableBaseService<C extends Securable>
-
- All Superinterfaces:
BaseImmutableService<C>
,BaseReadOnlyService<C>
,BaseService<C>
,SecurableBaseImmutableService<C>
,SecurableBaseReadOnlyService<C>
- All Known Subinterfaces:
ArrayDesignService
,ExpressionExperimentService
- All Known Implementing Classes:
ArrayDesignServiceImpl
,ExpressionExperimentServiceImpl
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 fromBaseService
.- Author:
- poirigui
- See Also:
BaseService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description C
save(C entity)
Collection<C>
save(Collection<C> entities)
void
update(C entity)
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
-
-
-
-
Method Detail
-
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:
BaseDao.save(Collection)
-
save
@Secured({"GROUP_USER","ACL_SECURABLE_EDIT_IGNORE_TRANSIENT"}) C save(C entity)
- Specified by:
save
in interfaceBaseService<C extends Securable>
- See Also:
BaseDao.save(Object)
-
update
@Secured({"GROUP_USER","ACL_SECURABLE_EDIT"}) void update(C entity)
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
@Secured({"GROUP_USER","ACL_SECURABLE_COLLECTION_EDIT"}) void update(Collection<C> entities)
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.
-
-