Interface Secure<T extends AccessControlEntry>

Type Parameters:
T - The exact type or AccessControlEntry
All Superinterfaces:
Serializable
All Known Implementing Classes:
Document, Folder, Hit, Menu, Template

public interface Secure<T extends AccessControlEntry> 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<T> acl)
    • getAccessControlList

      Set<T> getAccessControlList()
    • getAccessControlEntry

      AccessControlEntry getAccessControlEntry(long groupId)
    • addAccessControlEntry

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