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 |
NuxeoCmisService |
service |
static String |
STREAM_ICON |
Constructor and Description |
---|
NuxeoObjectData(NuxeoCmisService service,
DocumentModel doc,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
NuxeoObjectData(NuxeoCmisService 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() |
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() |
static InputStream |
getIconStream(String iconPath,
org.apache.chemistry.opencmis.commons.server.CallContext context) |
String |
getId() |
org.apache.chemistry.opencmis.commons.data.PolicyIdList |
getPolicyIds() |
org.apache.chemistry.opencmis.commons.data.Properties |
getProperties() |
NuxeoPropertyDataBase<?> |
getProperty(String id) |
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,
CoreSession coreSession,
NuxeoCmisService service) |
List<org.apache.chemistry.opencmis.commons.data.RenditionData> |
getRenditions() |
static List<org.apache.chemistry.opencmis.commons.data.RenditionData> |
getRenditions(DocumentModel doc,
BigInteger maxItems,
BigInteger skipCount,
org.apache.chemistry.opencmis.commons.server.CallContext callContext) |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinition |
getTypeDefinition() |
Boolean |
isExactAcl() |
void |
setExtensions(List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> extensions) |
public static final String STREAM_ICON
public NuxeoCmisService service
public DocumentModel doc
public boolean creation
public NuxeoObjectData(NuxeoCmisService 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)
public NuxeoObjectData(NuxeoCmisService service, DocumentModel doc, org.apache.chemistry.opencmis.client.api.OperationContext context)
public String getId()
getId
in interface org.apache.chemistry.opencmis.commons.data.ObjectData
public org.apache.chemistry.opencmis.commons.enums.BaseTypeId getBaseTypeId()
getBaseTypeId
in interface org.apache.chemistry.opencmis.commons.data.ObjectData
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeDefinition()
public org.apache.chemistry.opencmis.commons.data.Properties getProperties()
getProperties
in interface org.apache.chemistry.opencmis.commons.data.ObjectData
public NuxeoPropertyDataBase<?> getProperty(String id)
public org.apache.chemistry.opencmis.commons.data.AllowableActions getAllowableActions()
getAllowableActions
in interface org.apache.chemistry.opencmis.commons.data.ObjectData
public 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.ObjectData
public static List<org.apache.chemistry.opencmis.commons.data.RenditionData> getRenditions(DocumentModel doc, BigInteger maxItems, BigInteger skipCount, org.apache.chemistry.opencmis.commons.server.CallContext callContext)
public static InputStream getIconStream(String iconPath, org.apache.chemistry.opencmis.commons.server.CallContext context) throws ClientException
ClientException
public List<org.apache.chemistry.opencmis.commons.data.ObjectData> getRelationships()
getRelationships
in interface org.apache.chemistry.opencmis.commons.data.ObjectData
public static List<org.apache.chemistry.opencmis.commons.data.ObjectData> getRelationships(String id, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, CoreSession coreSession, NuxeoCmisService service)
public org.apache.chemistry.opencmis.commons.data.Acl getAcl()
getAcl
in interface org.apache.chemistry.opencmis.commons.data.ObjectData
public Boolean isExactAcl()
isExactAcl
in interface org.apache.chemistry.opencmis.commons.data.ObjectData
public org.apache.chemistry.opencmis.commons.data.PolicyIdList getPolicyIds()
getPolicyIds
in interface org.apache.chemistry.opencmis.commons.data.ObjectData
public org.apache.chemistry.opencmis.commons.data.ChangeEventInfo getChangeEventInfo()
getChangeEventInfo
in interface org.apache.chemistry.opencmis.commons.data.ObjectData
public List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> getExtensions()
getExtensions
in interface org.apache.chemistry.opencmis.commons.data.ExtensionsData
public void setExtensions(List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> extensions)
setExtensions
in interface org.apache.chemistry.opencmis.commons.data.ExtensionsData
Copyright © 2011 Nuxeo SA. All Rights Reserved.