org.apache.chemistry.opencmis.server.support
Class TypeValidator
java.lang.Object
org.apache.chemistry.opencmis.server.support.TypeValidator
public class TypeValidator
- extends Object
- Author:
- Jens
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeValidator
public TypeValidator()
validateRequiredSystemProperties
public static void validateRequiredSystemProperties(Properties properties)
validateProperties
public static <T> void validateProperties(TypeDefinition typeDef,
Properties properties,
boolean checkMandatory)
validateVersionStateForCreate
public static void validateVersionStateForCreate(DocumentTypeDefinition typeDef,
VersioningState verState)
validateAllowedChildObjectTypes
public static void validateAllowedChildObjectTypes(TypeDefinition childTypeDef,
List<String> allowedChildTypes)
typeContainsProperty
public static boolean typeContainsProperty(TypeDefinition typeDef,
String propertyId)
typeContainsPropertyWithQueryName
public static boolean typeContainsPropertyWithQueryName(TypeDefinition typeDef,
String propertyQueryName)
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.