Authoring Web Service
From AlfrescoWiki
Back to Alfresco Content Management Web Services.
This service provides support for collaborative editing of content.
Contents |
[edit] Change Log
[edit] Types
[edit] CheckoutResult
Contains the results of a checkout.
- Reference[] originals - the checked out references
- Reference[] workingCopies - the working copy references
[edit] CheckinResult
Contains the results of a checkin.
- Reference[] workingCopies - the working copies checked in
- Reference[] checkedIn - the checked in references
[edit] CancelCheckoutResult
Contains the results of a canceled checkout
- Reference[] workingCopies - the working copy references
- Reference[] originals - the origional references
[edit] LockTypeEnum
The lock types enum.
- Read-Only
- Write
[edit] LockStatus
The current status of a lock.
- Reference node - the reference
- LockTypeEnum lockType - the lock types
- String lockOwner - the lock owner
[edit] VersionResult
Contains version details for a collection of references.
[edit] Methods
[edit] checkout
Checkout a content resource for exclusive (or possbily shared) editing.
CheckoutResult checkout(Predicate items, ParentReference destination)
[edit] checkin
Checkin a content resource.
CheckinResult checkin(Predicate items, NamedValue[] comments, boolean keepCheckedOut)
[edit] 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)
[edit] cancelCheckout
Cancels the checkout.
CancelCheckoutResult cancelCheckout(Predicate items)
[edit] lock
Locks the reference.
Reference[] lock(Predicate items, boolean lockChildren, LockTypeEnum lockTypeEnum)
[edit] unlock
Removes all locks on the specified nodes.
Reference[] unlock(Predicate items, boolean unlockChildren)
[edit] getLockStatus
Gets the lock status of the specified nodes.
LockStatus[] getLockStatus(Predicate items)
[edit] createVersion
Create a snapshot of the specified node(s) in the version store.
VersionResult createVersion(Predicate items, NamedValue[] comments, boolean versionChildren)
[edit] getVersionHistory
Gets the version history of the specified node.
VersionHistory getVersionHistory(Reference node)
[edit] revertVersion
Revert a node to the snapshot of the specified version.
void revertVersion(Reference node, string versionLabel)
[edit] deleteAllVersions
Delete all snapshot versions of the specified node.
VersionHistory deleteAllVersions(Reference node)

