Class PoliciesUtil


  • public final class PoliciesUtil
    extends Object
    Utility class with policy helper methods.
    Author:
    Roy Wetherall
    • Method Detail

      • getTypeAndAspectQNames

        public static Set<org.alfresco.service.namespace.QName> getTypeAndAspectQNames​(org.alfresco.service.cmr.repository.NodeService nodeService,
                                                                                       org.alfresco.service.cmr.repository.NodeRef nodeRef)
        Get all aspect and node type qualified names
        Parameters:
        nodeRef - the node we are interested in
        Returns:
        Returns a set of qualified names containing the node type and all the node aspects, or null if the node no longer exists