|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.subscription.SubscriptionValidationResult
public class SubscriptionValidationResult
Encapsulates the results of subscription validation including the collection of subscribers ids that do not exist, the collection of inactive subscriber ids, the collection of suspended subscriber ids, and the collection of addresses (e.g. PIN, email address) for the active subscribers.
For each collection, any duplicates will have been removed.
| Constructor Summary | |
|---|---|
SubscriptionValidationResult()
Constructs a new subscription validation result object. |
|
| Method Summary | |
|---|---|
Set<String> |
getActiveAddresses()
Returns the collection of active addresses. |
Set<SubscriberPartial> |
getActiveSubscribers()
Returns the collection of active subscribers. |
Set<String> |
getDoNotExistSubscriberIds()
Returns the collection of subscriber ids that could not be found in storage. |
Set<String> |
getInactiveSubscriberIds()
Returns the collection of subscriber ids that match inactive subscribers. |
Set<String> |
getSuspendedSubscriberIds()
Returns the collection of subscriber ids that match suspended subscribers. |
void |
setActiveAddresses(Set<String> activeAddresses)
Sets the collection of active addresses. |
void |
setActiveSubscribers(Set<SubscriberPartial> activeSubscribers)
Sets the collection of active subscribers. |
void |
setDoNotExistSubscriberIds(Set<String> doNotExistSubscriberIds)
Sets the collection of subscriber ids that could not be found in storage. |
void |
setInactiveSubscriberIds(Set<String> inactiveSubscriberIds)
Sets the collection of subscriber ids that match inactive subscribers. |
void |
setSuspendedSubscriberIds(Set<String> suspendedSubscriberIds)
Sets the collection of subscriber ids that match suspended subscribers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubscriptionValidationResult()
| Method Detail |
|---|
public Set<String> getActiveAddresses()
public void setActiveAddresses(Set<String> activeAddresses)
activeAddresses - a collection of active addressespublic Set<SubscriberPartial> getActiveSubscribers()
public void setActiveSubscribers(Set<SubscriberPartial> activeSubscribers)
activeSubscribers - a collection of active subscriberspublic void setDoNotExistSubscriberIds(Set<String> doNotExistSubscriberIds)
doNotExistSubscriberIds - a collection of ids for non-existent subscriberspublic Set<String> getDoNotExistSubscriberIds()
public void setInactiveSubscriberIds(Set<String> inactiveSubscriberIds)
inactiveSubscriberIds - a collection of ids for inactive subscriberspublic Set<String> getInactiveSubscriberIds()
public void setSuspendedSubscriberIds(Set<String> suspendedSubscriberIds)
suspendedSubscriberIds - a collection of ids for suspended subscriberspublic Set<String> getSuspendedSubscriberIds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||