Class PoliciesUtil


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

      • getTypeAndAspectQNames

        public static Set<QName> getTypeAndAspectQNames​(NodeService nodeService,
                                                        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