public class AlfrescoDocumentImpl extends org.apache.chemistry.opencmis.client.runtime.DocumentImpl implements AlfrescoDocument
| Modifier and Type | Field and Description |
|---|---|
protected AlfrescoAspectsImpl |
aspects |
| Constructor and Description |
|---|
AlfrescoDocumentImpl(org.apache.chemistry.opencmis.client.runtime.SessionImpl session,
org.apache.chemistry.opencmis.client.api.ObjectType objectType,
org.apache.chemistry.opencmis.commons.data.ObjectData objectData,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
| 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.ObjectId |
checkIn(boolean major,
Map<String,?> properties,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
String checkinComment,
List<org.apache.chemistry.opencmis.client.api.Policy> policies,
List<org.apache.chemistry.opencmis.commons.data.Ace> addAces,
List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces) |
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.
|
AlfrescoDocumentType |
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.runtime.SessionImpl session,
org.apache.chemistry.opencmis.client.api.ObjectType objectType,
org.apache.chemistry.opencmis.commons.data.ObjectData objectData,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
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 |
updateProperties(Map<String,?> properties,
boolean refresh) |
appendContentStream, appendContentStream, cancelCheckOut, checkIn, checkOut, copy, copy, copyViaClient, deleteAllVersions, deleteContentStream, deleteContentStream, getAllVersions, getAllVersions, getCheckinComment, getContentStream, getContentStream, getContentStream, getContentStream, getContentStreamFileName, getContentStreamHashes, getContentStreamId, getContentStreamLength, getContentStreamMimeType, getObjectOfLatestVersion, getObjectOfLatestVersion, getVersionLabel, getVersionSeriesCheckedOutBy, getVersionSeriesCheckedOutId, getVersionSeriesId, isImmutable, isLatestMajorVersion, isLatestVersion, isMajorVersion, isPrivateWorkingCopy, isVersionSeriesCheckedOut, setContentStream, setContentStreamaddToFolder, getParents, getParents, getPaths, move, move, removeFromFolderaddAcl, applyAcl, applyPolicy, delete, delete, findObjectType, getAcl, getAcl, getAdapter, getAllowableActions, getBaseType, getBaseTypeId, getBinding, getChangeToken, getCreatedBy, getCreationContext, getCreationDate, getDescription, getExtensions, getId, getLastModificationDate, getLastModifiedBy, getName, getObjectFactory, getObjectId, getObjectType, getPolicies, getProperties, getProperty, getPropertyQueryName, getPropertyValue, getRefreshTimestamp, getRelationships, getRenditions, getRepositoryId, getSecondaryTypes, getSession, getType, readLock, readUnlock, refresh, refreshIfOld, removeAcl, removePolicy, rename, rename, setAcl, toString, updateProperties, writeLock, writeUnlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendContentStream, appendContentStream, cancelCheckOut, checkIn, checkOut, copy, copy, deleteAllVersions, deleteContentStream, deleteContentStream, getAllVersions, getAllVersions, getContentStream, getContentStream, getContentStream, getContentStream, getObjectOfLatestVersion, getObjectOfLatestVersion, setContentStream, setContentStreamaddToFolder, getParents, getParents, getPaths, move, move, removeFromFolderaddAcl, applyAcl, applyPolicy, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, refresh, refreshIfOld, removeAcl, removePolicy, rename, rename, setAcl, updatePropertiesfindObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getTypegetCheckinComment, getContentStreamFileName, getContentStreamHashes, getContentStreamId, getContentStreamLength, getContentStreamMimeType, getVersionLabel, getVersionSeriesCheckedOutBy, getVersionSeriesCheckedOutId, getVersionSeriesId, isImmutable, isLatestMajorVersion, isLatestVersion, isMajorVersion, isPrivateWorkingCopy, isVersionSeriesCheckedOutprotected AlfrescoAspectsImpl aspects
public AlfrescoDocumentImpl(org.apache.chemistry.opencmis.client.runtime.SessionImpl session,
org.apache.chemistry.opencmis.client.api.ObjectType objectType,
org.apache.chemistry.opencmis.commons.data.ObjectData objectData,
org.apache.chemistry.opencmis.client.api.OperationContext context)
protected void initialize(org.apache.chemistry.opencmis.client.runtime.SessionImpl session,
org.apache.chemistry.opencmis.client.api.ObjectType objectType,
org.apache.chemistry.opencmis.commons.data.ObjectData objectData,
org.apache.chemistry.opencmis.client.api.OperationContext context)
initialize in class org.apache.chemistry.opencmis.client.runtime.AbstractCmisObjectpublic AlfrescoDocumentType getTypeWithAspects()
AlfrescoAspectsgetTypeWithAspects in interface AlfrescoAspectspublic org.apache.chemistry.opencmis.client.api.ObjectId updateProperties(Map<String,?> properties, boolean refresh)
updateProperties in interface org.apache.chemistry.opencmis.client.api.CmisObjectupdateProperties in class org.apache.chemistry.opencmis.client.runtime.AbstractCmisObjectpublic org.apache.chemistry.opencmis.client.api.ObjectId checkIn(boolean major,
Map<String,?> properties,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
String checkinComment,
List<org.apache.chemistry.opencmis.client.api.Policy> policies,
List<org.apache.chemistry.opencmis.commons.data.Ace> addAces,
List<org.apache.chemistry.opencmis.commons.data.Ace> removeAces)
checkIn in interface org.apache.chemistry.opencmis.client.api.DocumentcheckIn in class org.apache.chemistry.opencmis.client.runtime.DocumentImplpublic 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 AlfrescoAspectsCopyright © 2011–2014 Alfresco. All rights reserved.