public final class TypeConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACP |
static String |
ACP_TYPE |
static String |
CONTENT |
static String |
CONTENT_SCHEMA
Deprecated.
this is too specific, content can be placed in other schemas.
|
static String |
DOCUMENT |
static String |
EXTERNAL_CONTENT |
static String |
LIST |
static String |
SECURITY_SCHEMA_NAME |
static String |
SECURITY_SCHEMA_PREFIX |
static String |
SECURITY_SCHEMA_URI |
Modifier and Type | Method and Description |
---|---|
static Type |
getContentType()
Deprecated.
this is too specific, content can be placed in other schemas
than the 'file' schema.
|
static boolean |
isContentType(Type type)
Returns true if given type is named "content", as it's a reserved type
name for blobs.
|
static boolean |
isExternalContentType(Type type)
Returns true if given type is named "externalcontent", as it's a reserved
type name for external blobs.
|
public static final String DOCUMENT
@Deprecated public static final String CONTENT_SCHEMA
public static final String CONTENT
public static final String EXTERNAL_CONTENT
public static final String LIST
public static final String ACP
public static final String ACP_TYPE
public static final String SECURITY_SCHEMA_URI
public static final String SECURITY_SCHEMA_PREFIX
public static final String SECURITY_SCHEMA_NAME
@Deprecated public static Type getContentType()
public static boolean isContentType(Type type)
public static boolean isExternalContentType(Type type)
Copyright © 2011 Nuxeo SA. All Rights Reserved.