Cisco Systems Inc. Confidential

com.scms.common
Class Login_BULK

java.lang.Object
  extended by com.scms.common.BulkBase
      extended by com.scms.common.Login_BULK
All Implemented Interfaces:
com.pcube.management.framework.rpc.GenericSerializable, java.io.Serializable

public class Login_BULK
extends com.scms.common.BulkBase
implements java.io.Serializable

This class represents bulk of subscribers and it includes all data required for the loginBulk operation.

See Also:
method (PRPC_SCESubscriberApi), Serialized Form

Field Summary
 
Fields inherited from class com.scms.common.BulkBase
MAX_BULK_SIZE, subsBulk
 
Constructor Summary
Login_BULK()
          Constructs an empty bulk.
Login_BULK(java.lang.String[] subscriberIDs, NetworkID[] networkIDs, boolean[] additive, PolicyProfile[] policy, com.scms.common.QuotaOperation[] quota)
          Constructor
Login_BULK(java.lang.String[] subscriberIDs, NetworkID[] networkIDs, boolean[] additive, PolicyProfile[] policy, com.scms.common.QuotaOperation[] quota, com.scms.common.ExtendedAttributes[] esa)
          Constructor
 
Method Summary
 void addBulkEntry(java.lang.String subscriberID, NetworkID networkID, boolean networkIdAdditive, PolicyProfile policy, com.scms.common.QuotaOperation quota)
          Adds an entry to the bulk
 void addBulkEntry(java.lang.String subscriberID, NetworkID networkID, boolean networkIdAdditive, PolicyProfile policy, com.scms.common.QuotaOperation quota, com.scms.common.ExtendedAttributes esa)
          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
 

Constructor Detail

Login_BULK

public Login_BULK()
Constructs an empty bulk. Use addBulkEntry method to fill the bulk


Login_BULK

public Login_BULK(java.lang.String[] subscriberIDs,
                  NetworkID[] networkIDs,
                  boolean[] additive,
                  PolicyProfile[] policy,
                  com.scms.common.QuotaOperation[] quota)
           throws java.lang.IllegalArgumentException
Constructor

Throws:
java.lang.IllegalArgumentException
See Also:
method for parameters description

Login_BULK

public Login_BULK(java.lang.String[] subscriberIDs,
                  NetworkID[] networkIDs,
                  boolean[] additive,
                  PolicyProfile[] policy,
                  com.scms.common.QuotaOperation[] quota,
                  com.scms.common.ExtendedAttributes[] esa)
           throws java.lang.IllegalArgumentException
Constructor

Throws:
java.lang.IllegalArgumentException
See Also:
method for parameters description
Method Detail

addBulkEntry

public void addBulkEntry(java.lang.String subscriberID,
                         NetworkID networkID,
                         boolean networkIdAdditive,
                         PolicyProfile policy,
                         com.scms.common.QuotaOperation quota)
                  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.
policy - - policy profile of the subscriber.
quota - - quota of the subscriber.
Throws:
java.lang.IllegalArgumentException

addBulkEntry

public void addBulkEntry(java.lang.String subscriberID,
                         NetworkID networkID,
                         boolean networkIdAdditive,
                         PolicyProfile policy,
                         com.scms.common.QuotaOperation quota,
                         com.scms.common.ExtendedAttributes esa)
                  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.
policy - - policy profile of the subscriber.
quota - - quota of the subscriber.
esa - - extended set of attributes for the subscriber
Throws:
java.lang.IllegalArgumentException

Cisco Systems Inc. Confidential