Interface AccessControlEntryInterface

All Superinterfaces:
MetadataInterface, PublicObjectInterface, Remote
All Known Implementing Classes:
DAVAccessControlEntry

public interface AccessControlEntryInterface extends MetadataInterface
Since:
1.1
  • Method Details

    • getIdentities

      List getIdentities() throws ServiceException, RemoteException
      Get a List of identities that are associated with this ACE.
      Specified by:
      getIdentities in interface MetadataInterface
      Returns:
      a List of IdentityInterface objects
      Throws:
      ServiceException - in the event of repository errors.
      RemoteException - in the event of remote object failure.
    • addIdentity

      void addIdentity(IdentityInterface identity) throws ServiceException, RemoteException
      Add an identity to this ACE.
      Parameters:
      identity - The identity to add to this ACE.
      Throws:
      ServiceException - in the event of repository errors.
      RemoteException - in the event of remote object failure.
    • removeIdentity

      void removeIdentity(IdentityInterface identity) throws ServiceException, RemoteException
      Remove an identity from this ACE.
      Parameters:
      identity - the Identity to remove from this ACE.
      Throws:
      ServiceException - in the event of repository errors.
      RemoteException - in the event of remote object failure.
    • setIdentities

      void setIdentities(List identities) throws ServiceException, RemoteException
      Set the set of identities on this ACE. Any existing identities will be removed, and replaced with this list.
      Parameters:
      identities - The List of IdentityInterface objects to set as the identities on this ACE.
      Throws:
      ServiceException - in the event of repository errors.
      RemoteException - in the event of remote object failure.
    • getPermissions

      List getPermissions() throws ServiceException, RemoteException
      Get a List of permissions that are associated with this ACE.
      Returns:
      a List of Permission objects.
      Throws:
      ServiceException - in the event of repository errors.
      RemoteException - in the event of remote object failure.
    • addPermission

      void addPermission(PermissionInterface permission) throws ServiceException, RemoteException
      Add a permission to this ACE.
      Parameters:
      permission - A permission to add to this ACE.
      Throws:
      ServiceException - in the event of repository errors.
      RemoteException - in the event of remote object failure.
    • removePermission

      void removePermission(PermissionInterface permission) throws ServiceException, RemoteException
      Remove a permission from this ACE.
      Parameters:
      permission - A permission to remove from this ACE.
      Throws:
      ServiceException - in the event of repository errors.
      RemoteException - in the event of remote object failure.
    • setPermissions

      void setPermissions(List permissions) throws ServiceException, RemoteException
      Set the list of permissions on the ACE. Any existing permissions will be removed and replaced with this list.
      Parameters:
      permissions - The List of Permission objects to set on this ACE.
      Throws:
      ServiceException - in the event of repository errors.
      RemoteException - in the event of remote object failure.
    • getAccessControlTemplates

      List getAccessControlTemplates() throws ServiceException, RemoteException
      Get the access control templates for this entry.
      Returns:
      A List of access control templates for this entry.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.