org.norther.tammi.spray.db.step
Class UpdateVariableAction

java.lang.Object
  extended by org.norther.tammi.spray.loader.task.Action
      extended by org.norther.tammi.spray.loader.task.ActionEvent
          extended by org.norther.tammi.spray.template.step.FlowStepAction
              extended by org.norther.tammi.spray.template.step.NextStepAction
                  extended by org.norther.tammi.spray.template.step.FormStepAction
                      extended by org.norther.tammi.spray.db.step.RepositoryStepAction
                          extended by org.norther.tammi.spray.db.step.SelectionStepAction
                              extended by org.norther.tammi.spray.db.step.UpdateVariableAction
All Implemented Interfaces:
Serializable, Task, StepFlowConstants

public class UpdateVariableAction
extends SelectionStepAction

A flow step action for updating a variable.

Author:
Ilkka Priha
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.norther.tammi.spray.db.step.SelectionStepAction
DELETE_ACTION, INSERT_ACTION, MARKED_NAME_PROPERTY, SELECTED_NAME_PROPERTY, UPDATE_ACTION
 
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
UpdateVariableAction()
          Constructs a new flow step action.
 
Method Summary
 void prepare(ServletRequest request, ServletResponse response, FilterChain chain, StepFlowContext context)
          Implements the default prepare method.
 void submitUpdateForm(ServletRequest request, ServletResponse response, FilterChain chain, StepFlowContext context)
          Updates the form and finishes the step.
 
Methods inherited from class org.norther.tammi.spray.db.step.SelectionStepAction
checkPermission, clearSelectedIdentity, deleteVariable, filterRoleNameEnumeration, getAccountIdentity, getImportedVariable, getImportedVariable, getImportedVariable, getImportedVariable, getMandatorySelection, getSelectedIdentities, getSelectedIdentity, getSelectedIndeces, getSelectedIndex, getSelectedVariable, getSelectionEnumeration, getSelectionEnumeration, getSelectionVariable, getSelectionVariable, getSelectionVariable, getSelectionVariable, getSelectionVariable, getSelectionVariable, getSelectionVariable, getSelectionVariable, insertVariable, queryAccountVariable, queryAllObjects, queryTreeObjects, sortObjects, submitDeleteVariable, submitInsertVariable, submitQueryVariable, submitSearchVariable, submitSelectAll, submitUnselectAll, submitUpdateVariable, submitVariable, updateVariable
 
Methods inherited from class org.norther.tammi.spray.db.step.RepositoryStepAction
add1NForeignReferences, add1NNullReferences, add1NObjectReferences, addAttributeValues, addToRelationMap, createVariable, createVariable, deleteVariable, getAttributeValue, getAttributeValues, getBeanRepositoryClient, getConnectionKey, getEndReference, getIntrospector, getKeyAttributeValue, getKeyAttributeValues, getLoader, getNextReference, getNextReference, getNextReferences, getPersister, getPersister, getPersister, getPostDependencies, getPreDependencies, getRepositoryClient, getResourceKey, getRootReference, getRootReferences, insertVariable, isNullPK, isRelatedTo, isRootPK, setAttributeValue, setAttributeValue, setKeyAttributeValue, setKeyAttributeValues, setMNForeignReferences, setMNObjectReferences, setPostDependencies, setPreDependencies, toClass, updateVariable
 
Methods inherited from class org.norther.tammi.spray.template.step.FormStepAction
disableNextStep, enableNextStep, isStepFinished, parseUploadedFile, parseUploadedFile, setStepFinished, submit, submitCancelStep, submitFinishStep, 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

UpdateVariableAction

public UpdateVariableAction()
Constructs a new flow step action.

Method Detail

prepare

public void prepare(ServletRequest request,
                    ServletResponse response,
                    FilterChain chain,
                    StepFlowContext context)
             throws Exception
Description copied from class: FlowStepAction
Implements the default prepare method. The default implementation does nothing.

Overrides:
prepare in class FlowStepAction
Parameters:
request - the request.
response - the response.
chain - the filter chain.
context - the flow context.
Throws:
Exception - on errors.

submitUpdateForm

public void submitUpdateForm(ServletRequest request,
                             ServletResponse response,
                             FilterChain chain,
                             StepFlowContext context)
                      throws Exception
Description copied from class: FormStepAction
Updates the form and finishes the step.

Overrides:
submitUpdateForm in class FormStepAction
Parameters:
request - the request.
response - the response.
chain - the filter chain.
context - the flow context.
Throws:
Exception - on errors.


Copyright © 2004 The Norther Organization. All rights reserved.