public class TransientAlfrescoDocumentImpl extends org.apache.chemistry.opencmis.client.runtime.TransientDocumentImpl implements TransientAlfrescoDocument
| Modifier and Type | Field and Description |
|---|---|
protected TransientAlfrescoAspectsImpl |
aspects |
acl, addAces, addPolicies, allowableActions, deleteAllVersions, inputExtensions, isMarkedForDelete, isModified, isPropertyUpdateRequired, object, ouputExtensions, policies, properties, relationships, removeAces, removePolicies, renditions, session| Constructor and Description |
|---|
TransientAlfrescoDocumentImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.chemistry.opencmis.client.api.CmisObject |
addAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
Adds one or more aspects to the object.
|
org.apache.chemistry.opencmis.client.api.CmisObject |
addAspect(org.apache.chemistry.opencmis.client.api.ObjectType[] type,
Map<String,?> properties)
Adds aspects and sets aspect properties.
|
org.apache.chemistry.opencmis.client.api.CmisObject |
addAspect(org.apache.chemistry.opencmis.client.api.ObjectType type,
Map<String,?> properties)
Adds an aspect and sets aspect properties.
|
org.apache.chemistry.opencmis.client.api.CmisObject |
addAspect(String... id)
Adds one or more aspects to the object.
|
org.apache.chemistry.opencmis.client.api.CmisObject |
addAspect(String[] id,
Map<String,?> properties)
Adds aspects and sets aspect properties.
|
org.apache.chemistry.opencmis.client.api.CmisObject |
addAspect(String id,
Map<String,?> properties)
Adds an aspect and sets aspect properties.
|
org.apache.chemistry.opencmis.client.api.ObjectType |
findAspect(String propertyId)
Returns the aspect type that defines the given property.
|
Collection<org.apache.chemistry.opencmis.client.api.ObjectType> |
getAspects()
Returns all applied aspects.
|
org.apache.chemistry.opencmis.client.api.ObjectType |
getTypeWithAspects()
Returns a type definition with the applied aspects.
|
boolean |
hasAspect(org.apache.chemistry.opencmis.client.api.ObjectType type)
Returns if the given aspect is applied to this object.
|
boolean |
hasAspect(String id)
Returns if the given aspect is applied to this object.
|
protected void |
initialize(org.apache.chemistry.opencmis.client.api.Session session,
org.apache.chemistry.opencmis.client.api.CmisObject object) |
protected org.apache.chemistry.opencmis.commons.data.Properties |
prepareProperties() |
org.apache.chemistry.opencmis.client.api.CmisObject |
removeAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
Removes one or more aspects from the object.
|
org.apache.chemistry.opencmis.client.api.CmisObject |
removeAspect(String... id)
Removes one or more aspects from the object.
|
org.apache.chemistry.opencmis.client.api.ObjectId |
save() |
<T> void |
setPropertyValue(String id,
Object value) |
checkIn, copy, copy, deleteAllVersions, deleteContentStream, getAllVersions, getAllVersions, getCheckinComment, getContentStream, getContentStream, getContentStreamFileName, getContentStreamId, getContentStreamLength, getContentStreamMimeType, getObjectOfLatestVersion, getObjectOfLatestVersion, getVersionLabel, getVersionSeriesCheckedOutBy, getVersionSeriesCheckedOutId, getVersionSeriesId, isImmutable, isLatestMajorVersion, isLatestVersion, isMajorVersion, isPrivateWorkingCopy, isVersionSeriesCheckedOut, saveContent, setContentStreamaddToFolder, getParents, getPaths, move, removeFromFolderaddAce, applyPolicy, delete, findObjectType, getAllowableActions, getBaseType, getBaseTypeId, getBinding, getChangeToken, getCmisObject, getCreatedBy, getCreationDate, getDescription, getId, getInputExtensions, getLastModificationDate, getLastModifiedBy, getLatestChangeToken, getName, getObjectFactory, getObjectId, getOriginalAcl, getOutputExtensions, getPolicies, getProperties, getProperty, getPropertyValue, getRelationships, getRenditions, getRepositoryId, getSecondaryTypes, getSession, getType, isMarkedForDelete, isModified, prepareAcl, refreshAndReset, removeAce, removePolicy, reset, saveACL, saveDelete, savePolicies, saveProperties, setDescription, setName, setOutputExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckIn, copy, copy, deleteAllVersions, deleteContentStream, getAllVersions, getAllVersions, getContentStream, getContentStream, getObjectOfLatestVersion, getObjectOfLatestVersion, setContentStreamaddToFolder, getParents, getPaths, move, removeFromFolderaddAce, applyPolicy, delete, getAllowableActions, getCmisObject, getInputExtensions, getOriginalAcl, getOutputExtensions, getPolicies, getRelationships, getRenditions, isMarkedForDelete, isModified, refreshAndReset, removeAce, removePolicy, reset, setDescription, setName, setOutputExtensionsfindObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getTypegetCheckinComment, getContentStreamFileName, getContentStreamId, getContentStreamLength, getContentStreamMimeType, getVersionLabel, getVersionSeriesCheckedOutBy, getVersionSeriesCheckedOutId, getVersionSeriesId, isImmutable, isLatestMajorVersion, isLatestVersion, isMajorVersion, isPrivateWorkingCopy, isVersionSeriesCheckedOutprotected TransientAlfrescoAspectsImpl aspects
protected void initialize(org.apache.chemistry.opencmis.client.api.Session session,
org.apache.chemistry.opencmis.client.api.CmisObject object)
initialize in class org.apache.chemistry.opencmis.client.runtime.TransientDocumentImplpublic org.apache.chemistry.opencmis.client.api.ObjectType getTypeWithAspects()
AlfrescoAspectsgetTypeWithAspects in interface AlfrescoAspectspublic <T> void setPropertyValue(String id, Object value)
setPropertyValue in interface org.apache.chemistry.opencmis.client.api.TransientCmisObjectsetPropertyValue in class org.apache.chemistry.opencmis.client.runtime.AbstractTransientCmisObjectpublic boolean hasAspect(String id)
AlfrescoAspectshasAspect in interface AlfrescoAspectsid - the aspect idtrue if the aspect is applied, false
otherwisepublic boolean hasAspect(org.apache.chemistry.opencmis.client.api.ObjectType type)
AlfrescoAspectshasAspect in interface AlfrescoAspectstype - the aspect object typetrue if the aspect is applied, false
otherwisepublic Collection<org.apache.chemistry.opencmis.client.api.ObjectType> getAspects()
AlfrescoAspectsgetAspects in interface AlfrescoAspectspublic org.apache.chemistry.opencmis.client.api.ObjectType findAspect(String propertyId)
AlfrescoAspectsfindAspect in interface AlfrescoAspectspropertyId - the property idnull otherwisepublic org.apache.chemistry.opencmis.client.api.CmisObject addAspect(String... id)
AlfrescoAspectsaddAspect in interface AlfrescoAspectsid - the aspect id or idspublic org.apache.chemistry.opencmis.client.api.CmisObject addAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
AlfrescoAspectsaddAspect in interface AlfrescoAspectstype - the aspect type or typespublic org.apache.chemistry.opencmis.client.api.CmisObject addAspect(org.apache.chemistry.opencmis.client.api.ObjectType type,
Map<String,?> properties)
AlfrescoAspectsaddAspect in interface AlfrescoAspectstype - the aspect typeproperties - the aspect propertiespublic org.apache.chemistry.opencmis.client.api.CmisObject addAspect(org.apache.chemistry.opencmis.client.api.ObjectType[] type,
Map<String,?> properties)
AlfrescoAspectsaddAspect in interface AlfrescoAspectstype - the aspect typesproperties - the aspect propertiespublic org.apache.chemistry.opencmis.client.api.CmisObject addAspect(String id, Map<String,?> properties)
AlfrescoAspectsaddAspect in interface AlfrescoAspectsid - the aspect typeproperties - the aspect propertiespublic org.apache.chemistry.opencmis.client.api.CmisObject addAspect(String[] id, Map<String,?> properties)
AlfrescoAspectsaddAspect in interface AlfrescoAspectsid - the aspect typesproperties - the aspect propertiespublic org.apache.chemistry.opencmis.client.api.CmisObject removeAspect(String... id)
AlfrescoAspectsremoveAspect in interface AlfrescoAspectsid - the aspect id or idspublic org.apache.chemistry.opencmis.client.api.CmisObject removeAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
AlfrescoAspectsremoveAspect in interface AlfrescoAspectspublic org.apache.chemistry.opencmis.client.api.ObjectId save()
save in interface org.apache.chemistry.opencmis.client.api.TransientCmisObjectsave in class org.apache.chemistry.opencmis.client.runtime.TransientDocumentImplprotected org.apache.chemistry.opencmis.commons.data.Properties prepareProperties()
prepareProperties in class org.apache.chemistry.opencmis.client.runtime.AbstractTransientCmisObjectCopyright © 2011–2014 Alfresco. All rights reserved.