Class PermissionGroup

    • Constructor Summary

      Constructors 
      Constructor Description
      PermissionGroup​(org.alfresco.service.namespace.QName container)
      Permission group for the given type or aspect.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<PermissionReference> getIncludedPermissionGroups()
      What permission groups are included in this one (for ease of definition)
      java.lang.String getName()
      Get the name of the permission
      org.alfresco.service.namespace.QName getQName()
      Get the QName of the type or aspect against which the permission is defined.
      org.alfresco.service.namespace.QName getTypeQName()
      Get the class
      void initialise​(org.dom4j.Element element, org.alfresco.service.namespace.NamespacePrefixResolver nspr, PermissionModel permissionModel)  
      boolean isAllowFullControl()
      Does this permission group allow full control?
      boolean isExposed()
      Expose in the UI?
      boolean isExtends()
      Does this definition extend another (from a base type as defined in the DD)
      boolean isTypeRequired()
      Does a node have to have a the type for the permission to apply?
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PermissionGroup

        public PermissionGroup​(org.alfresco.service.namespace.QName container)
        Permission group for the given type or aspect.
        Parameters:
        container - QName
    • Method Detail

      • getIncludedPermissionGroups

        public java.util.Set<PermissionReference> getIncludedPermissionGroups()
        What permission groups are included in this one (for ease of definition)
        Returns:
        - the set of included permission from teh definitio
      • isAllowFullControl

        public boolean isAllowFullControl()
        Does this permission group allow full control?
        Returns:
        true if this definition allows full control
      • getQName

        public org.alfresco.service.namespace.QName getQName()
        Description copied from interface: PermissionReference
        Get the QName of the type or aspect against which the permission is defined.
        Specified by:
        getQName in interface PermissionReference
        Returns:
        the qname
      • isExtends

        public boolean isExtends()
        Does this definition extend another (from a base type as defined in the DD)
        Returns:
        true if the permission is extended from another type
      • getTypeQName

        public org.alfresco.service.namespace.QName getTypeQName()
        Get the class
        Returns:
        - the class
      • isExposed

        public boolean isExposed()
        Expose in the UI?
        Returns:
        exposed -> true
      • isTypeRequired

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