com.scms.common
Class NetworkAndSubscriberID_BULK
java.lang.Object
com.scms.common.BulkBase
com.scms.common.NetworkAndSubscriberID_BULK
- All Implemented Interfaces:
- com.pcube.management.framework.rpc.GenericSerializable, java.io.Serializable
public class NetworkAndSubscriberID_BULK
- extends com.scms.common.BulkBase
- implements java.io.Serializable
NetworkAndSubscriberID_BULK class is provided for usage in bulk operations
that required Subscriber IDs and NetworkIDs;
1) getSubscribersBulkResponse callback (@see LoginPullListener interface)
2) logoutBulk operation (@see logoutBulk operation)
3) networkIDUpdateBulk operation (@see networkIdUpdateBulk operation)
- See Also:
- Serialized Form
| Fields inherited from class com.scms.common.BulkBase |
MAX_BULK_SIZE, subsBulk |
|
Method Summary |
void |
addBulkEntry(java.lang.String subscriberID,
NetworkID networkID,
boolean additive)
Adds an entry to the bulk |
| Methods inherited from class com.scms.common.BulkBase |
addBulkEntry, addBulkEntry, deserialize, getIterator, getSize, getSubscribers, readObject, toString, validateArguments, validateArguments, validateArguments, validateArguments, validateBulkSize, writeObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NetworkAndSubscriberID_BULK
public NetworkAndSubscriberID_BULK()
- Constructs and empty bulk. Use addBulkEntry method to fill the bulk
NetworkAndSubscriberID_BULK
public NetworkAndSubscriberID_BULK(com.scms.common.BulkBase otherBulk)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
NetworkAndSubscriberID_BULK
public NetworkAndSubscriberID_BULK(java.lang.String[] subscriberIDs,
NetworkID[] networkIDs,
boolean[] additive)
throws java.lang.IllegalArgumentException
- Constructor
- Throws:
java.lang.IllegalArgumentException- See Also:
method for parameters description
addBulkEntry
public void addBulkEntry(java.lang.String subscriberID,
NetworkID networkID,
boolean additive)
throws java.lang.IllegalArgumentException
- Adds an entry to the bulk
- Parameters:
subscriberID - - the unique ID of the subscriber.networkID - - the network identifier of the subscriber.networkIDAdditive - - If networkIdAdditive flag is set to TRUE -
the supplied NetworkID is added to the existing networkIDs
of the subscriber otherwise the supplied networkID replaces
the existing networkIDs.
- Throws:
java.lang.IllegalArgumentException