telosys.objects
Class ScreenRequest

java.lang.Object
  extended bytelosys.objects.ScreenRequest

class ScreenRequest
extends java.lang.Object

ScreenRequest object ( reserved for internal use )
The request for "ScreenActions"


Constructor Summary
protected ScreenRequest(object oXHR)
          Creates a new ScreenResponse object
 
Method Summary
 void clearData()
          Clear the data XML fragment ( elements tags )
 void clearParameters()
          Clear all the parameters
 void clearViews()
          Clear all the views to retrieve
 string getAction()
           
 string getElements()
           
 string getFlagClear()
           
 string getFlagGet()
           
 string getFlagSet()
           
 string getProcedure()
           
 string getScreenId()
           
 string getScreenName()
           
 string getXmlRequest()
          Build the full XML request content and return it
 void setAction(string action)
           
 void setData(string allDataTags)
          Set the data XML fragment containing all the XML elements tags to send
 void setElements(string elements)
           
 void setFlagClear(string flag)
           
 void setFlagGet(string flag)
           
 void setFlagSet(string flag)
           
 void setParameter(string name, string value)
          Set a parameter value
 void setProcedure(string proc)
           
 void setScreenId(string id)
           
 void setScreenName(string name)
           
 void setView(string name, string renderer)
          Set a view
 void showData()
          Show the data elements tags to send
 void showParameters()
          Show all the parameters in an alert message box
 void showViews()
          Show all the views to retrieve in an alert message box
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenRequest

protected ScreenRequest(object oXHR)
Creates a new ScreenResponse object

Parameters:
oXHR - : a reference on the XMLHttpRequest object used to send the request
Method Detail

setScreenName

public void setScreenName(string name)

getScreenName

public string getScreenName()

setScreenId

public void setScreenId(string id)

getScreenId

public string getScreenId()

setAction

public void setAction(string action)

getAction

public string getAction()

setProcedure

public void setProcedure(string proc)

getProcedure

public string getProcedure()

setElements

public void setElements(string elements)

getElements

public string getElements()

setFlagGet

public void setFlagGet(string flag)

getFlagGet

public string getFlagGet()

setFlagSet

public void setFlagSet(string flag)

getFlagSet

public string getFlagSet()

setFlagClear

public void setFlagClear(string flag)

getFlagClear

public string getFlagClear()

getXmlRequest

public string getXmlRequest()
Build the full XML request content and return it

Returns:
: the XML to send in the request body

setParameter

public void setParameter(string name,
                         string value)
Set a parameter value

Parameters:
name -
value -

clearParameters

public void clearParameters()
Clear all the parameters


showParameters

public void showParameters()
Show all the parameters in an alert message box


setView

public void setView(string name,
                    string renderer)
Set a view

Parameters:
name -
renderer -

clearViews

public void clearViews()
Clear all the views to retrieve


showViews

public void showViews()
Show all the views to retrieve in an alert message box


setData

public void setData(string allDataTags)
Set the data XML fragment containing all the XML elements tags to send

Parameters:
allDataTags - : the string to be inserted in the "data" tag

clearData

public void clearData()
Clear the data XML fragment ( elements tags )


showData

public void showData()
Show the data elements tags to send