org.alfresco.opencmis.dictionary
Interface CMISDictionaryService

All Known Implementing Classes:
CMISAbstractDictionaryService, CMISStrictDictionaryService

public interface CMISDictionaryService

Service to query the CMIS meta model


Method Summary
 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.
 java.util.List getAllTypes()
          Get all Types
 java.util.List getBaseTypes()
          Get Base Types
 

Method Detail

findType

TypeDefinitionWrapper findType(java.lang.String typeId)
Find type for type id

Parameters:
typeId -
Returns:

findTypeForClass

TypeDefinitionWrapper findTypeForClass(QName clazz,
                                       org.apache.chemistry.opencmis.commons.enums.BaseTypeId[] matchingScopes)
Find type for Alfresco class name. Optionally, constrain match to one of specified CMIS scopes

Parameters:
clazz -
matchingScopes -
Returns:

findNodeType

TypeDefinitionWrapper findNodeType(QName clazz)

findAssocType

TypeDefinitionWrapper findAssocType(QName clazz)

findProperty

PropertyDefinitionWrapper findProperty(java.lang.String propId)

findPropertyByQueryName

PropertyDefinitionWrapper findPropertyByQueryName(java.lang.String queryName)

findTypeByQueryName

TypeDefinitionWrapper findTypeByQueryName(java.lang.String queryName)
Find a type by its query name

Parameters:
queryName -
Returns:

getBaseTypes

java.util.List getBaseTypes()
Get Base Types


getAllTypes

java.util.List getAllTypes()
Get all Types

Returns:

findDataType

org.apache.chemistry.opencmis.commons.enums.PropertyType findDataType(QName dataType)
Find data type

Parameters:
dataType -
Returns:

findAlfrescoDataType

QName findAlfrescoDataType(org.apache.chemistry.opencmis.commons.enums.PropertyType propertyType)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.