|
|||||||||
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.cmis.dictionary.CMISAbstractDictionaryService
public abstract class CMISAbstractDictionaryService
Common CMIS Dictionary Support including registry of Types.
Field Summary | |
---|---|
protected CMISMapping |
cmisMapping
|
protected org.alfresco.service.cmr.dictionary.DictionaryService |
dictionaryService
|
protected static org.apache.commons.logging.Log |
logger
|
protected org.alfresco.repo.tenant.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.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 |
setTenantService(org.alfresco.repo.tenant.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 CMISMapping cmisMapping
protected org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService
protected org.alfresco.repo.tenant.TenantService tenantService
Constructor Detail |
---|
public CMISAbstractDictionaryService()
Method Detail |
---|
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 setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
tenantService
- public CMISTypeDefinition findType(CMISTypeId typeId)
CMISDictionaryService
findType
in interface CMISDictionaryService
public CMISTypeDefinition findType(java.lang.String typeId)
CMISDictionaryService
findType
in interface CMISDictionaryService
public CMISTypeDefinition findTypeForClass(org.alfresco.service.namespace.QName clazz, CMISScope[] matchingScopes)
CMISDictionaryService
findTypeForClass
in interface CMISDictionaryService
public CMISTypeDefinition findTypeByQueryName(java.lang.String queryName)
CMISDictionaryService
findTypeByQueryName
in interface CMISDictionaryService
public CMISPropertyDefinition findPropertyByQueryName(java.lang.String queryName)
CMISDictionaryService
findPropertyByQueryName
in interface CMISDictionaryService
public java.util.Collection getBaseTypes()
CMISDictionaryService
getBaseTypes
in interface CMISDictionaryService
public java.util.Collection getAllTypes()
CMISDictionaryService
getAllTypes
in interface CMISDictionaryService
public CMISPropertyDefinition findProperty(org.alfresco.service.namespace.QName property, CMISTypeDefinition matchingType)
CMISDictionaryService
findProperty
in interface CMISDictionaryService
public CMISPropertyDefinition findProperty(java.lang.String property, CMISTypeDefinition matchingType)
CMISDictionaryService
findProperty
in interface CMISDictionaryService
public CMISDataTypeEnum findDataType(org.alfresco.service.namespace.QName dataType)
CMISDictionaryService
findDataType
in interface CMISDictionaryService
protected abstract void createDefinitions(org.alfresco.cmis.dictionary.CMISAbstractDictionaryService.DictionaryRegistry registry)
registry
- public void onDictionaryInit()
onDictionaryInit
in interface org.alfresco.repo.dictionary.DictionaryListener
public void afterDictionaryInit()
afterDictionaryInit
in interface org.alfresco.repo.dictionary.DictionaryListener
public void afterDictionaryDestroy()
afterDictionaryDestroy
in interface org.alfresco.repo.dictionary.DictionaryListener
protected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
protected 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 |