public class EmailTemplateAddUpdateCtrlCmdImpl extends ToolsControllerCommandImpl implements EmailTemplateAddUpdateCtrlCmd, EmailTemplateConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Copyright.
|
Constructor and Description |
---|
EmailTemplateAddUpdateCtrlCmdImpl() |
Modifier and Type | Method and Description |
---|---|
AccessVector | getResources()
Gets the resources that are accessed by this controller command.
|
boolean | isDuplicateName(java.lang.String name)
Checks whether the any template with this name exists in the database
|
void | performExecute()
Updates the database or inserts a new record in the database, based on the task type.
|
void | redirect()
Sets the response properties, which identifies the view to be shown to the user after completion of this command.
|
void | validateParameters()
Validates that the JSP page has in fact passed all the required parameters to create a new e-mail template.
|
public static final java.lang.String COPYRIGHT
public void validateParameters() throws ECException
public void performExecute() throws ECException
public void redirect() throws ECApplicationException
public boolean isDuplicateName(java.lang.String name) throws ECSystemException
public AccessVector getResources() throws ECException