Interface UserManagement


  • public interface UserManagement
    UserManagement...
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addMembers​(Session session, java.lang.String id, java.lang.String[] membersUUID)
      Adds the given memberships to the specified group.
      java.lang.String getAuthorizableId​(DocViewNode node)
      Returns the id of the authorizable from the specified authorizable node to be imported.
      java.lang.String getAuthorizablePath​(Session session, java.lang.String name)
      Returns the path of the authorizable or null if not exists.
      boolean isAuthorizableNodeType​(java.lang.String ntName)
      Checks if the given node type name is used for a User node.
    • Method Detail

      • isAuthorizableNodeType

        boolean isAuthorizableNodeType​(java.lang.String ntName)
        Checks if the given node type name is used for a User node.
        Parameters:
        ntName - the node type name
        Returns:
        true if used for a User node.
      • getAuthorizablePath

        java.lang.String getAuthorizablePath​(Session session,
                                             java.lang.String name)
        Returns the path of the authorizable or null if not exists.
        Parameters:
        name - the authorizable name
        session - the session to access the repository
        Returns:
        path of authorizable
        Since:
        2.3.26
      • getAuthorizableId

        java.lang.String getAuthorizableId​(DocViewNode node)
        Returns the id of the authorizable from the specified authorizable node to be imported.
        Parameters:
        node - the authorizable import node
        Returns:
        The id of the authorizable to be imported.
        Since:
        3.1.10
      • addMembers

        void addMembers​(Session session,
                        java.lang.String id,
                        java.lang.String[] membersUUID)
        Adds the given memberships to the specified group.
        Parameters:
        session - session to operate on
        id - id of group
        membersUUID - uuids of members
        Since:
        2.3.28