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
Securedannotations 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 Csave(C entity)Collection<C>save(Collection<C> entities)voidupdate(C entity)Updates 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
-
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:
savein interfaceBaseService<C extends Securable>- See Also:
BaseDao.save(Collection)
-
save
@Secured({"GROUP_USER","ACL_SECURABLE_EDIT_IGNORE_TRANSIENT"}) C save(C entity)- Specified by:
savein interfaceBaseService<C extends Securable>- See Also:
BaseDao.save(Object)
-
update
@Secured({"GROUP_USER","ACL_SECURABLE_EDIT"}) void update(C entity)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
@Secured({"GROUP_USER","ACL_SECURABLE_COLLECTION_EDIT"}) void update(Collection<C> entities)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.
-
-