|
ZetaGrid v1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--zeta.handler.statistic.AbstractHandler
|
+--zeta.handler.statistic.TeamMembersHandler
Handles a GET request for the statistic 'team members'.
| Nested Class Summary |
| Nested classes inherited from class zeta.handler.statistic.AbstractHandler |
AbstractHandler.InnerPageBuffer |
| Field Summary | |
private Table |
teamTable
Contains the complete top team statistic. |
| Fields inherited from class zeta.handler.statistic.AbstractHandler |
imgHeight, imgWidth, servlet |
| Constructor Summary | |
TeamMembersHandler(ZetaServlet servlet)
|
|
| Method Summary | |
java.lang.String |
createPage(java.sql.Connection con)
Creates HTML page with the content of the statistic 'team members' where the user is not defined. |
protected java.lang.String |
createPage(javax.servlet.http.HttpServletRequest req,
java.sql.Connection con)
Creates HTML page with the content of the statistic 'team members' where the user is defined. |
(package private) Table |
getTopTeamTable()
Returns the complete top team statistic. |
private void |
inputTeam(java.lang.String team,
java.lang.StringBuffer buffer)
Generates an HTTP form to get the user name. |
private void |
insertTeam(Table teamTable,
java.lang.String teamname,
int age,
int workUnits,
int members,
int computersUsed,
long zeros)
Inserts a new row with the specified data in the team table. |
| Methods inherited from class zeta.handler.statistic.AbstractHandler |
createImage, doGet, getBufferedPage, getImageHeight, getImageWidth, getInnerPageBuffer, getInnerPageExpiredDiffTime, getPageExpiredDiffTime, imageUpdateCompleted, isImageExpired, isInnerPageExpired, isPageExpired, pageUpdateCompleted |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private Table teamTable
| Constructor Detail |
public TeamMembersHandler(ZetaServlet servlet)
servlet - servlet which owns this handler.| Method Detail |
Table getTopTeamTable()
public java.lang.String createPage(java.sql.Connection con)
throws java.sql.SQLException,
javax.servlet.ServletException
createPage in class AbstractHandlercon - connection to the back-end database
java.sql.SQLException
javax.servlet.ServletException
protected java.lang.String createPage(javax.servlet.http.HttpServletRequest req,
java.sql.Connection con)
throws java.sql.SQLException,
javax.servlet.ServletException
createPage in class AbstractHandlerreq - GET requestcon - connection to the back-end database
java.sql.SQLException
javax.servlet.ServletException
private void inputTeam(java.lang.String team,
java.lang.StringBuffer buffer)
buffer - buffer for HTTP page
private void insertTeam(Table teamTable,
java.lang.String teamname,
int age,
int workUnits,
int members,
int computersUsed,
long zeros)
teamTable - team table which is ordered by the column zeros.teamname - team nameage - age of the teamworkUnits - number of computed work units by the teammembers - number of members in the teamcomputersUsed - number of used computers by the teamzeros - verified zeros by the team
|
ZetaGrid v1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||