Interface Securable

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractAttributeSet, AbstractDocument, AttributeSet, Document, Folder, Hit, Menu, SecurableExtensibleObject, SecurablePersistentObject, Template, Version

public interface Securable extends Serializable
An object that implements this interface, supports an Access Control List to define security policies. Each element of the ACL is an AccessControlEntry.
Since:
8.9.1
Author:
Marco Meschieri - LogicalDOC
  • Method Details

    • setAccessControlList

      void setAccessControlList(Set<AccessControlEntry> acl)
    • getAccessControlList

      Set<AccessControlEntry> getAccessControlList()
    • getAccessControlEntry

      AccessControlEntry getAccessControlEntry(long groupId)
    • addAccessControlEntry

      void addAccessControlEntry(AccessControlEntry ace)
      Adds a new entry, replacing a previous one with the same groupId.
      Parameters:
      ace - the access control entry to add