Interface ACLService

  • All Superinterfaces:
    CRUDService<com.flower.docs.domain.acl.SecurityObject>

    public interface ACLService
    extends CRUDService<com.flower.docs.domain.acl.SecurityObject>
    Manages SecurityObject 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 scope
      com.flower.docs.domain.acl.SecurityObject getForComponent​(com.flower.docs.domain.component.ComponentReference reference)
      Gets security object for provided component reference.
    • 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 occurred
        com.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