The answerCheck attribute indicates if the query results are correct.
C
calcBonus(double) -
Method in interface com.ibm.websphere.samples.ejbquery.employeefinderejb.Emp
calcBonus method calculates an employee's annual bonus given a positive profitFactor.
calcBonus(double) -
Method in class com.ibm.websphere.samples.ejbquery.employeefinderejb.EmpBean
calcBonus method calculates an employee's annual bonus given a positive profitFactor.
calcBonus(double) -
Method in interface com.ibm.websphere.samples.ejbquery.employeefinderejb.EmpLocal
This Local method returns the newly calculated bonus for a employee
for non managers this is calculated by multiplying
the yearsWorked, the profitFactor, and the profitUnit
for managers the previous result is further multiplied by
the mgrFactor and again by the profitFactor
This method looks up the com.ibm.websphere.ejbquery.QueryBean's local interface, executes its create(), executes its executeQuery(), and returns, if successful, an html table containing the query results, and if unsuccessful, fills error with a html text area error message
This method looks up the com.ibm.websphere.ejbquery.QueryBean's remote interface, executes its create(), executes its executeQuery(), and returns, if successful, an html table containing the query results, and if unsuccessful, fills error with a html text area error message
E
ejbActivate() -
Method in class com.ibm.websphere.samples.ejbquery.employeefinderejb.DeptBean
ejbActivate required callback method for lifecycle notification.
ejbActivate() -
Method in class com.ibm.websphere.samples.ejbquery.employeefinderejb.EmpBean
ejbActivate required callback method for lifecycle notification.
hashCode() -
Method in class com.ibm.websphere.samples.ejbquery.employeefinderejb.DeptKey
This method returns the hash code of a Primary Key.
hashCode() -
Method in class com.ibm.websphere.samples.ejbquery.employeefinderejb.EmpKey
This method returns the hash code of a Primary Key.
I
init() -
Method in class com.ibm.websphere.samples.ejbquery.ejbmediatorwar.EjbMediatorSample
The init method is used to retrieve the InitialContext for the application server namespace
and the UserTransaction from the application server namespace.
This method iterates through the passed in QueryLocalIterator formatting an html table structure returning, if successful, an html table containing the query results,
and if unsuccessful, an html text area error message
The parse method converts a select query String which may contain several select
statements separated by semicolons on one or more lines into an array of single select
statements.
This method separates query part of the input string from parameter string part, saves the query part as an object attribute, and turns the parameter string into an array of strings each containing a TypeName value pair which it returns.
This method iterates through the passed in QueryIterator formatting an html table structure returning, if successful, an html table containing the query results,
and if unsuccessful, an html text area error message
This method acts like main and processes the query attribute returning, if successful, an html table containing the query results, and if unsuccessful, an html text area error message.