Package org.alfresco.opencmis.dictionary
Interface CMISDictionaryService
-
- All Known Implementing Classes:
CMISAbstractDictionaryService,CMISStrictDictionaryService
public interface CMISDictionaryServiceService to query the CMIS meta model- Author:
- davidc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QNamefindAlfrescoDataType(org.apache.chemistry.opencmis.commons.enums.PropertyType propertyType)TypeDefinitionWrapperfindAssocType(QName clazz)org.apache.chemistry.opencmis.commons.enums.PropertyTypefindDataType(QName dataType)Find data typeTypeDefinitionWrapperfindNodeType(QName clazz)PropertyDefinitionWrapperfindProperty(String propId)PropertyDefinitionWrapperfindPropertyByQueryName(String queryName)TypeDefinitionWrapperfindType(String typeId)Find type for type idTypeDefinitionWrapperfindTypeByQueryName(String queryName)Find a type by its query nameTypeDefinitionWrapperfindTypeForClass(QName clazz, org.apache.chemistry.opencmis.commons.enums.BaseTypeId... matchingScopes)Find type for Alfresco class name.List<TypeDefinitionWrapper>getAllTypes()Get all TypesList<TypeDefinitionWrapper>getAllTypes(boolean includeParent)List<TypeDefinitionWrapper>getBaseTypes()Get Base TypesList<TypeDefinitionWrapper>getBaseTypes(boolean includeParent)List<TypeDefinitionWrapper>getChildren(String typeId)booleanisExcluded(QName qname)
-
-
-
Method Detail
-
findType
TypeDefinitionWrapper findType(String typeId)
Find type for type id- Parameters:
typeId- String- Returns:
- TypeDefinitionWrapper
-
getChildren
List<TypeDefinitionWrapper> getChildren(String typeId)
-
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- QNamematchingScopes- BaseTypeId...- Returns:
- TypeDefinitionWrapper
-
findNodeType
TypeDefinitionWrapper findNodeType(QName clazz)
-
findAssocType
TypeDefinitionWrapper findAssocType(QName clazz)
-
findProperty
PropertyDefinitionWrapper findProperty(String propId)
-
findPropertyByQueryName
PropertyDefinitionWrapper findPropertyByQueryName(String queryName)
-
findTypeByQueryName
TypeDefinitionWrapper findTypeByQueryName(String queryName)
Find a type by its query name- Parameters:
queryName- String- Returns:
- TypeDefinitionWrapper
-
getBaseTypes
List<TypeDefinitionWrapper> getBaseTypes()
Get Base Types
-
getBaseTypes
List<TypeDefinitionWrapper> getBaseTypes(boolean includeParent)
-
getAllTypes
List<TypeDefinitionWrapper> getAllTypes()
Get all Types
-
getAllTypes
List<TypeDefinitionWrapper> getAllTypes(boolean includeParent)
-
findDataType
org.apache.chemistry.opencmis.commons.enums.PropertyType findDataType(QName dataType)
Find data type- Parameters:
dataType- QName- Returns:
- PropertyType
-
findAlfrescoDataType
QName findAlfrescoDataType(org.apache.chemistry.opencmis.commons.enums.PropertyType propertyType)
-
isExcluded
boolean isExcluded(QName qname)
-
-