public class TypeManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DOCUMENT_TYPE_ID |
static String |
FOLDER_TYPE_ID |
static String |
ITEM_TYPE_ID |
static String |
POLICY_TYPE_ID |
static String |
RELATIONSHIP_TYPE_ID |
static String |
SECONDARY_TYPE_ID |
Constructor and Description |
---|
TypeManager(CmisVersion cmisVersion) |
Modifier and Type | Method and Description |
---|---|
boolean |
addType(TypeDefinition type)
Adds a type to the collection with inheriting base type properties.
|
TypeDefinition |
getType(String typeId)
For internal use.
|
TypeDefinition |
getTypeDefinition(CallContext context,
String typeId)
CMIS getTypeDefinition.
|
List<TypeDefinitionContainer> |
getTypeDescendants(CallContext context,
String typeId,
BigInteger depth,
Boolean includePropertyDefinitions)
CMIS getTypesDescendants.
|
TypeDefinitionList |
getTypesChildren(CallContext context,
String typeId,
boolean includePropertyDefinitions,
BigInteger maxItems,
BigInteger skipCount)
CMIS getTypesChildren.
|
public static final String DOCUMENT_TYPE_ID
public static final String FOLDER_TYPE_ID
public static final String RELATIONSHIP_TYPE_ID
public static final String POLICY_TYPE_ID
public static final String ITEM_TYPE_ID
public static final String SECONDARY_TYPE_ID
public TypeManager(CmisVersion cmisVersion)
public boolean addType(TypeDefinition type)
public TypeDefinitionList getTypesChildren(CallContext context, String typeId, boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount)
public List<TypeDefinitionContainer> getTypeDescendants(CallContext context, String typeId, BigInteger depth, Boolean includePropertyDefinitions)
public TypeDefinition getType(String typeId)
public TypeDefinition getTypeDefinition(CallContext context, String typeId)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.