Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.schema
Class TypeConstants

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

public final class TypeConstants
extends java.lang.Object

Author:
Bogdan Stefanescu

Field Summary
static java.lang.String ACP
           
static java.lang.String ACP_TYPE
           
static java.lang.String CONTENT
           
static java.lang.String CONTENT_SCHEMA
          Deprecated. this is too specific, content can be placed in other schemas.
static java.lang.String DOCUMENT
           
static java.lang.String EXTERNAL_CONTENT
           
static java.lang.String LIST
           
static java.lang.String SECURITY_SCHEMA_NAME
           
static java.lang.String SECURITY_SCHEMA_PREFIX
           
static java.lang.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 java.lang.String DOCUMENT
See Also:
Constant Field Values

CONTENT_SCHEMA

@Deprecated
public static final java.lang.String CONTENT_SCHEMA
Deprecated. this is too specific, content can be placed in other schemas.
See Also:
Constant Field Values

CONTENT

public static final java.lang.String CONTENT
See Also:
Constant Field Values

EXTERNAL_CONTENT

public static final java.lang.String EXTERNAL_CONTENT
See Also:
Constant Field Values

LIST

public static final java.lang.String LIST
See Also:
Constant Field Values

ACP

public static final java.lang.String ACP
See Also:
Constant Field Values

ACP_TYPE

public static final java.lang.String ACP_TYPE
See Also:
Constant Field Values

SECURITY_SCHEMA_URI

public static final java.lang.String SECURITY_SCHEMA_URI
See Also:
Constant Field Values

SECURITY_SCHEMA_PREFIX

public static final java.lang.String SECURITY_SCHEMA_PREFIX
See Also:
Constant Field Values

SECURITY_SCHEMA_NAME

public static final java.lang.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 Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.