public class NuxeoObjectData extends Object implements org.apache.chemistry.opencmis.commons.data.ObjectData
ObjectData, backed by a DocumentModel.| Modifier and Type | Field and Description | 
|---|---|
boolean | 
creation  | 
DocumentModel | 
doc  | 
static String | 
REND_KIND_CMIS_THUMBNAIL  | 
static String | 
REND_KIND_NUXEO_RENDITION  | 
static String | 
REND_STREAM_ICON  | 
static String | 
REND_STREAM_RENDITION_PREFIX  | 
static String | 
RENDITION_COMPUTE_INFO_DEFAULT
Default for "org.nuxeo.cmis.computeRenditionInfo". 
 | 
static String | 
RENDITION_COMPUTE_INFO_PROP
Property to determine whether all renditions provide a computed size and length. 
 | 
org.apache.chemistry.opencmis.commons.server.CmisService | 
service  | 
protected static List<String> | 
STAR_FILTER  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
NuxeoObjectData(org.apache.chemistry.opencmis.commons.server.CmisService service,
               DocumentModel doc)  | 
  | 
NuxeoObjectData(org.apache.chemistry.opencmis.commons.server.CmisService service,
               DocumentModel doc,
               org.apache.chemistry.opencmis.client.api.OperationContext context)  | 
  | 
NuxeoObjectData(org.apache.chemistry.opencmis.commons.server.CmisService service,
               DocumentModel doc,
               String filter,
               Boolean includeAllowableActions,
               org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
               String renditionFilter,
               Boolean includePolicyIds,
               Boolean includeAcl,
               org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)  | 
| Modifier and Type | Method and Description | 
|---|---|
org.apache.chemistry.opencmis.commons.data.Acl | 
getAcl()  | 
protected static org.apache.chemistry.opencmis.commons.data.Acl | 
getAcl(ACP acp,
      boolean onlyBasicPermissions,
      NuxeoCmisService service)  | 
org.apache.chemistry.opencmis.commons.data.AllowableActions | 
getAllowableActions()  | 
static org.apache.chemistry.opencmis.commons.data.AllowableActions | 
getAllowableActions(DocumentModel doc,
                   boolean creation)  | 
org.apache.chemistry.opencmis.commons.enums.BaseTypeId | 
getBaseTypeId()  | 
org.apache.chemistry.opencmis.commons.data.ChangeEventInfo | 
getChangeEventInfo()  | 
List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> | 
getExtensions()  | 
protected static List<org.apache.chemistry.opencmis.commons.data.RenditionData> | 
getIconRendition(DocumentModel doc,
                org.apache.chemistry.opencmis.commons.server.CallContext callContext)
Deprecated. 
 
since 7.3. The thumbnail is now a default rendition, see NXP-16662. 
 | 
static InputStream | 
getIconStream(String iconPath,
             org.apache.chemistry.opencmis.commons.server.CallContext context)
Deprecated. 
 
since 7.3. The thumbnail is now a default rendition, see NXP-16662. 
 | 
String | 
getId()  | 
org.apache.chemistry.opencmis.commons.data.PolicyIdList | 
getPolicyIds()  | 
org.apache.chemistry.opencmis.commons.data.Properties | 
getProperties()  | 
protected org.apache.chemistry.opencmis.commons.data.Properties | 
getProperties(List<String> propertyIds)  | 
NuxeoPropertyDataBase<?> | 
getProperty(String id)  | 
protected static List<String> | 
getPropertyIdsFromFilter(String filter)  | 
List<org.apache.chemistry.opencmis.commons.data.ObjectData> | 
getRelationships()  | 
static List<org.apache.chemistry.opencmis.commons.data.ObjectData> | 
getRelationships(String id,
                org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
                NuxeoCmisService service)  | 
List<org.apache.chemistry.opencmis.commons.data.RenditionData> | 
getRenditions()  | 
static List<org.apache.chemistry.opencmis.commons.data.RenditionData> | 
getRenditions(DocumentModel doc,
             String renditionFilter,
             BigInteger maxItems,
             BigInteger skipCount,
             org.apache.chemistry.opencmis.commons.server.CallContext callContext)  | 
protected static List<org.apache.chemistry.opencmis.commons.data.RenditionData> | 
getRenditionServiceRenditions(DocumentModel doc,
                             org.apache.chemistry.opencmis.commons.server.CallContext callContext)  | 
List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinition> | 
getTypeDefinitions()  | 
Boolean | 
isExactAcl()  | 
protected void | 
limitCacheSize()
Limits cache size, always keeps STAR filter. 
 | 
