org.nst.pasientlink.authenticator.admin.command
Class UserCreateCommand
java.lang.Object
|
+--org.nst.pasientlink.authenticator.admin.command.Command
|
+--org.nst.pasientlink.authenticator.admin.command.UserCreateCommand
- public class UserCreateCommand
- extends Command
Constructor Summary |
UserCreateCommand(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
Method Summary |
java.lang.String |
exec(org.apache.velocity.context.Context ctx)
Implemented by classes that extends this class |
protected java.lang.String |
getNextPassword()
getNextPassword returns a new generated password |
private void |
putUserParameters(org.apache.velocity.context.Context ctx)
putUserParameters puts common user parameters into the context. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
TEMPLATE_NAME
public static final java.lang.String TEMPLATE_NAME
TEMPLATE_NAME_RECEIPT
public static final java.lang.String TEMPLATE_NAME_RECEIPT
PARAMETER_OPTION
private static final java.lang.String PARAMETER_OPTION
PARAMETER_OPTION_NEW_PASSWORD
private static final java.lang.String PARAMETER_OPTION_NEW_PASSWORD
PARAMETER_OPTION_CREATE_USER
private static final java.lang.String PARAMETER_OPTION_CREATE_USER
PARAMETER_USERID
private static final java.lang.String PARAMETER_USERID
PARAMETER_PASSWORD
private static final java.lang.String PARAMETER_PASSWORD
PARAMETER_DESCRIPTION
private static final java.lang.String PARAMETER_DESCRIPTION
PARAMETER_GSMSUBSCRIBER_ID
private static final java.lang.String PARAMETER_GSMSUBSCRIBER_ID
RETURN_VALUE_USER_EXISTS
private static final java.lang.String RETURN_VALUE_USER_EXISTS
RETURN_VALUE_ERROR_CREATING_USER
private static final java.lang.String RETURN_VALUE_ERROR_CREATING_USER
RETURN_VALUE_MISSING_PARAMETERS
private static final java.lang.String RETURN_VALUE_MISSING_PARAMETERS
myOption
java.lang.String myOption
myUserID
java.lang.String myUserID
myPassword
java.lang.String myPassword
myDescription
java.lang.String myDescription
myGSMSubscriberID
java.lang.String myGSMSubscriberID
UserCreateCommand
public UserCreateCommand(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
exec
public java.lang.String exec(org.apache.velocity.context.Context ctx)
- Description copied from class:
Command
- Implemented by classes that extends this class
- Overrides:
exec
in class Command
- Following copied from class:
org.nst.pasientlink.authenticator.admin.command.Command
- Parameters:
the
- context- Returns:
- the name of the template to execute
getNextPassword
protected java.lang.String getNextPassword()
- getNextPassword returns a new generated password
- Returns:
- String containing new generated password
putUserParameters
private void putUserParameters(org.apache.velocity.context.Context ctx)
- putUserParameters puts common user parameters into the context. The
instance variables should be populated before this method is called
Copyright © 2002 Norwegian Centre for Telemedicine. All Rights Reserved.