org.nuxeo.ecm.core.schema
Class TypeConstants
java.lang.Object
org.nuxeo.ecm.core.schema.TypeConstants
public final class TypeConstants
- extends Object
- Author:
- Bogdan Stefanescu
Method Summary |
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. |
DOCUMENT
public static final String DOCUMENT
- See Also:
- Constant Field Values
CONTENT_SCHEMA
@Deprecated
public static final String CONTENT_SCHEMA
- Deprecated. this is too specific, content can be placed in other schemas.
- See Also:
- Constant Field Values
CONTENT
public static final String CONTENT
- See Also:
- Constant Field Values
EXTERNAL_CONTENT
public static final String EXTERNAL_CONTENT
- See Also:
- Constant Field Values
LIST
public static final String LIST
- See Also:
- Constant Field Values
ACP
public static final String ACP
- See Also:
- Constant Field Values
ACP_TYPE
public static final String ACP_TYPE
- See Also:
- Constant Field Values
SECURITY_SCHEMA_URI
public static final String SECURITY_SCHEMA_URI
- See Also:
- Constant Field Values
SECURITY_SCHEMA_PREFIX
public static final String SECURITY_SCHEMA_PREFIX
- See Also:
- Constant Field Values
SECURITY_SCHEMA_NAME
public static final String SECURITY_SCHEMA_NAME
- See Also:
- Constant Field Values
getContentType
@Deprecated
public static Type getContentType()
- Deprecated. this is too specific, content can be placed in other schemas
than the 'file' schema.
isContentType
public static boolean isContentType(Type type)
- Returns true if given type is named "content", as it's a reserved type
name for blobs.
isExternalContentType
public static boolean isExternalContentType(Type type)
- Returns true if given type is named "externalcontent", as it's a reserved
type name for external blobs.
Copyright © 2011 Nuxeo SAS. All Rights Reserved.