public abstract class NuxeoObject extends Object implements org.apache.chemistry.opencmis.client.api.CmisObject
NuxeoSession and a
NuxeoObjectData which is backed by a Nuxeo document.| Modifier and Type | Field and Description |
|---|---|
NuxeoObjectData |
data |
| Constructor and Description |
|---|
NuxeoObject(NuxeoSession session,
NuxeoObjectData data,
org.apache.chemistry.opencmis.client.api.ObjectType type) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.chemistry.opencmis.commons.data.Acl |
addAcl(List<org.apache.chemistry.opencmis.commons.data.Ace> addAces,
org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation) |
org.apache.chemistry.opencmis.commons.data.Acl |
applyAcl(List<org.apache.chemistry.opencmis.commons.data.Ace> addAces,
List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces,
org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation) |
void |
applyPolicy(org.apache.chemistry.opencmis.client.api.ObjectId... policyIds) |
static NuxeoObject |
construct(NuxeoSession session,
NuxeoObjectData data,
org.apache.chemistry.opencmis.client.api.ObjectType type) |
void |
delete(boolean allVersions) |
org.apache.chemistry.opencmis.commons.data.Acl |
getAcl() |
<T> T |
getAdapter(Class<T> adapterInterface) |
org.apache.chemistry.opencmis.commons.data.AllowableActions |
getAllowableActions() |
org.apache.chemistry.opencmis.client.api.ObjectType |
getBaseType() |
org.apache.chemistry.opencmis.commons.enums.BaseTypeId |
getBaseTypeId() |
String |
getChangeToken() |
String |
getCreatedBy() |
GregorianCalendar |
getCreationDate() |
List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> |
getExtensions(org.apache.chemistry.opencmis.commons.enums.ExtensionLevel level) |
String |
getId() |
GregorianCalendar |
getLastModificationDate() |
String |
getLastModifiedBy() |
String |
getName() |
List<org.apache.chemistry.opencmis.client.api.Policy> |
getPolicies() |
List<org.apache.chemistry.opencmis.client.api.Property<?>> |
getProperties() |
<T> org.apache.chemistry.opencmis.client.api.Property<T> |
getProperty(String id) |
<T> T |
getPropertyValue(String id) |
long |
getRefreshTimestamp() |
List<org.apache.chemistry.opencmis.client.api.Relationship> |
getRelationships() |
List<org.apache.chemistry.opencmis.client.api.Rendition> |
getRenditions() |
String |
getRepositoryId() |
org.apache.chemistry.opencmis.client.api.TransientCmisObject |
getTransientObject() |
org.apache.chemistry.opencmis.client.api.ObjectType |
getType() |
void |
refresh() |
void |
refreshIfOld(long durationInMillis) |
org.apache.chemistry.opencmis.commons.data.Acl |
removeAcl(List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces,
org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation) |
void |
removePolicy(org.apache.chemistry.opencmis.client.api.ObjectId... policyIds) |
org.apache.chemistry.opencmis.client.api.CmisObject |
updateProperties(Map<String,?> properties) |
org.apache.chemistry.opencmis.client.api.ObjectId |
updateProperties(Map<String,?> properties,
boolean refresh) |
public final NuxeoObjectData data
public NuxeoObject(NuxeoSession session, NuxeoObjectData data, org.apache.chemistry.opencmis.client.api.ObjectType type)
public static NuxeoObject construct(NuxeoSession session, NuxeoObjectData data, org.apache.chemistry.opencmis.client.api.ObjectType type)
public <T> T getAdapter(Class<T> adapterInterface)
getAdapter in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic org.apache.chemistry.opencmis.client.api.TransientCmisObject getTransientObject()
getTransientObject in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic String getRepositoryId()
public String getId()
getId in interface org.apache.chemistry.opencmis.client.api.ObjectIdpublic org.apache.chemistry.opencmis.client.api.ObjectType getType()
getType in interface org.apache.chemistry.opencmis.client.api.CmisObjectPropertiespublic org.apache.chemistry.opencmis.commons.enums.BaseTypeId getBaseTypeId()
getBaseTypeId in interface org.apache.chemistry.opencmis.client.api.CmisObjectPropertiespublic org.apache.chemistry.opencmis.client.api.ObjectType getBaseType()
getBaseType in interface org.apache.chemistry.opencmis.client.api.CmisObjectPropertiespublic String getName()
getName in interface org.apache.chemistry.opencmis.client.api.CmisObjectPropertiespublic String getChangeToken()
getChangeToken in interface org.apache.chemistry.opencmis.client.api.CmisObjectPropertiespublic String getCreatedBy()
getCreatedBy in interface org.apache.chemistry.opencmis.client.api.CmisObjectPropertiespublic GregorianCalendar getCreationDate()
getCreationDate in interface org.apache.chemistry.opencmis.client.api.CmisObjectPropertiespublic GregorianCalendar getLastModificationDate()
getLastModificationDate in interface org.apache.chemistry.opencmis.client.api.CmisObjectPropertiespublic String getLastModifiedBy()
getLastModifiedBy in interface org.apache.chemistry.opencmis.client.api.CmisObjectPropertiespublic void delete(boolean allVersions)
delete in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic org.apache.chemistry.opencmis.client.api.CmisObject updateProperties(Map<String,?> properties)
updateProperties in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic org.apache.chemistry.opencmis.client.api.ObjectId updateProperties(Map<String,?> properties, boolean refresh)
updateProperties in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic <T> T getPropertyValue(String id)
getPropertyValue in interface org.apache.chemistry.opencmis.client.api.CmisObjectPropertiespublic <T> org.apache.chemistry.opencmis.client.api.Property<T> getProperty(String id)
getProperty in interface org.apache.chemistry.opencmis.client.api.CmisObjectPropertiespublic List<org.apache.chemistry.opencmis.client.api.Property<?>> getProperties()
getProperties in interface org.apache.chemistry.opencmis.client.api.CmisObjectPropertiespublic org.apache.chemistry.opencmis.commons.data.Acl addAcl(List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation)
addAcl in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic org.apache.chemistry.opencmis.commons.data.Acl applyAcl(List<org.apache.chemistry.opencmis.commons.data.Ace> addAces, List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces, org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation)
applyAcl in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic org.apache.chemistry.opencmis.commons.data.Acl getAcl()
getAcl in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic org.apache.chemistry.opencmis.commons.data.Acl removeAcl(List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces, org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation)
removeAcl in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic org.apache.chemistry.opencmis.commons.data.AllowableActions getAllowableActions()
getAllowableActions in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic List<org.apache.chemistry.opencmis.client.api.Policy> getPolicies()
getPolicies in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic void applyPolicy(org.apache.chemistry.opencmis.client.api.ObjectId... policyIds)
applyPolicy in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic void removePolicy(org.apache.chemistry.opencmis.client.api.ObjectId... policyIds)
removePolicy in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic List<org.apache.chemistry.opencmis.client.api.Relationship> getRelationships()
getRelationships in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic List<org.apache.chemistry.opencmis.client.api.Rendition> getRenditions()
getRenditions in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic void refresh()
refresh in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic void refreshIfOld(long durationInMillis)
refreshIfOld in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic long getRefreshTimestamp()
getRefreshTimestamp in interface org.apache.chemistry.opencmis.client.api.CmisObjectpublic List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> getExtensions(org.apache.chemistry.opencmis.commons.enums.ExtensionLevel level)
getExtensions in interface org.apache.chemistry.opencmis.client.api.CmisObjectCopyright © 2011 Nuxeo SA. All Rights Reserved.