public class RepositoryLocation
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LANGUAGE_PATH |
| Constructor and Description |
|---|
RepositoryLocation() |
RepositoryLocation(org.alfresco.service.cmr.repository.StoreRef storeRef,
java.lang.String path,
java.lang.String queryLanguage)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLuceneQueryStatement(org.alfresco.service.namespace.QName contentModelType)
Get the Lucene query statement for models, based on the path
|
java.lang.String |
getPath()
Get the path
|
java.lang.String[] |
getPathElements() |
java.lang.String |
getQueryLanguage()
Get the query language
|
org.alfresco.service.cmr.repository.StoreRef |
getStoreRef()
Get the store reference
|
java.lang.String |
getXPathQueryStatement(org.alfresco.service.namespace.QName prefixResolvedContentModelType)
Get the XPath query statement for models, based on the path
|
void |
setPath(java.lang.String path)
Set the path
Example path: /app:company_home/app:dictionary/app:models
|
void |
setQueryLanguage(java.lang.String queryLanguage)
Set the query language
|
void |
setStoreId(java.lang.String storeId)
Set the store identifier
|
void |
setStoreProtocol(java.lang.String storeProtocol)
Set the store protocol
|
public static final java.lang.String LANGUAGE_PATH
public RepositoryLocation()
public RepositoryLocation(org.alfresco.service.cmr.repository.StoreRef storeRef,
java.lang.String path,
java.lang.String queryLanguage)
storeRef - the store reference (e.g. 'workspace://SpacesStore' )path - the path (e.g. '/app:company_home/app:dictionary/app:models' )queryLanguage - the query language (e.g. 'xpath' or 'lucence')public void setStoreProtocol(java.lang.String storeProtocol)
storeProtocol - the store protocolpublic void setStoreId(java.lang.String storeId)
storeId - the store identifierpublic void setPath(java.lang.String path)
path - the pathpublic void setQueryLanguage(java.lang.String queryLanguage)
path - the search languagepublic org.alfresco.service.cmr.repository.StoreRef getStoreRef()
public java.lang.String getPath()
public java.lang.String getQueryLanguage()
public java.lang.String getLuceneQueryStatement(org.alfresco.service.namespace.QName contentModelType)
public java.lang.String getXPathQueryStatement(org.alfresco.service.namespace.QName prefixResolvedContentModelType)
public java.lang.String[] getPathElements()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.