net.rim.pushsdk.subscription.sync
Class SubscriberSyncResult

java.lang.Object
  extended by net.rim.pushsdk.subscription.sync.SubscriberSyncResult
All Implemented Interfaces:
Serializable

public class SubscriberSyncResult
extends Object
implements Serializable

Contains the failed results back from a subscriber status sync attempt. If the sync was a success, the sets will be empty.

Author:
mdandrea
See Also:
PPGSubscriberUpdateFailure, SDKSubscriberUpdateFailure, Serialized Form

Constructor Summary
SubscriberSyncResult()
           
 
Method Summary
 void addPpgSubscriberUpdateFailure(PPGSubscriberUpdateFailure ppgSubscriberUpdateFailure)
          Adds a PPG subscriber update failure to the results.
 void addPpgSubscriberUpdateFailures(Set<PPGSubscriberUpdateFailure> ppgSubscriberUpdateFailures)
          Adds PPG subscriber update failures to the results.
 void addSdkSubscriberUpdateFailure(SDKSubscriberUpdateFailure sdkSubscriberUpdateFailure)
          Adds an SDK subscriber update failure to the results.
 void addSdkSubscriberUpdateFailures(Set<SDKSubscriberUpdateFailure> sdkSubscriberUpdateFailures)
          Adds SDK subscriber update failures to the results.
 Set<PPGSubscriberUpdateFailure> getPpgSubscriberUpdateFailures()
          Gets the failures that occurred attempting to update subscribers on the PPG end.
 Set<SDKSubscriberUpdateFailure> getSdkSubscriberUpdateFailures()
          Gets the failures that occurred attempting to update subscribers on the SDK end.
 void setPpgSubscriberUpdateFailures(Set<PPGSubscriberUpdateFailure> ppgSubscriberUpdateFailures)
          Sets the failures that occurred attempting to update subscribers on the PPG end.
 void setSdkSubscriberUpdateFailures(Set<SDKSubscriberUpdateFailure> sdkSubscriberUpdateFailures)
          Sets the failures that occurred attempting to update subscribers on the SDK end.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubscriberSyncResult

public SubscriberSyncResult()
Method Detail

getPpgSubscriberUpdateFailures

public Set<PPGSubscriberUpdateFailure> getPpgSubscriberUpdateFailures()
Gets the failures that occurred attempting to update subscribers on the PPG end.

Returns:
the PPG subscriber update failures

setPpgSubscriberUpdateFailures

public void setPpgSubscriberUpdateFailures(Set<PPGSubscriberUpdateFailure> ppgSubscriberUpdateFailures)
Sets the failures that occurred attempting to update subscribers on the PPG end.

Parameters:
ppgSubscriberUpdateFailures - the PPG subscriber update failures

getSdkSubscriberUpdateFailures

public Set<SDKSubscriberUpdateFailure> getSdkSubscriberUpdateFailures()
Gets the failures that occurred attempting to update subscribers on the SDK end.

Returns:
the SDK subscriber update failures

setSdkSubscriberUpdateFailures

public void setSdkSubscriberUpdateFailures(Set<SDKSubscriberUpdateFailure> sdkSubscriberUpdateFailures)
Sets the failures that occurred attempting to update subscribers on the SDK end.

Parameters:
sdkSubscriberUpdateFailures - the SDK subscriber update failures

addPpgSubscriberUpdateFailure

public void addPpgSubscriberUpdateFailure(PPGSubscriberUpdateFailure ppgSubscriberUpdateFailure)
Adds a PPG subscriber update failure to the results.

Parameters:
ppgSubscriberUpdateFailure - a PPG subscriber update failure

addSdkSubscriberUpdateFailure

public void addSdkSubscriberUpdateFailure(SDKSubscriberUpdateFailure sdkSubscriberUpdateFailure)
Adds an SDK subscriber update failure to the results.

Parameters:
sdkSubscriberUpdateFailure - an SDK subscriber update failure

addPpgSubscriberUpdateFailures

public void addPpgSubscriberUpdateFailures(Set<PPGSubscriberUpdateFailure> ppgSubscriberUpdateFailures)
Adds PPG subscriber update failures to the results.

Parameters:
ppgSubscriberUpdateFailures - the PPG subscriber update failures to add

addSdkSubscriberUpdateFailures

public void addSdkSubscriberUpdateFailures(Set<SDKSubscriberUpdateFailure> sdkSubscriberUpdateFailures)
Adds SDK subscriber update failures to the results.

Parameters:
sdkSubscriberUpdateFailures - the SDK subscriber update failures to add


Copyright © 2011 Research In Motion. All Rights Reserved.