org.apache.chemistry.opencmis.jcr
Class TypeManager
java.lang.Object
org.apache.chemistry.opencmis.jcr.TypeManager
public class TypeManager
- extends Object
Type Manager.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOCUMENT_TYPE_ID
public static final String DOCUMENT_TYPE_ID
- See Also:
- Constant Field Values
DOCUMENT_UNVERSIONED_TYPE_ID
public static final String DOCUMENT_UNVERSIONED_TYPE_ID
- See Also:
- Constant Field Values
FOLDER_TYPE_ID
public static final String FOLDER_TYPE_ID
- See Also:
- Constant Field Values
RELATIONSHIP_TYPE_ID
public static final String RELATIONSHIP_TYPE_ID
- See Also:
- Constant Field Values
POLICY_TYPE_ID
public static final String POLICY_TYPE_ID
- See Also:
- Constant Field Values
TypeManager
public TypeManager()
addType
public boolean addType(TypeDefinition type)
- Adds a type to collection with inheriting base type properties.
- Parameters:
type
- type to add
- Returns:
true
iff the type was successfully added
getTypeChildren
public TypeDefinitionList getTypeChildren(String typeId,
boolean includePropertyDefinitions,
BigInteger maxItems,
BigInteger skipCount)
- See CMIS 1.0 section 2.2.2.3 getTypeChildren
getTypesDescendants
public List<TypeDefinitionContainer> getTypesDescendants(String typeId,
BigInteger depth,
Boolean includePropertyDefinitions)
- See CMIS 1.0 section 2.2.2.4 getTypeDescendants
getTypeDefinition
public TypeDefinition getTypeDefinition(String typeId)
isVersionable
public static boolean isVersionable(TypeDefinition typeDef)
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.