org.alfresco.cmis
Interface CMISDictionaryService

All Known Implementing Classes:
CMISAbstractDictionaryService, CMISStrictDictionaryService

public interface CMISDictionaryService

Service to query the CMIS meta model


Method Summary
 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
 

Method Detail

findType

CMISTypeDefinition findType(CMISTypeId typeId)
Find type for type id

Parameters:
typeId -
Returns:

findType

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

Parameters:
typeId -
Returns:

findTypeForClass

CMISTypeDefinition findTypeForClass(org.alfresco.service.namespace.QName clazz,
                                    CMISScope[] matchingScopes)
Find type for Alfresco class name. Optionally, constrain match to one of specified CMIS scopes

Parameters:
clazz -
matchingScopes -
Returns:

findTypeByQueryName

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

Parameters:
queryName -
Returns:

findPropertyByQueryName

CMISPropertyDefinition findPropertyByQueryName(java.lang.String queryName)
Find a property by its query name

Parameters:
queryName -
Returns:

getBaseTypes

java.util.Collection getBaseTypes()
Get Base Types


getAllTypes

java.util.Collection getAllTypes()
Get all Types

Returns:

findProperty

CMISPropertyDefinition findProperty(org.alfresco.service.namespace.QName property,
                                    CMISTypeDefinition matchingType)
Find property. Optionally constrain match to specified type.

Parameters:
property -
matchingType -
Returns:

findProperty

CMISPropertyDefinition findProperty(java.lang.String property,
                                    CMISTypeDefinition matchingType)
Find property. Optionally constrain match to specified type.

Parameters:
property -
matchingType -
Returns:

findDataType

CMISDataTypeEnum findDataType(org.alfresco.service.namespace.QName dataType)
Find data type

Parameters:
dataType -
Returns:


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