|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.chemistry.opencmis.client.runtime.AbstractCmisObject
org.apache.chemistry.opencmis.client.runtime.AbstractFilableCmisObject
org.apache.chemistry.opencmis.client.runtime.DocumentImpl
org.alfresco.cmis.client.impl.AlfrescoDocumentImpl
public class AlfrescoDocumentImpl
| Field Summary | |
|---|---|
protected AlfrescoAspectsImpl |
aspects
|
| Constructor Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
void |
addAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
Adds one or more aspects to the object. |
void |
addAspect(org.apache.chemistry.opencmis.client.api.ObjectType[] type,
Map<String,?> properties)
Adds aspects and sets aspect properties. |
void |
addAspect(org.apache.chemistry.opencmis.client.api.ObjectType type,
Map<String,?> properties)
Adds an aspect and sets aspect properties. |
void |
addAspect(String... id)
Adds one or more aspects to the object. |
void |
addAspect(String[] id,
Map<String,?> properties)
Adds aspects and sets aspect properties. |
void |
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)
|
protected org.apache.chemistry.opencmis.client.api.TransientCmisObject |
createTransientCmisObject()
|
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)
|
void |
removeAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
Removes one or more aspects from the object. |
void |
removeAspect(String... id)
Removes one or more aspects from the object. |
org.apache.chemistry.opencmis.client.api.ObjectId |
updateProperties(Map<String,?> properties,
boolean refresh)
|
| Methods inherited from class org.apache.chemistry.opencmis.client.runtime.DocumentImpl |
|---|
cancelCheckOut, checkIn, checkOut, copy, copy, copyViaClient, deleteAllVersions, deleteContentStream, deleteContentStream, getAllVersions, getAllVersions, getCheckinComment, getContentStream, getContentStream, getContentStream, getContentStream, getContentStreamFileName, getContentStreamId, getContentStreamLength, getContentStreamMimeType, getObjectOfLatestVersion, getObjectOfLatestVersion, getTransientDocument, getVersionLabel, getVersionSeriesCheckedOutBy, getVersionSeriesCheckedOutId, getVersionSeriesId, isImmutable, isLatestMajorVersion, isLatestVersion, isMajorVersion, isVersionSeriesCheckedOut, setContentStream, setContentStream |
| Methods inherited from class org.apache.chemistry.opencmis.client.runtime.AbstractFilableCmisObject |
|---|
addToFolder, getParents, getParents, getPaths, move, move, removeFromFolder |
| Methods inherited from class org.apache.chemistry.opencmis.client.runtime.AbstractCmisObject |
|---|
addAcl, applyAcl, applyPolicy, delete, delete, getAcl, getAcl, getAdapter, getAllowableActions, getBaseType, getBaseTypeId, getBinding, getChangeToken, getCreatedBy, getCreationContext, getCreationDate, getExtensions, getId, getLastModificationDate, getLastModifiedBy, getName, getObjectFactory, getObjectId, getObjectType, getPolicies, getProperties, getProperty, getPropertyQueryName, getPropertyValue, getRefreshTimestamp, getRelationships, getRenditions, getRepositoryId, getSession, getTransientObject, getType, readLock, readUnlock, refresh, refreshIfOld, removeAcl, removePolicy, setAcl, updateProperties, writeLock, writeUnlock |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.chemistry.opencmis.client.api.Document |
|---|
cancelCheckOut, checkIn, checkOut, copy, copy, deleteAllVersions, deleteContentStream, deleteContentStream, getAllVersions, getAllVersions, getContentStream, getContentStream, getContentStream, getContentStream, getObjectOfLatestVersion, getObjectOfLatestVersion, getTransientDocument, setContentStream, setContentStream |
| Methods inherited from interface org.apache.chemistry.opencmis.client.api.FileableCmisObject |
|---|
addToFolder, getParents, getParents, getPaths, move, move, removeFromFolder |
| Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObject |
|---|
addAcl, applyAcl, applyPolicy, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, getTransientObject, refresh, refreshIfOld, removeAcl, removePolicy, setAcl, updateProperties |
| Methods inherited from interface org.apache.chemistry.opencmis.client.api.ObjectId |
|---|
getId |
| Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties |
|---|
getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getType |
| Methods inherited from interface org.apache.chemistry.opencmis.client.api.DocumentProperties |
|---|
getCheckinComment, getContentStreamFileName, getContentStreamId, getContentStreamLength, getContentStreamMimeType, getVersionLabel, getVersionSeriesCheckedOutBy, getVersionSeriesCheckedOutId, getVersionSeriesId, isImmutable, isLatestMajorVersion, isLatestVersion, isMajorVersion, isVersionSeriesCheckedOut |
| Field Detail |
|---|
protected AlfrescoAspectsImpl aspects
| Constructor Detail |
|---|
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)
| Method Detail |
|---|
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.AbstractCmisObjectprotected org.apache.chemistry.opencmis.client.api.TransientCmisObject createTransientCmisObject()
createTransientCmisObject in class org.apache.chemistry.opencmis.client.runtime.DocumentImplpublic AlfrescoDocumentType getTypeWithAspects()
AlfrescoAspects
getTypeWithAspects in interface AlfrescoAspects
public 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.AbstractCmisObject
public 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)
AlfrescoAspects
hasAspect in interface AlfrescoAspectsid - the aspect id
true if the aspect is applied, false
otherwisepublic boolean hasAspect(org.apache.chemistry.opencmis.client.api.ObjectType type)
AlfrescoAspects
hasAspect in interface AlfrescoAspectstype - the aspect object type
true if the aspect is applied, false
otherwisepublic Collection<org.apache.chemistry.opencmis.client.api.ObjectType> getAspects()
AlfrescoAspects
getAspects in interface AlfrescoAspectspublic org.apache.chemistry.opencmis.client.api.ObjectType findAspect(String propertyId)
AlfrescoAspects
findAspect in interface AlfrescoAspectspropertyId - the property id
null otherwisepublic void addAspect(String... id)
AlfrescoAspects
addAspect in interface AlfrescoAspectsid - the aspect id or idspublic void addAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
AlfrescoAspects
addAspect in interface AlfrescoAspectstype - the aspect type or types
public void addAspect(org.apache.chemistry.opencmis.client.api.ObjectType type,
Map<String,?> properties)
AlfrescoAspects
addAspect in interface AlfrescoAspectstype - the aspect typeproperties - the aspect properties
public void addAspect(org.apache.chemistry.opencmis.client.api.ObjectType[] type,
Map<String,?> properties)
AlfrescoAspects
addAspect in interface AlfrescoAspectstype - the aspect typesproperties - the aspect properties
public void addAspect(String id,
Map<String,?> properties)
AlfrescoAspects
addAspect in interface AlfrescoAspectsid - the aspect typeproperties - the aspect properties
public void addAspect(String[] id,
Map<String,?> properties)
AlfrescoAspects
addAspect in interface AlfrescoAspectsid - the aspect typesproperties - the aspect propertiespublic void removeAspect(String... id)
AlfrescoAspects
removeAspect in interface AlfrescoAspectsid - the aspect id or idspublic void removeAspect(org.apache.chemistry.opencmis.client.api.ObjectType... type)
AlfrescoAspects
removeAspect in interface AlfrescoAspects
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||