Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.schema
Class TypeConstants

java.lang.Object
  extended by org.nuxeo.ecm.core.schema.TypeConstants

public final class TypeConstants
extends Object

Author:
Bogdan Stefanescu

Field Summary
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
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Method Detail

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.


Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.