public class NuxeoTypeHelper extends Object
Maps Nuxeo types to CMIS types using the following rules:
Modifier and Type | Field and Description |
---|---|
static String |
NUXEO_DOCUMENT |
static String |
NUXEO_FILE |
static String |
NUXEO_FOLDER |
static String |
NUXEO_ORDERED_FOLDER |
static String |
NUXEO_RELATION |
static String |
NX_DC_CREATED |
static String |
NX_DC_CREATOR |
static String |
NX_DC_LAST_CONTRIBUTOR |
static String |
NX_DC_MODIFIED |
static String |
NX_DC_TITLE |
static String |
NX_DIGEST |
static String |
NX_DUBLINCORE |
static String |
NX_FACETS |
static String |
NX_ICON |
static String |
NX_ISCHECKEDIN |
static String |
NX_ISVERSION |
static String |
NX_LIFECYCLE_STATE |
static String |
NX_REL_SOURCE |
static String |
NX_REL_TARGET |
Modifier and Type | Method and Description |
---|---|
static org.apache.chemistry.opencmis.commons.definitions.TypeDefinition |
construct(DocumentType documentType,
String parentId) |
static org.apache.chemistry.opencmis.commons.definitions.TypeDefinition |
constructCmisBase(org.apache.chemistry.opencmis.commons.enums.BaseTypeId baseTypeId,
SchemaManager schemaManager)
Constructs a base type, not mapped to a Nuxeo type.
|
static org.apache.chemistry.opencmis.commons.enums.BaseTypeId |
getBaseTypeId(DocumentModel doc) |
static org.apache.chemistry.opencmis.commons.enums.BaseTypeId |
getBaseTypeId(DocumentType type) |
static String |
getParentTypeId(DocumentType documentType)
Gets the remapped parent type id, or
null if the type is to be
ignored. |
public static final String NUXEO_DOCUMENT
public static final String NUXEO_FOLDER
public static final String NUXEO_RELATION
public static final String NUXEO_FILE
public static final String NUXEO_ORDERED_FOLDER
public static final String NX_DUBLINCORE
public static final String NX_DC_TITLE
public static final String NX_DC_CREATED
public static final String NX_DC_CREATOR
public static final String NX_DC_MODIFIED
public static final String NX_DC_LAST_CONTRIBUTOR
public static final String NX_ICON
public static final String NX_REL_SOURCE
public static final String NX_REL_TARGET
public static final String NX_DIGEST
public static final String NX_ISVERSION
public static final String NX_ISCHECKEDIN
public static final String NX_FACETS
public static final String NX_LIFECYCLE_STATE
public static String getParentTypeId(DocumentType documentType)
null
if the type is to be
ignored.public static org.apache.chemistry.opencmis.commons.definitions.TypeDefinition construct(DocumentType documentType, String parentId)
public static org.apache.chemistry.opencmis.commons.definitions.TypeDefinition constructCmisBase(org.apache.chemistry.opencmis.commons.enums.BaseTypeId baseTypeId, SchemaManager schemaManager)
public static org.apache.chemistry.opencmis.commons.enums.BaseTypeId getBaseTypeId(DocumentType type)
public static org.apache.chemistry.opencmis.commons.enums.BaseTypeId getBaseTypeId(DocumentModel doc)
Copyright © 2011 Nuxeo SA. All Rights Reserved.