java.lang.Object
com.lexmark.saperion.client.implementation.administration.AclClientImpl
All Implemented Interfaces:
AclClient

public class AclClientImpl extends 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

    Modifier and Type
    Method
    Description
    void
    This method deletes the access control list.
    List<com.lexmark.saperion.administration.AclReferenceType>
    This method returns the ACLs currently set on the ACL.
    com.lexmark.saperion.administration.AclType
    This method loads the access control list.
    void
    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 Details

    • AclClientImpl

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

    • 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 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