Authoring Web Service

cancel
Showing results for 
Search instead for 
Did you mean: 

Authoring Web Service

resplin
Intermediate
0 0 1,519

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



Web Services
Back to Alfresco Content Management Web Services.




This service provides support for collaborative editing of content.


Change Log


Types


CheckoutResult


Contains the results of a checkout.


  • Reference[] originals - the checked out references
  • Reference[] workingCopies - the working copy references

CheckinResult


Contains the results of a checkin.


  • Reference[] workingCopies - the working copies checked in
  • Reference[] checkedIn - the checked in references

CancelCheckoutResult


Contains the results of a canceled checkout


  • Reference[] workingCopies - the working copy references
  • Reference[] originals - the origional references

LockTypeEnum


The lock types enum.


  • Read-Only
  • Write

LockStatus


The current status of a lock.


VersionResult


Contains version details for a collection of references.


Methods


checkout


Checkout a content resource for exclusive (or possbily shared) editing.

CheckoutResult checkout(Predicate items, ParentReference destination)


checkin


Checkin a content resource.

CheckinResult checkin(Predicate items, NamedValue[] comments, boolean keepCheckedOut)


checkinExternal


Checkin an external content resource thus replacing the existing working content.

Reference checkinExternal(Reference node, NamedValue[] comments, boolean keepCheckedOut, ContentFormat format, xsd:base64Binary content)


cancelCheckout


Cancels the checkout.

CancelCheckoutResult cancelCheckout(Predicate items)


lock


Locks the reference.

Reference[] lock(Predicate items, boolean lockChildren, LockTypeEnum lockTypeEnum)


unlock


Removes all locks on the specified nodes.

Reference[] unlock(Predicate items, boolean unlockChildren)


getLockStatus


Gets the lock status of the specified nodes.

LockStatus[] getLockStatus(Predicate items)


createVersion


Create a snapshot of the specified node(s) in the version store.

VersionResult createVersion(Predicate items, NamedValue[] comments, boolean versionChildren)


getVersionHistory


Gets the version history of the specified node.

VersionHistory getVersionHistory(Reference node)


revertVersion


Revert a node to the snapshot of the specified version.

void revertVersion(Reference node, string versionLabel)


deleteAllVersions


Delete all snapshot versions of the specified node.

VersionHistory deleteAllVersions(Reference node)