public abstract class BaseCommand extends Object implements Command
Command interface.| Constructor and Description |
|---|
BaseCommand() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute(DSession session,
Map parameters,
PrintWriter printWriter)
Executes the command.
|
protected String |
getParameterString(Map parameters,
String name)
Reads the string value of a named parameter from a parameters map.
|
public abstract void execute(DSession session, Map parameters, PrintWriter printWriter) throws DNotesException, IOException
execute in interface Commandsession - domingo session for executionparameters - request parametersprintWriter - writer for the responseDNotesException - if the command cannot be executedIOException - if the response could not be created or completedCommand.execute(DSession, java.util.Map, java.io.PrintWriter)protected final String getParameterString(Map parameters, String name)
parameters - map of parametersname - parameter nameCopyright © 2005–2020. All rights reserved.