SkyVaultDocumentFolderService
This section describes the SkyVaultDocumentFolderService class.
The SkyVaultDocumentFolderService class manages folders and documents in a SkyVault repository. The service provides methods to retrieve documents and folders, as well as create and update them.
Class declaration
@interface SkyVaultDocumentFolderService : SkyVaultBaseService
- clear- (void)clear - clears any cached state the service has.
- createFolderWithNamecreateFolderWithName - Create a new folder in the target folder using the specified properties.
- createDocumentWithName-(void) createDocumentWithName - Create a new document in the target folder using the specified properties.
- deleteNode:completionBlock-(AlfrescoRequest *) deleteNode:(AlfrescoNode *)node completionBlock:(AlfrescoBOOLCompletionBlock)completionBlock - Deletes the specified node.
- retrieveFavoriteDocumentsWithCompletionBlock:completionBlock- (AlfrescoRequest *)retrieveFavoriteDocumentsWithCompletionBlock: (AlfrescoArrayCompletionBlock)completionBlock - Returns a list of the current user's favorite documents through the completionBlock. This method was added in SDK version 1.3.
- retrieveFavoriteDocumentsWithListingContext:listingContext:completionBlock- (AlfrescoRequest *)retrieveFavoriteDocumentsWithListingContext: (AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock - Returns a paged list of the current user's favorite documents through the completionBlock. This method was added in SDK version 1.3.
- retrieveFavoriteFoldersWithCompletionBlock:completionBlock- (AlfrescoRequest *)retrieveFavoriteFoldersWithCompletionBlock: (AlfrescoArrayCompletionBlock)completionBlock - Returns a list of the current user's favorite folders through the completionBlock. This method was added in SDK version 1.3.
- retrieveFavoriteFoldersWithListingContext:listingContext:completionBlock- (AlfrescoRequest *)retrieveFavoriteFoldersWithListingContext: (AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock - Returns a paged list of the current user's favorite folders through the completionBlock. This method was added in SDK version 1.3.
- retrieveFavoriteNodesWithCompletionBlock:completionBlock- (AlfrescoRequest *)retrieveFavoriteNodesWithCompletionBlock: (AlfrescoArrayCompletionBlock)completionBlock - Returns a list of the current user's favorite nodes through the completionBlock. This method was added in SDK version 1.3.
- retrieveFavoriteNodesWithListingContext:listingContext:completionBlock- (AlfrescoRequest *)retrieveFavoriteNodesWithListingContext: (AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock - Returns a paged list of the current user's favorite nodes through the completionBlock. This method was added in SDK version 1.3.
- addFavorite:completionBlock- (AlfrescoRequest *)addFavorite:(AlfrescoNode *)node completionBlock:(AlfrescoFavoritedCompletionBlock)completionBlock - Add the provided node to favorites.
- removeFavorite:completionBlock- (AlfrescoRequest *)removeFavorite:(AlfrescoNode *)node completionBlock:(AlfrescoFavoritedCompletionBlock)completionBlock - remove the specified node from favorites.
- isFavorite:completionBlock- (AlfrescoRequest *)isFavorite:(AlfrescoNode *)node completionBlock:(AlfrescoFavoritedCompletionBlock)completionBlock - Determines whether the given node has been marked as a favorite by the current user.
- refreshNode:completionBlock- (AlfrescoRequest *)refreshNode:(AlfrescoNode *)node completionBlock:(AlfrescoNodeCompletionBlock)completionBlock - Returns the latest (and complete) metadata for the provided node through the completionBlock.
- retrieveChildrenInFolder:completionBlock-(AlfrescoRequest *) retrieveChildrenInFolder:(AlfrescoFolder *)folder completionBlock:(AlfrescoArrayCompletionBlock)completionBlock - retrieves the immediate child nodes of the given folder.
- retrieveChildrenInFolder:listingContext:completionBlock-(AlfrescoRequest *) retrieveChildrenInFolder:(AlfrescoFolder *)folder listingContext:(AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock - retrieves the immediate child nodes of the given folder with a listing context.
- retrieveDocumentsInFolder:completionBlock-(AlfrescoRequest *) retrieveDocumentsInFolder:(AlfrescoFolder *)folder completionBlock:(AlfrescoArrayCompletionBlock)completionBlock - retrieves the immediate child documents of the given folder.
- retrieveDocumentsInFolder:listingContext:completionBlock-(AlfrescoRequest *) retrieveDocumentsInFolder:(AlfrescoFolder *)folder listingContext:(AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock - retrieves the immediate child documents of the given folder with a listing context.
- retrieveFoldersInFolder:completionBlock-(AlfrescoRequest *) retrieveFoldersInFolder:(AlfrescoFolder *)folder completionBlock:(AlfrescoArrayCompletionBlock)completionBlock - retrieves the immediate child folders of the given folder.
- retrieveFoldersInFolder:listingContext:completionBlock-(AlfrescoRequest *) retrieveFoldersInFolder:(AlfrescoFolder *)folder listingContext:(AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock - retrieves the immediate child folders of the given folder with a listing context.
- retrieveNodeWithIdentifier:completionBlock-(AlfrescoRequest *) retrieveNodeWithIdentifier:(NSString *)identifier completionBlock:(AlfrescoNodeCompletionBlock)completionBlock - retrieves the node object with the specified identifier.
- retrieveNodeWithFolderPath:completionBlock-(AlfrescoRequest *) retrieveNodeWithFolderPath:(NSString *)path completionBlock:(AlfrescoNodeCompletionBlock)completionBlock - retrieves the node object stored at the specified path.
- retrieveNodeWithFolderPath:relativeToFolder:completionBlock-(AlfrescoRequest *) retrieveNodeWithFolderPath:(NSString *)path relativeToFolder:(AlfrescoFolder *)folder completionBlock:(AlfrescoNodeCompletionBlock)completionBlock - retrieves the node object stored at the specified path relative to the specified folder.
- retrieveParentFolderOfNode:completionBlock-(AlfrescoRequest *) retrieveParentFolderOfNode:(AlfrescoNode *)node completionBlock:(AlfrescoFolderCompletionBlock)completionBlock - retrieves the parent folder object of the specified node.
- retrieveRootFolderWithCompletionBlock-(AlfrescoRequest *) retrieveRootFolderWithCompletionBlock:(AlfrescoFolderCompletionBlock)completionBlock - retrieves the root folder of the repository.
- retrievePermissionsOfNode:completionBlock-(AlfrescoRequest *) retrievePermissionsOfNode:(AlfrescoNode *)node completionBlock:(AlfrescoPermissionsCompletionBlock)completionBlock - retrieves the permissions of the specified node.
- retrieveRenditionOfNode:renditionName:completionBlock-(AlfrescoRequest *) retrieveRenditionOfNode:(AlfrescoNode *)node renditionName:(NSString *)renditionName completionBlock:(AlfrescoContentFileCompletionBlock)completionBlock - retrieves a named rendition for the specified node.
- retrieveContentOfDocumentretrieveContentOfDocument - Downloads the content of the given document.
- updateContentOfDocumentupdateContentOfDocument - Updates the content of the given document.
- updatePropertiesOfNode:node:properties:completionBlock-(AlfrescoRequest *) updatePropertiesOfNode:(AlfrescoNode *)node properties:(NSDictionary *)properties completionBlock:(AlfrescoNodeCompletionBlock)completionBlock - updates the properties of the specified node.
- updatePropertiesOfNode:node:properties:aspects:completionBlock-(AlfrescoRequest *) updatePropertiesOfNode:(AlfrescoNode *)node properties:(NSDictionary *)properties aspects:(NSArray *)aspects completionBlock:(AlfrescoNodeCompletionBlock)completionBlock - updates the properties of the specified node, and applies the given aspects.
- addAspectsToNode:node:properties:aspects:completionBlock-(AlfrescoRequest *) addAspectsToNode:(AlfrescoNode *)node aspects:(NSArray *)aspects completionBlock:(AlfrescoNodeCompletionBlock)completionBlock - add the specified aspects to the specified node.
Parent topic: Services