|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.spray.loader.task.Action
org.norther.tammi.spray.loader.task.ActionEvent
org.norther.tammi.spray.template.step.FlowStepAction
org.norther.tammi.spray.template.step.NextStepAction
org.norther.tammi.spray.template.step.FormStepAction
org.norther.tammi.spray.db.step.RepositoryStepAction
org.norther.tammi.spray.db.step.DictionaryAction
public class DictionaryAction
A flow step action for maintaining a dictionary.
| Field Summary |
|---|
| Fields inherited from class org.norther.tammi.spray.db.step.RepositoryStepAction |
|---|
NULL_PK, ROOT_PK |
| Fields inherited from interface org.norther.tammi.spray.template.flow.StepFlowConstants |
|---|
ADAPTABLE_STATE, DISPOSABLE_STATE, EXPLICIT_STATE, FINISHED_STATE, HELP_PIPE_PROPERTY, QUALIFIED_STATE, READ_ONLY_STATE, REPOSITORY_PROPERTY, SELECTABLE_STATE |
| Constructor Summary | |
|---|---|
DictionaryAction()
Constructs a new flow step action. |
|
| Method Summary | |
|---|---|
protected Class |
defineDictionaryClass(String locale,
ServletRequest request,
ServletResponse response,
FilterChain chain)
Defines a new dictionary class for the specified locale. |
protected Persister |
getResourcePersister(ServletRequest request,
ServletResponse response,
FilterChain chain)
Gets the resource bundle specific persister. |
void |
prepare(ServletRequest request,
ServletResponse response,
FilterChain chain,
StepFlowContext context)
Prepares the locale variable. |
void |
submitFinishStep(ServletRequest request,
ServletResponse response,
FilterChain chain,
StepFlowContext context)
Finishes the step. |
void |
submitUpdateForm(ServletRequest request,
ServletResponse response,
FilterChain chain,
StepFlowContext context)
Updates the selected dictionaries. |
void |
submitUploadForm(ServletRequest request,
ServletResponse response,
FilterChain chain,
StepFlowContext context)
Uploads the specified dictionary. |
| Methods inherited from class org.norther.tammi.spray.template.step.FormStepAction |
|---|
disableNextStep, enableNextStep, isStepFinished, parseUploadedFile, parseUploadedFile, setStepFinished, submit, submitCancelStep, submitNextStep, submitPreviousStep, submitRenewForm, submitResetForm, update, update |
| Methods inherited from class org.norther.tammi.spray.template.step.NextStepAction |
|---|
submitBackStep |
| Methods inherited from class org.norther.tammi.spray.template.step.FlowStepAction |
|---|
checkPermission, checkPermission, done, execute, execute, finish, forward, getPermissibleRoles, getSignature, include, initialize, initialize, pushError, submit, submitOpenHelp |
| Methods inherited from class org.norther.tammi.spray.loader.task.ActionEvent |
|---|
getAction, getAction, getAction, invoke |
| Methods inherited from class org.norther.tammi.spray.loader.task.Action |
|---|
find, getFilter, getMBeanServer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DictionaryAction()
| Method Detail |
|---|
public void prepare(ServletRequest request,
ServletResponse response,
FilterChain chain,
StepFlowContext context)
throws Exception
prepare in class FlowStepActionrequest - the request.response - the response.chain - the filter chain.context - the flow context.
Exception - on errors.
public void submitUpdateForm(ServletRequest request,
ServletResponse response,
FilterChain chain,
StepFlowContext context)
throws Exception
submitUpdateForm in class FormStepActionrequest - the request.response - the response.chain - the filter chain.context - the flow context.
Exception - on errors.
public void submitUploadForm(ServletRequest request,
ServletResponse response,
FilterChain chain,
StepFlowContext context)
throws Exception
request - the request.response - the response.chain - the filter chain.context - the flow context.
Exception - on errors.
public void submitFinishStep(ServletRequest request,
ServletResponse response,
FilterChain chain,
StepFlowContext context)
throws Exception
FormStepAction
submitFinishStep in class FormStepActionrequest - the request.response - the response.chain - the filter chain.context - the flow context.
Exception - on errors.
protected Persister getResourcePersister(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws Exception
request - the request.response - the response.chain - the filter chain.
Exception - on errors.
protected Class defineDictionaryClass(String locale,
ServletRequest request,
ServletResponse response,
FilterChain chain)
throws Exception
locale - the locale string.request - the request.response - the response.chain - the filter chain.
Exception - on errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||