net.sf.xbus.admin.html
Class JournalBean

java.lang.Object
  extended by net.sf.xbus.admin.html.JournalBean

public class JournalBean
extends java.lang.Object

Depending on the obtained parameters from the SelectPage the JournalBean supplies the JournalPage with the results from data base in the form of the table. This class contains instance from the ReadJournalclasse.


Constructor Summary
JournalBean()
           
 
Method Summary
 java.lang.String getCollumnsAsTableRows()
          getCollumnsAsTableRows() composes String with the names of the collumns.
 java.lang.String getDataAsTableRows()
          getDataAsTableRows() invokes the static method ReadJournal.readSelected(HashMap, String, String)and returns all selected data int the Html tages as String.
 java.lang.String getDetailsAsTable()
          Depending on the obtained parameters, getDetailsAsTable() composes String with the request/response/error message or with the detail liste.
 java.lang.String getJournalAsTableRows(ReadJournal journal, int index)
          getJournalAsTableRows(ReadJournal, int) composes String with the values from the data base.
 void setDetails(java.lang.String newDetails)
          Allows you to set the property details
 void setFunction(java.lang.String newFunction)
          Allows you to set the property function and puts the selected values into the selectionMap
 void setJournIndex(java.lang.String newIndex)
          Allows you to set the property journalIndex
 void setMessage(java.lang.String newMessage)
          Allows you to set the property message
 void setMessageId(java.lang.String newMessageId)
          Allows you to set the property message_id and puts the selected values into the selectionMap
 void setOrderBy(java.lang.String newOrderBy)
          Allows you to set the property orderBy
 void setRequest_message(java.lang.String newRequest_message)
          Allows you to set the property request_message and puts the selected values into the selectionMap
 void setRequestTimeMax(java.lang.String newRequestTimeMax)
          Allows you to set the property requestTimeMax and puts the selected values into the selectionMap
 void setRequestTimeMin(java.lang.String newRequestTimeMin)
          Allows you to set the property requestTimeMin and puts the selected values into the selectionMap
 void setResponse_message(java.lang.String newResponse_message)
          Allows you to set the property response_message and puts the selected values into the selectionMap
 void setReturncode(java.lang.String newReturncode)
          Allows you to set the property returncode and puts the selected values into the selectionMap
 void setSelectionMap(java.lang.String selection)
          Allows you to set the property selectionMap
 void setSorting(java.lang.String newSorting)
          * Allows you to set the property sorting
 void setSystem(java.lang.String newSystem)
          Allows you to set the property system and puts the selected values into the selectionMap
 void setType(java.lang.String newType)
          Allows you to set the property type and puts the selected values into the selectionMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalBean

public JournalBean()
Method Detail

setSelectionMap

public void setSelectionMap(java.lang.String selection)
Allows you to set the property selectionMap


setSorting

public void setSorting(java.lang.String newSorting)
* Allows you to set the property sorting


setOrderBy

public void setOrderBy(java.lang.String newOrderBy)
Allows you to set the property orderBy


setType

public void setType(java.lang.String newType)
Allows you to set the property type and puts the selected values into the selectionMap


setSystem

public void setSystem(java.lang.String newSystem)
Allows you to set the property system and puts the selected values into the selectionMap


setFunction

public void setFunction(java.lang.String newFunction)
Allows you to set the property function and puts the selected values into the selectionMap


setMessageId

public void setMessageId(java.lang.String newMessageId)
Allows you to set the property message_id and puts the selected values into the selectionMap


setRequest_message

public void setRequest_message(java.lang.String newRequest_message)
Allows you to set the property request_message and puts the selected values into the selectionMap


setResponse_message

public void setResponse_message(java.lang.String newResponse_message)
Allows you to set the property response_message and puts the selected values into the selectionMap


setReturncode

public void setReturncode(java.lang.String newReturncode)
Allows you to set the property returncode and puts the selected values into the selectionMap


setRequestTimeMin

public void setRequestTimeMin(java.lang.String newRequestTimeMin)
Allows you to set the property requestTimeMin and puts the selected values into the selectionMap


setRequestTimeMax

public void setRequestTimeMax(java.lang.String newRequestTimeMax)
Allows you to set the property requestTimeMax and puts the selected values into the selectionMap


setMessage

public void setMessage(java.lang.String newMessage)
Allows you to set the property message


setJournIndex

public void setJournIndex(java.lang.String newIndex)
Allows you to set the property journalIndex


setDetails

public void setDetails(java.lang.String newDetails)
Allows you to set the property details


getDataAsTableRows

public java.lang.String getDataAsTableRows()
                                    throws XException
getDataAsTableRows() invokes the static method ReadJournal.readSelected(HashMap, String, String)and returns all selected data int the Html tages as String.

Returns:
String with all selected data in the Html tages
Throws:
XException
See Also:
ReadJournal.readSelected(HashMap, String, String), DBConnection

getJournalAsTableRows

public java.lang.String getJournalAsTableRows(ReadJournal journal,
                                              int index)
getJournalAsTableRows(ReadJournal, int) composes String with the values from the data base.

Parameters:
journal - - ReadJournal object
index - - int
Returns:
String

getDetailsAsTable

public java.lang.String getDetailsAsTable()
Depending on the obtained parameters, getDetailsAsTable() composes String with the request/response/error message or with the detail liste.

Returns:
String

getCollumnsAsTableRows

public java.lang.String getCollumnsAsTableRows()
getCollumnsAsTableRows() composes String with the names of the collumns.

Returns:
String