binder_getTags

Obtains tags applied to a binder.

Syntax

public Tag[] binder_getTags( String accessToken, long binderId );

Description

The binder_getTags operation gets tag information for a specified binder.

Parameters and Return Value

accessToken

Either the security token passed to your application by Vibe as part of implementing a remote application, or the null value.

binderId

The binder identifier for the workspace or folder whose tag information you want.

return_value

An array of Tag Java objects, each containing information about one of the tags applied to the binder.

Example

  public static  void checkTags(long binderId) throws Exception {  ...                                                                   Tag[] tags = setupTags(binderId);                                                                                                                     for (int i=0; i<tags.length; ++i) {stub.binder_setTag(null, tags[i]);  }                                                            tags = stub.binder_getTags(null, binderId);                                                                      validateTags(tags);                                                                                                     stub.binder_deleteTag(null, binderId, tags[0].getId());     

This code is taken from the source code for the teamingservice-client-with-stub.bat file.

See Also