Package org.alfresco.opencmis.dictionary
Interface CMISDictionaryService
- All Known Implementing Classes:
CMISAbstractDictionaryService
,CMISStrictDictionaryService
public interface CMISDictionaryService
Service to query the CMIS meta model
- Author:
- davidc
-
Method Summary
Modifier and TypeMethodDescriptionfindAlfrescoDataType
(org.apache.chemistry.opencmis.commons.enums.PropertyType propertyType) findAssocType
(QName clazz) org.apache.chemistry.opencmis.commons.enums.PropertyType
findDataType
(QName dataType) Find data typefindNodeType
(QName clazz) findProperty
(String propId) findPropertyByQueryName
(String queryName) Find type for type idfindTypeByQueryName
(String queryName) Find a type by its query namefindTypeForClass
(QName clazz, org.apache.chemistry.opencmis.commons.enums.BaseTypeId... matchingScopes) Find type for Alfresco class name.Get all TypesgetAllTypes
(boolean includeParent) Get Base TypesgetBaseTypes
(boolean includeParent) getChildren
(String typeId) boolean
isExcluded
(QName qname)
-
Method Details
-
findType
Find type for type id- Parameters:
typeId
- String- Returns:
- TypeDefinitionWrapper
-
getChildren
-
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
-
findAssocType
-
findProperty
-
findPropertyByQueryName
-
findTypeByQueryName
Find a type by its query name- Parameters:
queryName
- String- Returns:
- TypeDefinitionWrapper
-
getBaseTypes
List<TypeDefinitionWrapper> getBaseTypes()Get Base Types -
getBaseTypes
-
getAllTypes
List<TypeDefinitionWrapper> getAllTypes()Get all Types -
getAllTypes
-
findDataType
Find data type- Parameters:
dataType
- QName- Returns:
- PropertyType
-
findAlfrescoDataType
-
isExcluded
-