Package com.flower.docs.service.api.acl
Interface ACLService
-
- All Superinterfaces:
CRUDService<com.flower.docs.domain.acl.SecurityObject>
public interface ACLService extends CRUDService<com.flower.docs.domain.acl.SecurityObject>
ManagesSecurityObject
domain objects- Author:
- Christopher Laszczuk
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<com.flower.docs.domain.acl.SecurityObject>
getAll()
Gets all security objects of the current scopecom.flower.docs.domain.acl.SecurityObject
getForComponent(com.flower.docs.domain.component.ComponentReference reference)
Gets security object for provided component reference.-
Methods inherited from interface com.flower.docs.service.api.common.CRUDService
create, delete, get, update
-
-
-
-
Method Detail
-
getAll
java.util.List<com.flower.docs.domain.acl.SecurityObject> getAll() throws com.flower.docs.domain.exception.TechnicalException, com.flower.docs.domain.exception.FunctionalException
Gets all security objects of the current scope- Returns:
- All security objects of the current scope
- Throws:
com.flower.docs.domain.exception.TechnicalException
- If a technical error occurredcom.flower.docs.domain.exception.FunctionalException
- If a functional error occurred
-
getForComponent
com.flower.docs.domain.acl.SecurityObject getForComponent(com.flower.docs.domain.component.ComponentReference reference) throws com.flower.docs.domain.exception.FunctionalException, com.flower.docs.domain.exception.TechnicalException
Gets security object for provided component reference. If no security object can be retrieved or component does not exist, returns null- Parameters:
reference
-- Returns:
- Security object for provided component
- Throws:
com.flower.docs.domain.exception.FunctionalException
com.flower.docs.domain.exception.TechnicalException
-
-