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

java.lang.Object
  extended by org.norther.tammi.spray.loader.task.Action
      extended by org.norther.tammi.spray.loader.task.Submit
          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.ElementStepAction
                                  extended by org.norther.tammi.spray.db.step.MetaElementAction
                                      extended by org.norther.tammi.spray.db.step.MetaDataAction
All Implemented Interfaces:
Serializable, Task
Direct Known Subclasses:
DesktopDataAction, MetaDataAction.Copy, MetaDataAction.Desktop, MetaDataAction.Found, MetaDataAction.Move, MetaDataAction.Own, MetaDataAction.Search, MetaDataAction.Shared

public abstract class MetaDataAction
extends MetaElementAction

A flow step action for managing meta data selected by the data identity defined in the previous step.

Version:
$Id: MetaDataAction.java,v 1.17 2010-06-02 15:52:07 cvsimp Exp $
Author:
Ilkka Priha
See Also:
Serialized Form

Nested Class Summary
static class MetaDataAction.Copy
          A copy data action.
static class MetaDataAction.Delete
          A delete data action.
static class MetaDataAction.Desktop
          A select desktop data action.
static class MetaDataAction.Found
          A select found data action.
static class MetaDataAction.Insert
          An insert data action.
static class MetaDataAction.Move
          A move data action.
static class MetaDataAction.Own
          A select own data action.
static class MetaDataAction.Search
          A search data action.
static class MetaDataAction.Shared
          A select shared data action.
static class MetaDataAction.Update
          An update data action.
static class MetaDataAction.View
          A view data action.
 
Nested classes/interfaces inherited from interface org.norther.tammi.spray.loader.task.Task
Task.Control
 
Field Summary
 
Fields inherited from class org.norther.tammi.spray.db.step.ElementStepAction
META_IDENTITY_PARAMETER, NEW_METADATA_ATTRIBUTES
 
Fields inherited from class org.norther.tammi.spray.loader.task.Submit
EXECUTE_METHOD, SUBMIT_PREFIX
 
Constructor Summary
MetaDataAction()
          Constructs a new flow step action.
 
Method Summary
 void prepareDesktopMetaData(Persister persister, ServletRequest request, ServletResponse response, FilterChain chain, StepFlowContext context)
          Prepares desktop meta data applying the specified persister.
 void prepareDesktopMetaData(ServletRequest request, ServletResponse response, FilterChain chain, StepFlowContext context)
          Prepares desktop meta data.
 void prepareFoundMetaData(ServletRequest request, ServletResponse response, FilterChain chain, StepFlowContext context)
          Prepares found meta data.
 void prepareOwnMetaData(ServletRequest request, ServletResponse response, FilterChain chain, StepFlowContext context)
          Prepares own meta data.
 void prepareSharedMetaData(ServletRequest request, ServletResponse response, FilterChain chain, StepFlowContext context)
          Prepares shared meta data.
 
Methods inherited from class org.norther.tammi.spray.db.step.ElementStepAction
checkPermission, createPermissionCriteria, createUserPermissionCriteria, getGroupId, getImportedElement, getMetaRecordType, getMetaSelectionVariable, getMetaSelectionVariable, getMetaSelectionVariable, getSelectedFormPrefix, getSelectedIdentity, isGroupMember, isGroupOwner, prepareMetaElement, queryAllMemberGroups, queryChildMemberGroups, queryMetaElement, queryParentMemberGroups
 
Methods inherited from class org.norther.tammi.spray.db.step.SelectionStepAction
buildSearchVariable, clearSelectedIdentity, deleteVariables, digest, fillQueryCriteria, fillSelectionVariable, fillSelectionVariable, filterRoleEnumeration, getAccountIdentity, getImportedVariable, getImportedVariables, getMandatorySelection, getSearchVariable, getSelectedIdentities, getSelectedIdentity, getSelectedIndex, getSelectedIndices, getSelectedVariable, getSelectionEnumeration, getSelectionEnumeration, getSelectionVariable, getSelectionVariable, getSelectionVariable, getStepClassName, getStepFieldNames, getStepMetaNames, getStepPermission, getUserId, insertVariables, queryAccountVariable, queryAllVariables, queryAllVariables, queryTreeVariables, submitDeleteVariable, submitDeleteVariables, submitDeleteVariables, submitInsertVariable, submitInsertVariables, submitInsertVariables, submitQueryVariable, submitSearchVariable, submitSelectAll, submitUnselectAll, submitUpdateVariable, submitUpdateVariables, submitUpdateVariables, updateVariables
 
