Interface PermissionEntry

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.alfresco.service.cmr.security.AccessStatus getAccessStatus()
      Get the Access enum value
      java.lang.String getAuthority()
      Get the authority to which this entry applies This could be the string value of a username, group, role or any other authority assigned to the authorisation.
      org.alfresco.service.cmr.repository.NodeRef getNodeRef()
      Get the node ref for the node to which this permission applies.
      PermissionReference getPermissionReference()
      Get the permission definition.
      int getPosition()
      Return the position in the inhertance chain (0 is not inherited and set on the object)
      boolean isAllowed()
      Is permission allowed?
      boolean isDenied()
      Is permissions denied?
      boolean isInherited()
      Is this permission inherited?
    • Method Detail

      • getPermissionReference

        PermissionReference getPermissionReference()
        Get the permission definition. This may be null. Null implies that the settings apply to all permissions
        Returns:
        PermissionReference
      • getAuthority

        java.lang.String getAuthority()
        Get the authority to which this entry applies This could be the string value of a username, group, role or any other authority assigned to the authorisation. If null then this applies to all.
        Returns:
        String
      • getNodeRef

        org.alfresco.service.cmr.repository.NodeRef getNodeRef()
        Get the node ref for the node to which this permission applies. This can only be null for a global permission
        Returns:
        NodeRef
      • isDenied

        boolean isDenied()
        Is permissions denied?
      • isAllowed

        boolean isAllowed()
        Is permission allowed?
      • getAccessStatus

        org.alfresco.service.cmr.security.AccessStatus getAccessStatus()
        Get the Access enum value
        Returns:
        AccessStatus
      • isInherited

        boolean isInherited()
        Is this permission inherited?
        Returns:
        boolean
      • getPosition

        int getPosition()
        Return the position in the inhertance chain (0 is not inherited and set on the object)
        Returns:
        int