public class CBAccount extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
name
This is the login ID of the account, a short alpha-numeric token without any special characters.
|
List<CBSubscription> |
subscriptions |
| Constructor and Description |
|---|
CBAccount() |
| Modifier and Type | Method and Description |
|---|---|
CBSubscription |
addSubscription(CBSubscription sub)
Adds the new subscription to the user.
|
CBSubscription |
addSubscription(String userid,
CBSubscription sub)
Deprecated.
Use
addSubscription(CBSubscription) when it's ready |
CBUser |
addUser(CBUser user) |
List<CBSubscription> |
getSubscriptions() |
public String name
public List<CBSubscription> subscriptions
public CBUser addUser(CBUser user) throws IOException
IOExceptionpublic CBSubscription addSubscription(CBSubscription sub) throws IOException
IOExceptionpublic CBSubscription addSubscription(String userid, CBSubscription sub) throws IOException
addSubscription(CBSubscription) when it's readyIOExceptionpublic List<CBSubscription> getSubscriptions() throws IOException
IOExceptionCopyright © 2011-2015. All Rights Reserved.