Interface NodeRefResolver

    • Method Detail

      • createQNamePath

        NodeRef createQNamePath​(String[] reference,
                                String[] names)
        QName type reference create if absent.Fail safe substitute for Repository.findNodeRef(String, String[]).
        Parameters:
        reference - path element qnames array
        names - names to be used when creating the given path. If less than reference elements they will be matched from the end of the reference path.
        Returns:
        reference array of reference segments
        Throws:
        org.alfresco.error.AlfrescoRuntimeException - if an unimplemented or invalid reference type is provided
        See Also:
        Repository.findNodeRef(String, String[])
      • getCompanyHome

        NodeRef getCompanyHome()
        Gets the Company Home. Note this is tenant-aware if the correct Cache is supplied.
        Returns:
        company home node ref
      • getRootHome

        NodeRef getRootHome()
        Gets the root home of the company home store
        Returns:
        root node ref
      • getSharedHome

        NodeRef getSharedHome()
        Gets the Shared Home. Note this is tenant-aware if the correct Cache is supplied.
        Returns:
        shared home node ref
      • getUserHome

        NodeRef getUserHome​(NodeRef person)
        Gets the user home of the currently authenticated person
        Parameters:
        person - person
        Returns:
        user home of person