static boolean | 
needsRenditions(String renditionFilter)  | 
void | 
setExtensions(List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> extensions)  | 
public static final String REND_STREAM_ICON
public static final String REND_KIND_CMIS_THUMBNAIL
public static final String REND_STREAM_RENDITION_PREFIX
public static final String REND_KIND_NUXEO_RENDITION
public static final String RENDITION_COMPUTE_INFO_PROP
public static final String RENDITION_COMPUTE_INFO_DEFAULT
public org.apache.chemistry.opencmis.commons.server.CmisService service
public DocumentModel doc
public boolean creation
protected static final List<String> STAR_FILTER
public NuxeoObjectData(org.apache.chemistry.opencmis.commons.server.CmisService service, DocumentModel doc, String filter, Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
protected NuxeoObjectData(org.apache.chemistry.opencmis.commons.server.CmisService service, DocumentModel doc)
public NuxeoObjectData(org.apache.chemistry.opencmis.commons.server.CmisService service, DocumentModel doc, org.apache.chemistry.opencmis.client.api.OperationContext context)
protected static List<String> getPropertyIdsFromFilter(String filter)
public String getId()
getId in interface org.apache.chemistry.opencmis.commons.data.ObjectDatapublic org.apache.chemistry.opencmis.commons.enums.BaseTypeId getBaseTypeId()
getBaseTypeId in interface org.apache.chemistry.opencmis.commons.data.ObjectDatapublic List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinition> getTypeDefinitions()
public org.apache.chemistry.opencmis.commons.data.Properties getProperties()
getProperties in interface org.apache.chemistry.opencmis.commons.data.ObjectDataprotected org.apache.chemistry.opencmis.commons.data.Properties getProperties(List<String> propertyIds)
protected void limitCacheSize()
public NuxeoPropertyDataBase<?> getProperty(String id)
public org.apache.chemistry.opencmis.commons.data.AllowableActions getAllowableActions()
getAllowableActions in interface org.apache.chemistry.opencmis.commons.data.ObjectDatapublic static org.apache.chemistry.opencmis.commons.data.AllowableActions getAllowableActions(DocumentModel doc, boolean creation)
public List<org.apache.chemistry.opencmis.commons.data.RenditionData> getRenditions()
getRenditions in interface org.apache.chemistry.opencmis.commons.data.ObjectDatapublic static boolean needsRenditions(String renditionFilter)
public static List<org.apache.chemistry.opencmis.commons.data.RenditionData> getRenditions(DocumentModel doc, String renditionFilter, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
@Deprecated protected static List<org.apache.chemistry.opencmis.commons.data.RenditionData> getIconRendition(DocumentModel doc, org.apache.chemistry.opencmis.commons.server.CallContext callContext) throws IOException
IOException@Deprecated public static InputStream getIconStream(String iconPath, org.apache.chemistry.opencmis.commons.server.CallContext context)
protected static List<org.apache.chemistry.opencmis.commons.data.RenditionData> getRenditionServiceRenditions(DocumentModel doc, org.apache.chemistry.opencmis.commons.server.CallContext callContext) throws IOException
IOExceptionpublic List<org.apache.chemistry.opencmis.commons.data.ObjectData> getRelationships()
getRelationships in interface org.apache.chemistry.opencmis.commons.data.ObjectDatapublic static List<org.apache.chemistry.opencmis.commons.data.ObjectData> getRelationships(String id, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, NuxeoCmisService service)
public org.apache.chemistry.opencmis.commons.data.Acl getAcl()
getAcl in interface org.apache.chemistry.opencmis.commons.data.ObjectDataprotected static org.apache.chemistry.opencmis.commons.data.Acl getAcl(ACP acp, boolean onlyBasicPermissions, NuxeoCmisService service)
public Boolean isExactAcl()
isExactAcl in interface org.apache.chemistry.opencmis.commons.data.ObjectDatapublic org.apache.chemistry.opencmis.commons.data.PolicyIdList getPolicyIds()
getPolicyIds in interface org.apache.chemistry.opencmis.commons.data.ObjectDatapublic org.apache.chemistry.opencmis.commons.data.ChangeEventInfo getChangeEventInfo()
getChangeEventInfo in interface org.apache.chemistry.opencmis.commons.data.ObjectDatapublic List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> getExtensions()
getExtensions in interface org.apache.chemistry.opencmis.commons.data.ExtensionsDatapublic void setExtensions(List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> extensions)
setExtensions in interface org.apache.chemistry.opencmis.commons.data.ExtensionsDataCopyright © 2019 Nuxeo. All rights reserved.