public class TypeValidator extends Object
Constructor and Description |
---|
TypeValidator() |
Modifier and Type | Method and Description |
---|---|
static boolean |
typeContainsProperty(TypeDefinition typeDef,
String propertyId) |
static boolean |
typeContainsPropertyWithQueryName(TypeDefinition typeDef,
String propertyQueryName) |
static void |
validateAcl(TypeDefinition typeDef,
Acl addACEs,
Acl removeACEs) |
static void |
validateAllowedChildObjectTypes(TypeDefinition childTypeDef,
List<String> allowedChildTypes) |
static void |
validateAllowedRelationshipTypes(RelationshipTypeDefinition relationshipTypeDef,
TypeDefinition sourceTypeDef,
TypeDefinition targetTypeDef) |
protected static void |
validateAllowedTypes(TypeDefinition typeDef,
List<String> allowedTypes,
String description) |
static void |
validateContentAllowed(DocumentTypeDefinition typeDef,
boolean hasContent) |
static <T> void |
validateProperties(List<TypeDefinition> typeDefs,
Properties properties,
boolean checkMandatory) |
static <T> void |
validateProperties(TypeDefinition typeDef,
Properties properties,
boolean checkMandatory) |
static <T> void |
validateProperties(TypeDefinition typeDef,
Properties properties,
boolean checkMandatory,
boolean cmis11) |
static void |
validateRequiredSystemProperties(Properties properties) |
static void |
validateVersionStateForCreate(DocumentTypeDefinition typeDef,
VersioningState verState) |
public static void validateRequiredSystemProperties(Properties properties)
public static <T> void validateProperties(TypeDefinition typeDef, Properties properties, boolean checkMandatory)
public static <T> void validateProperties(TypeDefinition typeDef, Properties properties, boolean checkMandatory, boolean cmis11)
public static <T> void validateProperties(List<TypeDefinition> typeDefs, Properties properties, boolean checkMandatory)
public static void validateVersionStateForCreate(DocumentTypeDefinition typeDef, VersioningState verState)
public static void validateAllowedChildObjectTypes(TypeDefinition childTypeDef, List<String> allowedChildTypes)
public static void validateAllowedRelationshipTypes(RelationshipTypeDefinition relationshipTypeDef, TypeDefinition sourceTypeDef, TypeDefinition targetTypeDef)
protected static void validateAllowedTypes(TypeDefinition typeDef, List<String> allowedTypes, String description)
public static void validateAcl(TypeDefinition typeDef, Acl addACEs, Acl removeACEs)
public static void validateContentAllowed(DocumentTypeDefinition typeDef, boolean hasContent)
public static boolean typeContainsProperty(TypeDefinition typeDef, String propertyId)
public static boolean typeContainsPropertyWithQueryName(TypeDefinition typeDef, String propertyQueryName)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.