public abstract class CMISAbstractDictionaryService extends org.springframework.extensions.surf.util.AbstractLifecycleBean implements CMISDictionaryService, org.alfresco.repo.dictionary.DictionaryListener
| Modifier and Type | Field and Description |
|---|---|
protected CMISMapping |
cmisMapping |
protected org.alfresco.service.cmr.dictionary.DictionaryService |
dictionaryService |
protected static org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
CMISAbstractDictionaryService() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterDictionaryDestroy() |
void |
afterDictionaryInit() |
protected abstract void |
createDefinitions(org.alfresco.cmis.dictionary.CMISAbstractDictionaryService.DictionaryRegistry registry)
Factory for creating CMIS Definitions
|
CMISDataTypeEnum |
findDataType(org.alfresco.service.namespace.QName dataType)
Find data type
|
CMISPropertyDefinition |
findProperty(org.alfresco.service.namespace.QName property,
CMISTypeDefinition matchingType)
Find property.
|
CMISPropertyDefinition |
findProperty(java.lang.String property,
CMISTypeDefinition matchingType)
Find property.
|
CMISPropertyDefinition |
findPropertyByQueryName(java.lang.String queryName)
Find a property by its query name
|
CMISTypeDefinition |
findType(CMISTypeId typeId)
Find type for type id
|
CMISTypeDefinition |
findType(java.lang.String typeId)
Find type for type id
|
CMISTypeDefinition |
findTypeByQueryName(java.lang.String queryName)
Find a type by its query name
|
CMISTypeDefinition |
findTypeForClass(org.alfresco.service.namespace.QName clazz,
CMISScope[] matchingScopes)
Find type for Alfresco class name.
|
java.util.Collection |
getAllTypes()
Get all Types
|
java.util.Collection |
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(org.alfresco.repo.dictionary.DictionaryDAO dictionaryDAO)
Set the dictionary DAO
|
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Set the dictionary Service
|
void |
setSingletonCache(org.alfresco.repo.cache.SimpleCache singletonCache) |
protected static final org.apache.commons.logging.Log logger
protected CMISMapping cmisMapping
protected org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService
public void setCMISMapping(CMISMapping cmisMapping)
cmisMapping - public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService - public void setDictionaryDAO(org.alfresco.repo.dictionary.DictionaryDAO dictionaryDAO)
dictionaryDAO - public void setSingletonCache(org.alfresco.repo.cache.SimpleCache singletonCache)
public CMISTypeDefinition findType(CMISTypeId typeId)
CMISDictionaryServicefindType in interface CMISDictionaryServicepublic CMISTypeDefinition findType(java.lang.String typeId)
CMISDictionaryServicefindType in interface CMISDictionaryServicepublic CMISTypeDefinition findTypeForClass(org.alfresco.service.namespace.QName clazz, CMISScope[] matchingScopes)
CMISDictionaryServicefindTypeForClass in interface CMISDictionaryServicepublic CMISTypeDefinition findTypeByQueryName(java.lang.String queryName)
CMISDictionaryServicefindTypeByQueryName in interface CMISDictionaryServicepublic CMISPropertyDefinition findPropertyByQueryName(java.lang.String queryName)
CMISDictionaryServicefindPropertyByQueryName in interface CMISDictionaryServicepublic java.util.Collection getBaseTypes()
CMISDictionaryServicegetBaseTypes in interface CMISDictionaryServicepublic java.util.Collection getAllTypes()
CMISDictionaryServicegetAllTypes in interface CMISDictionaryServicepublic CMISPropertyDefinition findProperty(org.alfresco.service.namespace.QName property, CMISTypeDefinition matchingType)
CMISDictionaryServicefindProperty in interface CMISDictionaryServicepublic CMISPropertyDefinition findProperty(java.lang.String property, CMISTypeDefinition matchingType)
CMISDictionaryServicefindProperty in interface CMISDictionaryServicepublic CMISDataTypeEnum findDataType(org.alfresco.service.namespace.QName dataType)
CMISDictionaryServicefindDataType in interface CMISDictionaryServiceprotected abstract void createDefinitions(org.alfresco.cmis.dictionary.CMISAbstractDictionaryService.DictionaryRegistry registry)
registry - public void onDictionaryInit()
onDictionaryInit in interface org.alfresco.repo.dictionary.DictionaryListenerpublic void afterDictionaryInit()
afterDictionaryInit in interface org.alfresco.repo.dictionary.DictionaryListenerpublic void afterDictionaryDestroy()
afterDictionaryDestroy in interface org.alfresco.repo.dictionary.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.AbstractLifecycleBeanCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.