org.apache.chemistry.opencmis.inmemory.types
Class DocumentTypeCreationHelper
java.lang.Object
org.apache.chemistry.opencmis.inmemory.types.DocumentTypeCreationHelper
public class DocumentTypeCreationHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.