org.apache.chemistry.opencmis.fileshare
Class TypeManager

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

public class TypeManager
extends java.lang.Object

Type Manager.


Field Summary
static java.lang.String DOCUMENT_TYPE_ID
           
static java.lang.String FOLDER_TYPE_ID
           
static java.lang.String POLICY_TYPE_ID
           
static java.lang.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(java.lang.String typeId)
          For internal use.
 TypeDefinition getTypeDefinition(CallContext context, java.lang.String typeId)
          CMIS getTypeDefinition.
 TypeDefinitionList getTypesChildren(CallContext context, java.lang.String typeId, boolean includePropertyDefinitions, java.math.BigInteger maxItems, java.math.BigInteger skipCount)
          CMIS getTypesChildren.
 java.util.List<TypeDefinitionContainer> getTypesDescendants(CallContext context, java.lang.String typeId, java.math.BigInteger depth, java.lang.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 java.lang.String DOCUMENT_TYPE_ID

FOLDER_TYPE_ID

public static final java.lang.String FOLDER_TYPE_ID

RELATIONSHIP_TYPE_ID

public static final java.lang.String RELATIONSHIP_TYPE_ID

POLICY_TYPE_ID

public static final java.lang.String POLICY_TYPE_ID
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,
                                           java.lang.String typeId,
                                           boolean includePropertyDefinitions,
                                           java.math.BigInteger maxItems,
                                           java.math.BigInteger skipCount)
CMIS getTypesChildren.


getTypesDescendants

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


getType

public TypeDefinition getType(java.lang.String typeId)
For internal use.


getTypeDefinition

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



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