zeta.handler.statistic
Class WorkstationsHandler
java.lang.Object
|
+--zeta.handler.statistic.AbstractHandler
|
+--zeta.handler.statistic.WorkstationsHandler
- All Implemented Interfaces:
- CodedList, GetHandler
- public class WorkstationsHandler
- extends AbstractHandler
- implements CodedList
Handles a GET request for the statistic 'workstations'.
|
Method Summary |
java.lang.String |
createPage(java.sql.Connection con)
Creates HTML page with the content of the statistic 'workstations'
where the user is not defined. |
java.lang.String |
decode(java.lang.String content,
int pos)
Decodes a specified column name. |
java.lang.String |
decodeValue(java.lang.String content,
int pos,
int end)
Decodes that value of the column. |
java.lang.String |
encode(java.lang.String column)
Encodes a specified column name. |
int |
getAlignment(java.lang.String content,
int pos)
Returns the alignment of the value of the decoded column. |
(package private) boolean |
isActive(java.lang.String content)
|
private int |
search(java.util.List workstations,
int workstationsRecordSize,
java.lang.Short serverId,
java.lang.Integer wsId)
|
| Methods inherited from class zeta.handler.statistic.AbstractHandler |
createImage, createPage, 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 |
WorkstationsHandler
public WorkstationsHandler(ZetaServlet servlet)
- Parameters:
servlet - servlet which owns this handler.
createPage
public java.lang.String createPage(java.sql.Connection con)
throws java.sql.SQLException,
javax.servlet.ServletException
- Creates HTML page with the content of the statistic 'workstations'
where the user is not defined.
- Specified by:
createPage in class AbstractHandler
- Parameters:
con - connection to the back-end database
- Returns:
- HTML page with the content of the statistic 'workstations'.
java.sql.SQLException
javax.servlet.ServletException
isActive
boolean isActive(java.lang.String content)
encode
public java.lang.String encode(java.lang.String column)
- Description copied from interface:
CodedList
- Encodes a specified column name.
- Specified by:
encode in interface CodedList
- Parameters:
column - column name
- Returns:
- encoded column name.
decode
public java.lang.String decode(java.lang.String content,
int pos)
- Description copied from interface:
CodedList
- Decodes a specified column name.
- Specified by:
decode in interface CodedList
- Parameters:
content - text with column namepos - encoded text starts at the specified position
- Returns:
- decoded column name.
decodeValue
public java.lang.String decodeValue(java.lang.String content,
int pos,
int end)
- Description copied from interface:
CodedList
- Decodes that value of the column.
- Specified by:
decodeValue in interface CodedList
- Parameters:
content - text of the columnpos - encoded text starts at the specified position
- Returns:
- value of the decoded column.
getAlignment
public int getAlignment(java.lang.String content,
int pos)
- Description copied from interface:
CodedList
- Returns the alignment of the value of the decoded column.
- Specified by:
getAlignment in interface CodedList
- Parameters:
content - text of the columnpos - encoded text starts at the specified position
- Returns:
- the alignment of the value of the decoded column.
search
private int search(java.util.List workstations,
int workstationsRecordSize,
java.lang.Short serverId,
java.lang.Integer wsId)
For further technical papers, see ZetaGrid Technical Documentation.
Copyright © 2001,2002 Sebastian Wedeniwski. All Rights Reserved.