public class NuxeoTransientObject extends Object implements org.apache.chemistry.opencmis.client.api.TransientCmisObject
Constructor and Description |
---|
NuxeoTransientObject(NuxeoObject object) |
Modifier and Type | Method and Description |
---|---|
void |
addAce(String principalId,
List<String> permissions,
org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation) |
void |
applyPolicy(org.apache.chemistry.opencmis.client.api.Policy... policyIds) |
void |
delete(boolean allVersions) |
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() |
NuxeoObject |
getCmisObject() |
String |
getCreatedBy() |
GregorianCalendar |
getCreationDate() |
String |
getId() |
List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> |
getInputExtensions(org.apache.chemistry.opencmis.commons.enums.ExtensionLevel level) |
GregorianCalendar |
getLastModificationDate() |
String |
getLastModifiedBy() |
String |
getName() |
org.apache.chemistry.opencmis.commons.data.Acl |
getOriginalAcl() |
List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> |
getOutputExtensions(org.apache.chemistry.opencmis.commons.enums.ExtensionLevel level) |
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) |
List<org.apache.chemistry.opencmis.client.api.Relationship> |
getRelationships() |
List<org.apache.chemistry.opencmis.client.api.Rendition> |
getRenditions() |
org.apache.chemistry.opencmis.client.api.ObjectType |
getType() |
boolean |
isMarkedForDelete() |
boolean |
isModified() |
void |
refreshAndReset() |
void |
removeAce(String principalId,
List<String> permissions,
org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation) |
void |
removePolicy(org.apache.chemistry.opencmis.client.api.Policy... policyIds) |
void |
reset() |
org.apache.chemistry.opencmis.client.api.ObjectId |
save() |
void |
setName(String name) |
void |
setOutputExtensions(org.apache.chemistry.opencmis.commons.enums.ExtensionLevel level,
List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> extensions) |
void |
setPropertyValue(String id,
Object value) |
public NuxeoTransientObject(NuxeoObject object)
public NuxeoObject getCmisObject()
getCmisObject
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public String getId()
getId
in interface org.apache.chemistry.opencmis.client.api.ObjectId
public org.apache.chemistry.opencmis.client.api.ObjectType getType()
getType
in interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
public org.apache.chemistry.opencmis.commons.enums.BaseTypeId getBaseTypeId()
getBaseTypeId
in interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
public org.apache.chemistry.opencmis.client.api.ObjectType getBaseType()
getBaseType
in interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
public String getName()
getName
in interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
public String getChangeToken()
getChangeToken
in interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
public String getCreatedBy()
getCreatedBy
in interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
public GregorianCalendar getCreationDate()
getCreationDate
in interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
public GregorianCalendar getLastModificationDate()
getLastModificationDate
in interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
public String getLastModifiedBy()
getLastModifiedBy
in interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
public org.apache.chemistry.opencmis.commons.data.AllowableActions getAllowableActions()
getAllowableActions
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public List<org.apache.chemistry.opencmis.client.api.Policy> getPolicies()
getPolicies
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public List<org.apache.chemistry.opencmis.client.api.Relationship> getRelationships()
getRelationships
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public List<org.apache.chemistry.opencmis.client.api.Rendition> getRenditions()
getRenditions
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public void addAce(String principalId, List<String> permissions, org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation)
addAce
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public void removeAce(String principalId, List<String> permissions, org.apache.chemistry.opencmis.commons.enums.AclPropagation aclPropagation)
removeAce
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public org.apache.chemistry.opencmis.commons.data.Acl getOriginalAcl()
getOriginalAcl
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public void applyPolicy(org.apache.chemistry.opencmis.client.api.Policy... policyIds)
applyPolicy
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public void removePolicy(org.apache.chemistry.opencmis.client.api.Policy... policyIds)
removePolicy
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> getInputExtensions(org.apache.chemistry.opencmis.commons.enums.ExtensionLevel level)
getInputExtensions
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> getOutputExtensions(org.apache.chemistry.opencmis.commons.enums.ExtensionLevel level)
getOutputExtensions
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public void setOutputExtensions(org.apache.chemistry.opencmis.commons.enums.ExtensionLevel level, List<org.apache.chemistry.opencmis.commons.data.CmisExtensionElement> extensions)
setOutputExtensions
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public void delete(boolean allVersions)
delete
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public void setName(String name)
setName
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public <T> T getPropertyValue(String id)
getPropertyValue
in interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
public <T> org.apache.chemistry.opencmis.client.api.Property<T> getProperty(String id)
getProperty
in interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
public List<org.apache.chemistry.opencmis.client.api.Property<?>> getProperties()
getProperties
in interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
public void setPropertyValue(String id, Object value)
setPropertyValue
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public boolean isMarkedForDelete()
isMarkedForDelete
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public boolean isModified()
isModified
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public org.apache.chemistry.opencmis.client.api.ObjectId save()
save
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public void reset()
reset
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
public void refreshAndReset()
refreshAndReset
in interface org.apache.chemistry.opencmis.client.api.TransientCmisObject
Copyright © 2011 Nuxeo SA. All Rights Reserved.