gov.virginia.dcjs.client.util
Interface ApplicationRequest

All Superinterfaces:
Request

public interface ApplicationRequest
extends Request

This class encapsulates the request an IpApplicationClient * makes of an IpApplicationServer.


Method Summary
 void addParameter(java.lang.Object key, java.lang.Object param)
          Provide the specified request parameter and value.
 Relation getData()
          Obtain the data satisfying the original request.
 int getItem()
          Obtain the specific request item.
 java.lang.Object getParameter(java.lang.Object key)
          Obtain the specified request parameter.
 int getTable()
          Obtain the table ID to satisfy the request.
 boolean hasData()
          Determine if the request contains any data.
 
Methods inherited from interface gov.virginia.dcjs.client.util.Request
getClient, getType
 

Method Detail

hasData

public boolean hasData()
Determine if the request contains any data. * @return True when the request contains a non-null relation.


getData

public Relation getData()
Obtain the data satisfying the original request. * @return Data satisfying the client's request.


getItem

public int getItem()
Obtain the specific request item. * @return Specific request item.

Specified by:
getItem in interface Request

getTable

public int getTable()
Obtain the table ID to satisfy the request. * @return Table ID to satisfy request.


getParameter

public java.lang.Object getParameter(java.lang.Object key)
Obtain the specified request parameter. * @param key Parameter name/key. * @return Parameter value matching key, or null if key not present.


addParameter

public void addParameter(java.lang.Object key,
                         java.lang.Object param)
Provide the specified request parameter and value. * @param key Name of parameter. * @param param Value for the named parameter.