Class NodeRefPathExpression

    • Constructor Detail

      • NodeRefPathExpression

        public NodeRefPathExpression​(NodeRefResolver resolver,
                                     java.util.Map<java.lang.String,​NodeRefContext> contexts,
                                     java.lang.String context,
                                     java.lang.String path)
    • Method Detail

      • setContext

        public void setContext​(java.lang.String context)
      • setCreatedPathName

        public void setCreatedPathName​(java.lang.String createNamePath)
      • setPath

        public void setPath​(java.lang.String path)
                     throws org.alfresco.error.AlfrescoRuntimeException
        Path setter.
        The type of path is automatically detected and checked for consistency.
        Parameters:
        path - the string path to be resolved later
        Throws:
        org.alfresco.error.AlfrescoRuntimeException - if the given path is inconsistent (i.e. a combination of qnames and names)
      • splitAndNormalizePath

        public static java.lang.String[] splitAndNormalizePath​(java.lang.String path)
      • resolve

        public org.alfresco.service.cmr.repository.NodeRef resolve()
        Specified by:
        resolve in interface NodeRefExpression
      • resolve

        public org.alfresco.service.cmr.repository.NodeRef resolve​(boolean createIfNotFound)
        Specified by:
        resolve in interface NodeRefExpression
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object