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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 typeTypeDefinitionWrapper
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 idTypeDefinitionWrapper
findTypeByQueryName(java.lang.String queryName)
Find a type by its query nameTypeDefinitionWrapper
findTypeForClass(QName clazz, org.apache.chemistry.opencmis.commons.enums.BaseTypeId... matchingScopes)
Find type for Alfresco class name.java.util.List<TypeDefinitionWrapper>
getAllTypes()
Get all Typesjava.util.List<TypeDefinitionWrapper>
getAllTypes(boolean includeParent)
java.util.List<TypeDefinitionWrapper>
getBaseTypes()
Get Base Typesjava.util.List<TypeDefinitionWrapper>
getBaseTypes(boolean includeParent)
java.util.List<TypeDefinitionWrapper>
getChildren(java.lang.String typeId)
boolean
isExcluded(QName qname)
-
-
-
Method Detail
-
findType
TypeDefinitionWrapper findType(java.lang.String typeId)
Find type for type id- Parameters:
typeId
- String- Returns:
- TypeDefinitionWrapper
-
getChildren
java.util.List<TypeDefinitionWrapper> getChildren(java.lang.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(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
- String- Returns:
- TypeDefinitionWrapper
-
getBaseTypes
java.util.List<TypeDefinitionWrapper> getBaseTypes()
Get Base Types
-
getBaseTypes
java.util.List<TypeDefinitionWrapper> getBaseTypes(boolean includeParent)
-
getAllTypes
java.util.List<TypeDefinitionWrapper> getAllTypes()
Get all Types
-
getAllTypes
java.util.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)
-
-