Methods inherited from class org.norther.tammi.spray.db.step.RepositoryStepAction
add1NForeignReferences, add1NNullReferences, add1NObjectReferences, addAttributeValues, addToRelationMap, createVariable, createVariable, deleteReferences, deleteVariable, deleteVariable, getAttributeInfo, getAttributeValues, getDesktopData, getIntrospector, getLoader, getMetaDesktop, getMetaFolder, getPersister, getReferenceValue, getRepositoryFilter, getRootFolder, getRootReferences, getVariableInfo, insertReferences, insertVariable, insertVariable, isRelatedTo, orderObjects, queryAllObjects, queryAllObjects, queryTreeObjects, setMNForeignReferences, setMNObjectReferences, sortObjects, storeVariable, storeVariable, toClass, updateReferences, updateVariable, updateVariable
 
Methods inherited from class org.norther.tammi.spray.template.step.FormStepAction
clearParameters, loadPropertyFile, loadUploadedFile, submit, submitCancelStep, submitFinishStep, submitInsertForm, submitNextStep, submitPreviousStep, submitRenewForm, submitResetForm, submitReuseForm, submitUpdateForm, update, update, update, update
 
Methods inherited from class org.norther.tammi.spray.template.step.NextStepAction
isNextStepEnabled, setNextStepEnabled, submitBackStep
 
Methods inherited from class org.norther.tammi.spray.template.step.FlowStepAction
checkPermission, checkPermission, checkPermission, construct, execute, execute, finish, forward, getPermissibleRoles, getSignature, include, initialize, initialize, prepare, submit, submitOpenHelp
 
Methods inherited from class org.norther.tammi.spray.loader.task.Submit
getAction, getAction, invoke
 
Methods inherited from class org.norther.tammi.spray.loader.task.Action
find, find, getFilter, getMBeanServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaDataAction

public MetaDataAction()
Constructs a new flow step action.

Method Detail

prepareDesktopMetaData

public void prepareDesktopMetaData(ServletRequest request,
                                   ServletResponse response,
                                   FilterChain chain,
                                   StepFlowContext context)
                            throws Exception
Prepares desktop meta data.

Parameters:
request - the request.
response - the response.
chain - the filter chain.
context - the flow context.
Throws:
Exception - on errors.

prepareDesktopMetaData

public void prepareDesktopMetaData(Persister persister,
                                   ServletRequest request,
                                   ServletResponse response,
                                   FilterChain chain,
                                   StepFlowContext context)
                            throws Exception
Prepares desktop meta data applying the specified persister.

Parameters:
persister - the persister.
request - the request.
response - the response.
chain - the filter chain.
context - the flow context.
Throws:
Exception - on errors.

prepareOwnMetaData

public void prepareOwnMetaData(ServletRequest request,
                               ServletResponse response,
                               FilterChain chain,
                               StepFlowContext context)
                        throws Exception
Prepares own meta data.

Parameters:
request - the request.
response - the response.
chain - the filter chain.
context - the flow context.
Throws:
Exception - on errors.

prepareSharedMetaData

public void prepareSharedMetaData(ServletRequest request,
                                  ServletResponse response,
                                  FilterChain chain,
                                  StepFlowContext context)
                           throws Exception
Prepares shared meta data.

Parameters:
request - the request.
response - the response.
chain - the filter chain.
context - the flow context.
Throws:
Exception - on errors.

prepareFoundMetaData

public void prepareFoundMetaData(ServletRequest request,
                                 ServletResponse response,
                                 FilterChain chain,
                                 StepFlowContext context)
                          throws Exception
Prepares found meta data.

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.