it.dtt.ca.request
Class HistoryRequest

java.lang.Object
  extended by it.dtt.ca.request.CARequest
      extended by it.dtt.ca.request.HistoryRequest

public class HistoryRequest
extends CARequest

This class is used to request an history to the CA manager.


Constructor Summary
HistoryRequest(int historyType)
          Create an instance of HistoryRequest.
 
Method Summary
 int getHistoryType()
          Get the type of History that is required.
 
Methods inherited from class it.dtt.ca.request.CARequest
cancel, getPrivateData, isCancelled, setPrivateData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryRequest

public HistoryRequest(int historyType)
               throws UnsupportedFeatureException
Create an instance of HistoryRequest.

Parameters:
historyType - the type of history that is requested. The types shall be as defined in the History class.
Throws:
UnsupportedFeatureException - in case an invalid historyType is used as parameter. Invalid means different than PPV_HISTORY, RECHARGE_HISTORY or MESSAGE_HISTORY.
Method Detail

getHistoryType

public int getHistoryType()
Get the type of History that is required.

Returns:
the history type. The types shall be as defined in the History class.
See Also:
History