Inherits from NSObject
Declared in AlfrescoTaggingService.h

Overview

The AlfrescoTaggingService provides various ways to retrieve tags and can add tags to a node in a Alfresco repository.

Author: Gavin Cornwell (Alfresco), Tijs Rademakers (Alfresco), Peter Schmidt (Alfresco)

Tasks

Initialisation methods

Retrieval methods.

Adds the given tags to the given node.

Instance Methods

addTags:toNode:completionBlock:

Adds the given tags to the given node.

- (AlfrescoRequest *)addTags:(NSArray *)tags toNode:(AlfrescoNode *)node completionBlock:(AlfrescoBOOLCompletionBlock)completionBlock

Parameters

tags

The tags that should be added.

node

The node to which the tags should be added.

completionBlock

The block that’s called with the retrieved tags in case the operation succeeds.

Discussion

Adds the given tags to the given node.

Declared In

AlfrescoTaggingService.h

initWithSession:

Initialises with a standard Cloud or OnPremise session

- (id)initWithSession:(id<AlfrescoSession>)session

Parameters

session

the AlfrescoSession to initialise the site service with.

Discussion

Initialises with a standard Cloud or OnPremise session

Declared In

AlfrescoTaggingService.h

retrieveAllTagsWithCompletionBlock:

Retrieves all tags available in the repository.

- (AlfrescoRequest *)retrieveAllTagsWithCompletionBlock:(AlfrescoArrayCompletionBlock)completionBlock

Parameters

completionBlock

The block that’s called with the retrieved tags in case the operation succeeds.

Discussion

Retrieves all tags available in the repository.

Declared In

AlfrescoTaggingService.h

retrieveAllTagsWithListingContext:completionBlock:

Retrieves all tags available in the repository with a listing context.

- (AlfrescoRequest *)retrieveAllTagsWithListingContext:(AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock

Parameters

listingContext

The listing context with a paging definition that’s used to retrieve the tags.

completionBlock

The block that’s called with the retrieved tags in case the operation succeeds.

Discussion

Retrieves all tags available in the repository with a listing context.

Declared In

AlfrescoTaggingService.h

retrieveTagsForNode:completionBlock:

Retrieves all tags applied to a given node.

- (AlfrescoRequest *)retrieveTagsForNode:(AlfrescoNode *)node completionBlock:(AlfrescoArrayCompletionBlock)completionBlock

Parameters

node

The node for which the tags should be retrieved.

completionBlock

The block that’s called with the retrieved tags in case the operation succeeds.

Discussion

Retrieves all tags applied to a given node.

Declared In

AlfrescoTaggingService.h

retrieveTagsForNode:listingContext:completionBlock:

Retrieves all tags applied to a given node with a listing context.

- (AlfrescoRequest *)retrieveTagsForNode:(AlfrescoNode *)node listingContext:(AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock

Parameters

node

The node for which the tags should be retrieved.

listingContext

The listing context with a paging definition that’s used to retrieve the tags.

completionBlock

The block that’s called with the retrieved tags in case the operation succeeds.

Discussion

Retrieves all tags applied to a given node with a listing context.

Declared In

AlfrescoTaggingService.h