|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.dictionary.RepositoryLocation
public class RepositoryLocation
Repository location object, defines a location in the repository from which dictionary models/resources should be loaded for inclusion in the data dictionary.
| Field Summary | |
|---|---|
static java.lang.String |
LANGUAGE_PATH
|
| Constructor Summary | |
|---|---|
RepositoryLocation()
|
|
RepositoryLocation(org.alfresco.service.cmr.repository.StoreRef storeRef,
java.lang.String path,
java.lang.String queryLanguage)
Constructor |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String LANGUAGE_PATH
| Constructor Detail |
|---|
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')| Method Detail |
|---|
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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||