|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.extensions.surf.util.AbstractLifecycleBean
org.alfresco.opencmis.dictionary.CMISAbstractDictionaryService
public abstract class CMISAbstractDictionaryService
Common CMIS Dictionary Support including registry of Types.
| Field Summary | |
|---|---|
protected PropertyAccessorMapping |
accessorMapping
|
protected CMISMapping |
cmisMapping
|
protected DictionaryService |
dictionaryService
|
protected static org.apache.commons.logging.Log |
logger
|
protected PropertyLuceneBuilderMapping |
luceneBuilderMapping
|
protected TenantService |
tenantService
|
| Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
|---|
log |
| Constructor Summary | |
|---|---|
CMISAbstractDictionaryService()
|
|
| Method Summary | |
|---|---|
void |
afterDictionaryDestroy()
|
void |
afterDictionaryInit()
|
protected abstract void |
createDefinitions(org.alfresco.opencmis.dictionary.CMISAbstractDictionaryService.DictionaryRegistry registry)
Factory for creating CMIS Definitions |
QName |
findAlfrescoDataType(org.apache.chemistry.opencmis.commons.enums.PropertyType propertyType)
|
TypeDefinitionWrapper |
findAssocType(QName clazz)
|
org.apache.chemistry.opencmis.commons.enums.PropertyType |
findDataType(QName dataType)
Find data type |
TypeDefinitionWrapper |
findNodeType(QName clazz)
|
PropertyDefinitionWrapper |
findProperty(java.lang.String propId)
|
PropertyDefinitionWrapper |
findPropertyByQueryName(java.lang.String queryName)
|
TypeDefinitionWrapper |
findType(java.lang.String typeId)
Find type for type id |
TypeDefinitionWrapper |
findTypeByQueryName(java.lang.String queryName)
Find a type by its query name |
TypeDefinitionWrapper |
findTypeForClass(QName clazz,
org.apache.chemistry.opencmis.commons.enums.BaseTypeId[] matchingScopes)
Find type for Alfresco class name. |
QName |
getAlfrescoClass(QName name)
|
java.util.List |
getAllTypes()
Get all Types |
java.util.List |
getBaseTypes()
Get Base Types |
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event)
|
void |
onDictionaryInit()
|
protected void |
onShutdown(org.springframework.context.ApplicationEvent event)
|
void |
setCmisMapping(CMISMapping cmisMapping)
Set the mapping service |
void |
setDictionaryDAO(DictionaryDAO dictionaryDAO)
Set the dictionary DAO |
void |
setDictionaryService(DictionaryService dictionaryService)
Set the dictionary Service |
void |
setPropertyAccessorMapping(PropertyAccessorMapping accessorMapping)
Set the property accessor mapping service |
void |
setPropertyLuceneBuilderMapping(PropertyLuceneBuilderMapping luceneBuilderMapping)
Set the property lucene mapping service |
void |
setTenantService(TenantService tenantService)
Set the tenant Service |
| Methods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
|---|
getApplicationContext, onApplicationEvent, setApplicationContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.commons.logging.Log logger
protected DictionaryService dictionaryService
protected TenantService tenantService
protected CMISMapping cmisMapping
protected PropertyAccessorMapping accessorMapping
protected PropertyLuceneBuilderMapping luceneBuilderMapping
| Constructor Detail |
|---|
public CMISAbstractDictionaryService()
| Method Detail |
|---|
public void setCmisMapping(CMISMapping cmisMapping)
cmisMapping - public void setPropertyAccessorMapping(PropertyAccessorMapping accessorMapping)
accessor - mappingpublic void setPropertyLuceneBuilderMapping(PropertyLuceneBuilderMapping luceneBuilderMapping)
lucene - mappingpublic void setDictionaryService(DictionaryService dictionaryService)
dictionaryService - public void setDictionaryDAO(DictionaryDAO dictionaryDAO)
dictionaryDAO - public void setTenantService(TenantService tenantService)
tenantService - public TypeDefinitionWrapper findType(java.lang.String typeId)
CMISDictionaryService
findType in interface CMISDictionaryService
public TypeDefinitionWrapper findTypeForClass(QName clazz,
org.apache.chemistry.opencmis.commons.enums.BaseTypeId[] matchingScopes)
CMISDictionaryService
findTypeForClass in interface CMISDictionaryServicepublic TypeDefinitionWrapper findNodeType(QName clazz)
findNodeType in interface CMISDictionaryServicepublic TypeDefinitionWrapper findAssocType(QName clazz)
findAssocType in interface CMISDictionaryServicepublic TypeDefinitionWrapper findTypeByQueryName(java.lang.String queryName)
CMISDictionaryService
findTypeByQueryName in interface CMISDictionaryServicepublic QName getAlfrescoClass(QName name)
public PropertyDefinitionWrapper findProperty(java.lang.String propId)
findProperty in interface CMISDictionaryServicepublic PropertyDefinitionWrapper findPropertyByQueryName(java.lang.String queryName)
findPropertyByQueryName in interface CMISDictionaryServicepublic java.util.List getBaseTypes()
CMISDictionaryService
getBaseTypes in interface CMISDictionaryServicepublic java.util.List getAllTypes()
CMISDictionaryService
getAllTypes in interface CMISDictionaryServicepublic org.apache.chemistry.opencmis.commons.enums.PropertyType findDataType(QName dataType)
CMISDictionaryService
findDataType in interface CMISDictionaryServicepublic QName findAlfrescoDataType(org.apache.chemistry.opencmis.commons.enums.PropertyType propertyType)
findAlfrescoDataType in interface CMISDictionaryServiceprotected abstract void createDefinitions(org.alfresco.opencmis.dictionary.CMISAbstractDictionaryService.DictionaryRegistry registry)
registry - public void onDictionaryInit()
onDictionaryInit in interface DictionaryListenerpublic void afterDictionaryInit()
afterDictionaryInit in interface DictionaryListenerpublic void afterDictionaryDestroy()
afterDictionaryDestroy in interface DictionaryListenerprotected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap in class org.springframework.extensions.surf.util.AbstractLifecycleBeanprotected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown in class org.springframework.extensions.surf.util.AbstractLifecycleBean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||