zeta.handler.approve
Class ApproveMessages
java.lang.Object
|
+--zeta.handler.approve.ApproveBase
|
+--zeta.handler.approve.ApproveMessages
- public class ApproveMessages
- extends ApproveBase
Approve a change request to subscribe or unsubscribe for messages.
|
Method Summary |
java.lang.String |
approve(java.sql.Statement stmt,
java.lang.String value,
long timeMillis)
Returns a row name which will be need as an additional information in the approve process. |
java.lang.String |
getKey()
Returns the key name of the change request.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApproveMessages
public ApproveMessages(ZetaServlet servlet,
int userId,
java.lang.String user,
java.lang.String eMail)
- Parameters:
servlet - servlet which owns the approve handler.userId - id of the user where the data will be changed.user - name of the user.eMail - e-mail address of the user.
getKey
public java.lang.String getKey()
- Returns the key name of the change request.
A key name should contains only alpha characters.
- Specified by:
getKey in class ApproveBase
- Returns:
- the key name of the change request.
approve
public java.lang.String approve(java.sql.Statement stmt,
java.lang.String value,
long timeMillis)
throws java.sql.SQLException,
javax.servlet.ServletException
- Returns a row name which will be need as an additional information in the approve process.
- Specified by:
approve in class ApproveBase
- Parameters:
stmt - statement object's databasevalue - which will be changed.timeMillis - timestamp of the request.
- Returns:
- HTML text as information of the change.
java.sql.SQLException
javax.servlet.ServletException
For further technical papers, see ZetaGrid Technical Documentation.
Copyright © 2001,2002 Sebastian Wedeniwski. All Rights Reserved.