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 Details

    • save

      @Secured({"GROUP_USER","ACL_SECURABLE_COLLECTION_EDIT_IGNORE_TRANSIENT"}) Collection<C> save(Collection<C> entities)
      Specified by:
      save in interface BaseService<C extends Securable>
      See Also:
    • save

      @Secured({"GROUP_USER","ACL_SECURABLE_EDIT_IGNORE_TRANSIENT"}) C save(C entity)
      Specified by:
      save in interface BaseService<C extends Securable>
      See Also:
    • 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 interface BaseService<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 interface BaseService<C extends Securable>
      Parameters:
      entities - the entities to be updated.