Class Permission

    • Constructor Detail

      • Permission

        public Permission​(org.alfresco.service.namespace.QName typeQName)
        A permission for the given type
        Parameters:
        typeQName - QName
    • Method Detail

      • getDefaultPermission

        public org.alfresco.service.cmr.security.AccessStatus getDefaultPermission()
        Default deny/allow for this permission
        Returns:
        the access status
      • getGrantedToGroups

        public java.util.Set<PermissionReference> getGrantedToGroups()
        Get the groups for which this permission is granted (by definition - filled in by the model API)
        Returns:
        the specifed groups
      • isExposed

        public boolean isExposed()
        Should this permission be shown to the UI?
        Returns:
        return true if the permission be shown in the UI.
      • isTypeRequired

        public boolean isTypeRequired()
        Does a node have to have the type/aspect for the permission to apply?
        Returns:
        true if a node must have the type/aspect for the permission to apply.