public class TypeManagerImpl extends Object implements org.apache.chemistry.opencmis.server.support.TypeManager
Types can be added, the inheritance can be managed and type can be retrieved for a given type id.
Structures are not copied when returned.
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_TYPE_CHILDREN |
Constructor and Description |
---|
TypeManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addTypeDefinition(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type)
Add a type to the type system.
|
String |
getPropertyIdForQueryName(String propQueryName) |
String |
getPropertyIdForQueryName(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition typeDefinition,
String propQueryName) |
List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> |
getRootTypes() |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer |
getTypeById(String typeId) |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinition |
getTypeByQueryName(String typeQueryName) |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList |
getTypeChildren(String typeId,
Boolean includePropertyDefinitions,
BigInteger maxItems,
BigInteger skipCount) |
Collection<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> |
getTypeDefinitionList() |
List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> |
getTypeDescendants(String typeId,
int depth,
Boolean includePropertyDefinitions) |
public static final int DEFAULT_MAX_TYPE_CHILDREN
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer getTypeById(String typeId)
getTypeById
in interface org.apache.chemistry.opencmis.server.support.TypeManager
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeByQueryName(String typeQueryName)
getTypeByQueryName
in interface org.apache.chemistry.opencmis.server.support.TypeManager
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList getTypeChildren(String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount)
public List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getTypeDescendants(String typeId, int depth, Boolean includePropertyDefinitions)
public Collection<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getTypeDefinitionList()
getTypeDefinitionList
in interface org.apache.chemistry.opencmis.server.support.TypeManager
public List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getRootTypes()
getRootTypes
in interface org.apache.chemistry.opencmis.server.support.TypeManager
public void addTypeDefinition(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition type)
type
- new type to addpublic String getPropertyIdForQueryName(org.apache.chemistry.opencmis.commons.definitions.TypeDefinition typeDefinition, String propQueryName)
getPropertyIdForQueryName
in interface org.apache.chemistry.opencmis.server.support.TypeManager
Copyright © 2011 Nuxeo SA. All Rights Reserved.