Class AclClientImpl

  • All Implemented Interfaces:
    AclClient

    public class AclClientImpl
    extends java.lang.Object
    implements AclClient
    This is the default implementation of AclClient.
    Author:
    tfrisch
    • Constructor Summary

      Constructors 
      Constructor Description
      AclClientImpl​(com.lexmark.saperion.administration.AclManagementService aclManagementService, com.lexmark.saperion.administration.AclReferenceType reference)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete()
      This method deletes the access control list.
      java.util.List<com.lexmark.saperion.administration.AclReferenceType> getACLs()
      This method returns the ACLs currently set on the ACL.
      com.lexmark.saperion.administration.AclType load()
      This method loads the access control list.
      void undelete()
      This method un-deletes the access control list.
      void update​(com.lexmark.saperion.administration.AclPropertiesType properties)
      This method updates the access control list with the given properties.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AclClientImpl

        public AclClientImpl​(com.lexmark.saperion.administration.AclManagementService aclManagementService,
                             com.lexmark.saperion.administration.AclReferenceType reference)
    • Method Detail

      • delete

        public void delete()
                    throws com.lexmark.saperion.exceptions.EcmException
        Description copied from interface: AclClient
        This method deletes the access control list.
        Specified by:
        delete in interface AclClient
        Throws:
        com.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurred
      • undelete

        public void undelete()
                      throws com.lexmark.saperion.exceptions.EcmException
        Description copied from interface: AclClient
        This method un-deletes the access control list.
        Specified by:
        undelete in interface AclClient
        Throws:
        com.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurred
      • load

        public com.lexmark.saperion.administration.AclType load()
                                                         throws com.lexmark.saperion.exceptions.EcmException
        Description copied from interface: AclClient
        This method loads the access control list.
        Specified by:
        load in interface AclClient
        Returns:
        the referenced access control list
        Throws:
        com.lexmark.saperion.exceptions.system.SystemException - indicates that a system exception occurred
        com.lexmark.saperion.exceptions.EcmException
      • update

        public void update​(com.lexmark.saperion.administration.AclPropertiesType properties)
                    throws com.lexmark.saperion.exceptions.EcmException
        Description copied from interface: AclClient
        This method updates the access control list with the given properties.
        Specified by:
        update in interface AclClient
        Parameters:
        properties - the new properties of the access control list
        Throws:
        com.lexmark.saperion.exceptions.system.SystemException - indicates that a system exception occurred
        com.lexmark.saperion.exceptions.EcmException
      • getACLs

        public java.util.List<com.lexmark.saperion.administration.AclReferenceType> getACLs()
                                                                                     throws com.lexmark.saperion.exceptions.EcmException
        Description copied from interface: AclClient
        This method returns the ACLs currently set on the ACL.
        Specified by:
        getACLs in interface AclClient
        Returns:
        the ACLs currently set
        Throws:
        com.lexmark.saperion.exceptions.EcmException - when loading the ACLs failed