com.scms.common
Class PolicyProfile_BULK
java.lang.Object
com.scms.common.BulkBase
com.scms.common.PolicyProfile_BULK
- All Implemented Interfaces:
- com.pcube.management.framework.rpc.GenericSerializable, java.io.Serializable
public class PolicyProfile_BULK
- extends com.scms.common.BulkBase
- implements java.io.Serializable
This class represents bulk of subscribers IDs and subscriber Policy Profiles
and it is used in updatePolicyProfileBulk operation.
- See Also:
- Serialized Form
| Fields inherited from class com.scms.common.BulkBase |
MAX_BULK_SIZE, subsBulk |
| 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 |
PolicyProfile_BULK
public PolicyProfile_BULK()
- Constructs and empty bulk. Use addBulkEntry method to fill the bulk
PolicyProfile_BULK
public PolicyProfile_BULK(java.lang.String[] subscriberIDs,
PolicyProfile[] policy)
throws java.lang.IllegalArgumentException
- Constructor
- Throws:
java.lang.IllegalArgumentException- See Also:
method for parameters description
validateArguments
protected void validateArguments(java.lang.String[] subscriberIDs,
PolicyProfile[] policy)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
addBulkEntry
public void addBulkEntry(java.lang.String subscriberID,
PolicyProfile policy)
throws java.lang.IllegalArgumentException
- Adds an entry to the bulk
- Parameters:
subscriberID - - the unique ID of the subscriber.policy - - policy profile of the subscriber
- Throws:
java.lang.IllegalArgumentException