binder_getSubscription

Obtains subscription information about a binder.

Syntax

public Subscription binder_getSubscription( String accessToken, long binderId );

Description

The binder_getSubscription operation returns subscription information for a specified binder. When a user subscribes to a binder, that person receives e-mail notifications.

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 for which you want subscription information.

return_value

A Subscription Java object containing subscription information.

Example

public static void checkBinderSubscriptions(long binderId) throws Exception { ...                                                                                                            Subscription subscription = setupSubscription(binderId);                                          stub.binder_setSubscription(null, binderId, subscription);                                             subscription = stub.binder_getSubscription(null, binderId); validateSubscription(subscription);                                                                                                             }

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

See Also