Class UserGroupMembershipUtils


  • public class UserGroupMembershipUtils
    extends Object
    Utility class for creating audit events about user group membership.
    Since:
    2.7
    Author:
    Tom Page
    • Field Detail

      • PARENT_GROUP

        public static final QName PARENT_GROUP
        A QName to display for the parent group's name.
    • Constructor Detail

      • UserGroupMembershipUtils

        public UserGroupMembershipUtils()
    • Method Detail

      • makePropertiesMap

        public static Map<QName,​Serializable> makePropertiesMap​(ChildAssociationRef childAssocRef,
                                                                      NodeService nodeService)
        Create a properties map from the given cm:member association.
        Parameters:
        childAssocRef - The association to use.
        nodeService - The node service.
        Returns:
        A map containing the names of the parent and child.