org.apache.chemistry.opencmis.inmemory.types
Class DocumentTypeCreationHelper

java.lang.Object
  extended by org.apache.chemistry.opencmis.inmemory.types.DocumentTypeCreationHelper

public class DocumentTypeCreationHelper
extends Object


Method Summary
static List<TypeDefinition> createDefaultTypes()
          create root types and a collection of sample types
static List<TypeDefinition> createMapWithDefaultTypes()
           
static List<TypeDefinition> getDefaultTypes()
           
static void mergePropertyDefinitions(Map<String,PropertyDefinition<?>> existingPpropertyDefinitions, Map<String,PropertyDefinition<?>> newPropertyDefinitions)
           
static void setBasicDocumentPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions)
           
static void setBasicFolderPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions)
           
static void setBasicPolicyPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions)
           
static void setBasicPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions)
           
static void setBasicRelationshipPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createMapWithDefaultTypes

public static List<TypeDefinition> createMapWithDefaultTypes()

getDefaultTypes

public static final List<TypeDefinition> getDefaultTypes()

createDefaultTypes

public static List<TypeDefinition> createDefaultTypes()
create root types and a collection of sample types

Returns:
typesMap map filled with created types

setBasicPropertyDefinitions

public static void setBasicPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions)

setBasicDocumentPropertyDefinitions

public static void setBasicDocumentPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions)

setBasicFolderPropertyDefinitions

public static void setBasicFolderPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions)

setBasicPolicyPropertyDefinitions

public static void setBasicPolicyPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions)

setBasicRelationshipPropertyDefinitions

public static void setBasicRelationshipPropertyDefinitions(Map<String,PropertyDefinition<?>> propertyDefinitions)

mergePropertyDefinitions

public static void mergePropertyDefinitions(Map<String,PropertyDefinition<?>> existingPpropertyDefinitions,
                                            Map<String,PropertyDefinition<?>> newPropertyDefinitions)


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