binder_setTag

Applies a tag for a binder.

Syntax

public void binder_setTag( String accessToken, Tag tag );

Description

The binder_setTag operation applies a tag to a workspace or folder.

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.

tag

A Tag Java object that contains information applying the tag to a workspace or folder.

return_value

None.

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