SkyVaultVersionService
This section describes the SkyVaultVersionService class.
The SkyVaultVersionService class provides methods to retrieve all versions of a document.
Class declaration
@interface SkyVaultVersionService : SkyVaultBaseService
- retrieveAllVersionsOfDocument:completionBlock-(AlfrescoRequest *) retrieveAllVersionsOfDocument:(AlfrescoDocument *)document completionBlock:(AlfrescoArrayCompletionBlock)completionBlock - retrieves all versions of the specified document.
- retrieveCheckedOutDocumentsWithCompletionBlock-(AlfrescoRequest *) retrieveCheckedOutDocumentsWithCompletionBlock: completionBlock:(AlfrescoArrayCompletionBlock)completionBlock - retrieves a list of documents the authenticated user has checked out.
- retrieveAllVersionsOfDocument:listingContext:completionBlock-(AlfrescoRequest *) retrieveAllVersionsOfDocument:(AlfrescoDocument *)document listingContext:(AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock - retrieves a paged list of all versions of the specified document.
- retrieveCheckedOutDocumentsWithListingContext-(AlfrescoRequest *) retrieveCheckedOutDocumentsWithListingContext: listingContext:(AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock - retrieves a paged list of of documents checked out by the authenticated user.
- retrieveLatestVersionOfDocument:completionBlock- (AlfrescoRequest *)retrieveLatestVersionOfDocument:(AlfrescoDocument *)document completionBlock:(AlfrescoDocumentCompletionBlock)completionBlock - retrieve the latest version of the specified document.
- checkoutDocument:completionBlock- (AlfrescoRequest *)checkoutDocument:(AlfrescoDocument *)document completionBlock:(AlfrescoDocumentCompletionBlock)completionBlock - Checks out the document, if successful the private working copy is returned.
- cancelCheckoutOfDocument:completionBlock- (AlfrescoRequest *)cancelCheckoutOfDocument:(AlfrescoDocument *)document completionBlock:(AlfrescoBOOLCompletionBlock)completionBlock - Cancels the check out of the document.
- checkinDocument:document:asMajorVersion:contentFile:properties:comment:completionBlock:progressBlock- (AlfrescoRequest *)checkinDocument:(AlfrescoDocument *)document asMajorVersion:(BOOL)majorVersion contentFile:(AlfrescoContentFile *)file properties:(NSDictionary *)properties comment:(NSString *)comment completionBlock:(AlfrescoDocumentCompletionBlock)completionBlock progressBlock:(AlfrescoProgressBlock)progressBlock - Checks in the private working copy document, if successful the new version of the document is returned.
Parent topic: Services