Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
Back to Main Page > Specification > Versioning
A plugable storage architecture
Consideration of different approches
boolean isVersionable(wsid, uuid);
Description:
Indicates whether an object can be made versionable (if it not already)
Parameters:
Result:
Returns true if the object can be made versionable (or it already is), false otherwise.
Exception cases:
void checkOut(wsid, uuid);
void checkOut(wsid, uuid, checkOutChildren);
void checkOut(wsid, uuidList);
Description:
Marks the specified object(s) ready for editing. This ensures that the object(s) are locked.
Parameters:
Result:
void
Exception cases:
void checkIn(wsid, uuid, versionProperties);
void checkIn(wsid, uuid, versionProperties, checkInChildren);
void checkIn(wsid, uuid, versionProperties, checkInChildren, keepCheckedOut);
void checkIn(wsid, uuidList, versionProperties);
void checkIn(wsid, uuidList, versionProperties, keepCheckedOut);
Decription:
Unlocks and versions the referenced checked out object(s).
Parameters:
Result:
void
Exception cases:
void cancelCheckOut(wsid, uuid)
void cancelCheckOut(wsid, uuidList);
Description:
Removes the lock and does not version the referenced checked out document.
Parameters:
Result:
void
Exception cases:
boolean isCheckedOut(wsid, uuid);
Description:
Indicates whether the referenced object is currently checked out or not.
Parameters:
Result:
boolean indicating whether the object is checked out or not.
Exception cases:
VersionHistoryData getVersionHistory(wsid, uuid);
Description:
Gets the version history information associated with the specified object.
Parameters:
Result:
The result is a data structure containing the version history data, this will include information about the structure of the version tree and meta-data about each version and the reference to the frozen state of each version. A null representation of the data will be returned if the object has not yet been versioned.
Exception cases:
StatusEnum getStatus(wsid, uuid)
Description:
Gets the status of the object identified. The status will indicate whether the object is current, modified, out of date, in conflict, etc.
Parameters:
Result:
Returns an enumerated value indicating that the object is one of the following states:
Exception cases:
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.