public class CompanyHomeContext extends Object implements NodeRefContext
NodeRefContext
that solves a name path relative to the Alfresco
company home node.Modifier and Type | Field and Description |
---|---|
static String |
COMPANY_HOME_CONTEXT_NAME |
Constructor and Description |
---|
CompanyHomeContext() |
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.repository.NodeRef |
createNamePath(String[] namePath,
NodeRefResolver resolver) |
org.alfresco.service.cmr.repository.NodeRef |
createQNamePath(String[] qNamePath,
String[] names,
NodeRefResolver resolver) |
String |
getContextName() |
org.alfresco.service.cmr.repository.NodeRef |
resolveNamePath(String[] namePath,
NodeRefResolver resolver) |
org.alfresco.service.cmr.repository.NodeRef |
resolveQNamePath(String[] qNamePath,
NodeRefResolver resolver) |
void |
setCompanyHomeQName(String companyHomeQName) |
public static final String COMPANY_HOME_CONTEXT_NAME
public void setCompanyHomeQName(String companyHomeQName)
public org.alfresco.service.cmr.repository.NodeRef resolveNamePath(String[] namePath, NodeRefResolver resolver)
resolveNamePath
in interface NodeRefContext
NodeRef
the given name path resolves to using the
supplied resolver.public org.alfresco.service.cmr.repository.NodeRef resolveQNamePath(String[] qNamePath, NodeRefResolver resolver)
resolveQNamePath
in interface NodeRefContext
NodeRef
the given QName
prefixed string path
resolves to using the supplied resolver.public org.alfresco.service.cmr.repository.NodeRef createNamePath(String[] namePath, NodeRefResolver resolver)
createNamePath
in interface NodeRefContext
public org.alfresco.service.cmr.repository.NodeRef createQNamePath(String[] qNamePath, String[] names, NodeRefResolver resolver)
createQNamePath
in interface NodeRefContext
public String getContextName()
getContextName
in interface NodeRefContext
Copyright © 2005–2017 Alfresco Software. All rights reserved.