Interface Privilege


public interface Privilege
Deprecated.
CQ 5.5
A Privilege is a permission that is granted a given Authorizable. A Privilege is right, that is independant of a particular Item-independant. Rights of Items are granted and enforced on by the Repository. It is still possible that the validity of a Privilege is restricted on pathes within the Repository. In this case the Privilege is isPathDependent() path depoendent}.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    getID.
    boolean
    Deprecated.
    isGranted.
    boolean
    Deprecated.
    isPathDependent.
  • Method Details

    • getID

      String getID()
      Deprecated.

      getID.

      Returns:
      the ID of the current Privilege, should be a relative path
    • isPathDependent

      boolean isPathDependent()
      Deprecated.

      isPathDependent.

      Returns:
      if the privilege is different for different repository locations
    • isGranted

      boolean isGranted(String path)
      Deprecated.

      isGranted.

      Parameters:
      path - repository path or null if this Privilege is is path independent
      Returns:
      true if the privilige is granted on the given path or if the Privilege is path indedpendent