Interface LifeCyclePolicyAccessControlEntry

All Known Implementing Classes:
LifeCyclePolicyAccessControlEntryImpl

public interface LifeCyclePolicyAccessControlEntry
Represents a single access control entry for a LifeCyclePolicy
  • Method Details

    • getId

      long getId()
      Gets the entry's identifier
      Returns:
      the entry identifier
    • setId

      void setId(long id)
      Sets the entry's identifier
      Parameters:
      id - the entry identifier
    • isAllow

      boolean isAllow()
      Returns whether this entry allows or denies the action
      Returns:
      true if the action is allowed
    • setAllow

      void setAllow(boolean allow)
      Sets whether this entry allows or denies the action
      Parameters:
      allow - true if the action is allowed
    • getRole

      String getRole()
      Gets the role this entry applies to
      Returns:
      the role
    • setRole

      void setRole(String role)
      Sets the role this entry applies to
      Parameters:
      role - the role
    • getAction

      String getAction()
      Gets the action this entry allows or denies
      Returns:
      the action
    • setAction

      void setAction(String action)
      Sets the action this entry allows or denies
      Parameters:
      action - the action
    • toAccessControlEntry

      AccessControlEntry toAccessControlEntry()
      Converts this entry to an AccessControlEntry
      Returns:
      the converted access control entry
    • fromAccessControlEntry

      void fromAccessControlEntry(AccessControlEntry accessControlEntry)
      Populates this entry from an AccessControlEntry
      Parameters:
      accessControlEntry - the access control entry to populate from