org.apache.chemistry.opencmis.fileshare
Class TypeManager

java.lang.Object
  extended by org.apache.chemistry.opencmis.fileshare.TypeManager

public class TypeManager
extends Object

Type Manager.

Author:
Florian Müller

Field Summary
static String DOCUMENT_TYPE_ID
           
static String FOLDER_TYPE_ID
           
static String POLICY_TYPE_ID
           
static String RELATIONSHIP_TYPE_ID
           
 
Constructor Summary
TypeManager()
           
 
Method Summary
 boolean addType(TypeDefinition type)
          Adds a type to collection with inheriting base type properties.
 TypeDefinition getType(String typeId)
          For internal use.
 TypeDefinition getTypeDefinition(CallContext context, String typeId)
          CMIS getTypeDefinition.
 TypeDefinitionList getTypesChildren(CallContext context, String typeId, boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount)
          CMIS getTypesChildren.
 List<TypeDefinitionContainer> getTypesDescendants(CallContext context, String typeId, BigInteger depth, Boolean includePropertyDefinitions)
          CMIS getTypesDescendants.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOCUMENT_TYPE_ID

public static final String DOCUMENT_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
Constructor Detail

TypeManager

public TypeManager()
Method Detail

addType

public boolean addType(TypeDefinition type)
Adds a type to collection with inheriting base type properties.


getTypesChildren

public TypeDefinitionList getTypesChildren(CallContext context,
                                           String typeId,
                                           boolean includePropertyDefinitions,
                                           BigInteger maxItems,
                                           BigInteger skipCount)
CMIS getTypesChildren.


getTypesDescendants

public List<TypeDefinitionContainer> getTypesDescendants(CallContext context,
                                                         String typeId,
                                                         BigInteger depth,
                                                         Boolean includePropertyDefinitions)
CMIS getTypesDescendants.


getType

public TypeDefinition getType(String typeId)
For internal use.


getTypeDefinition

public TypeDefinition getTypeDefinition(CallContext context,
                                        String typeId)
CMIS getTypeDefinition.



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.