com.jaspersoft.jasperserver.war.action
Class DefineInputControlsAction

java.lang.Object
  extended by org.springframework.webflow.action.AbstractAction
      extended by org.springframework.webflow.action.MultiAction
          extended by org.springframework.webflow.action.FormAction
              extended by com.jaspersoft.jasperserver.war.action.DefineInputControlsAction
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.webflow.execution.Action

public class DefineInputControlsAction
extends org.springframework.webflow.action.FormAction


Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.webflow.action.MultiAction
org.springframework.webflow.action.MultiAction.MethodResolver
 
Field Summary
 
Fields inherited from class org.springframework.webflow.action.FormAction
DEFAULT_FORM_OBJECT_NAME, VALIDATOR_METHOD_ATTRIBUTE
 
Fields inherited from class org.springframework.webflow.action.AbstractAction
logger
 
Constructor Summary
DefineInputControlsAction()
           
 
Method Summary
 org.springframework.webflow.execution.Event addVisibleColumn(org.springframework.webflow.execution.RequestContext context)
           
 java.lang.Object createFormObject(org.springframework.webflow.execution.RequestContext context)
           
static java.lang.String getFORM_OBJECT_KEY()
           
 java.lang.String getQueryReferenceOutpuAttrName()
           
 java.lang.String getQueryReferenceReqAttrName()
           
 RepositoryService getRepository()
           
 org.springframework.webflow.execution.Event handleDataTypeControl(org.springframework.webflow.execution.RequestContext context)
          Handles user's selection at the DataType control form
 org.springframework.webflow.execution.Event handleLovControl(org.springframework.webflow.execution.RequestContext context)
          Handles user's selection at the List of values control form
 org.springframework.webflow.execution.Event initControlDefinition(org.springframework.webflow.execution.RequestContext context)
          Sets up the objects required by the flow and initilises to any default values that we want
 org.springframework.webflow.execution.Event prepareForControlType(org.springframework.webflow.execution.RequestContext context)
          Gets a list of exisiting control types for the type selected by the user
 org.springframework.webflow.execution.Event prepareQuery(org.springframework.webflow.execution.RequestContext context)
           
 org.springframework.webflow.execution.Event removeVisibleColumn(org.springframework.webflow.execution.RequestContext context)
           
 org.springframework.webflow.execution.Event saveInputControl(org.springframework.webflow.execution.RequestContext context)
           
 org.springframework.webflow.execution.Event setQueryReference(org.springframework.webflow.execution.RequestContext context)
           
 void setQueryReferenceOutpuAttrName(java.lang.String queryReferenceOutpuAttrName)
           
 void setQueryReferenceReqAttrName(java.lang.String queryReferenceReqAttrName)
           
 void setRepository(RepositoryService repository)
           
 
Methods inherited from class org.springframework.webflow.action.FormAction
bind, bindAndValidate, createBinder, doBind, doValidate, getFormErrors, getFormErrorsScope, getFormObject, getFormObjectAccessor, getFormObjectClass, getFormObjectName, getFormObjectScope, getMessageCodesResolver, getPropertyEditorRegistrar, getValidateMethodInvoker, getValidator, initAction, initBinder, registerPropertyEditors, registerPropertyEditors, resetForm, setFormErrorsScope, setFormObjectClass, setFormObjectName, setFormObjectScope, setMessageCodesResolver, setPropertyEditorRegistrar, setupForm, setValidator, validate, validationEnabled
 
Methods inherited from class org.springframework.webflow.action.MultiAction
doExecute, getMethodResolver, setMethodResolver, setTarget
 
Methods inherited from class org.springframework.webflow.action.AbstractAction
afterPropertiesSet, doPostExecute, doPreExecute, error, error, execute, getActionNameForLogging, getEventFactorySupport, no, result, result, result, result, success, success, yes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
 

Constructor Detail

DefineInputControlsAction

public DefineInputControlsAction()
Method Detail

getRepository

public RepositoryService getRepository()

setRepository

public void setRepository(RepositoryService repository)

initControlDefinition

public org.springframework.webflow.execution.Event initControlDefinition(org.springframework.webflow.execution.RequestContext context)
                                                                  throws java.lang.Exception
Sets up the objects required by the flow and initilises to any default values that we want

Parameters:
context -
Returns:
Throws:
java.lang.Exception

prepareForControlType

public org.springframework.webflow.execution.Event prepareForControlType(org.springframework.webflow.execution.RequestContext context)
                                                                  throws java.lang.Exception
Gets a list of exisiting control types for the type selected by the user

Parameters:
context -
Returns:
Throws:
java.lang.Exception

handleDataTypeControl

public org.springframework.webflow.execution.Event handleDataTypeControl(org.springframework.webflow.execution.RequestContext context)
                                                                  throws java.lang.Exception
Handles user's selection at the DataType control form

Parameters:
context -
Returns:
Throws:
java.lang.Exception

handleLovControl

public org.springframework.webflow.execution.Event handleLovControl(org.springframework.webflow.execution.RequestContext context)
                                                             throws java.lang.Exception
Handles user's selection at the List of values control form

Parameters:
context -
Returns:
Throws:
java.lang.Exception

saveInputControl

public org.springframework.webflow.execution.Event saveInputControl(org.springframework.webflow.execution.RequestContext context)
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

createFormObject

public java.lang.Object createFormObject(org.springframework.webflow.execution.RequestContext context)
Overrides:
createFormObject in class org.springframework.webflow.action.FormAction

addVisibleColumn

public org.springframework.webflow.execution.Event addVisibleColumn(org.springframework.webflow.execution.RequestContext context)
                                                             throws java.lang.Exception
Throws:
java.lang.Exception

removeVisibleColumn

public org.springframework.webflow.execution.Event removeVisibleColumn(org.springframework.webflow.execution.RequestContext context)
                                                                throws java.lang.Exception
Throws:
java.lang.Exception

getFORM_OBJECT_KEY

public static java.lang.String getFORM_OBJECT_KEY()

prepareQuery

public org.springframework.webflow.execution.Event prepareQuery(org.springframework.webflow.execution.RequestContext context)
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

setQueryReference

public org.springframework.webflow.execution.Event setQueryReference(org.springframework.webflow.execution.RequestContext context)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

getQueryReferenceReqAttrName

public java.lang.String getQueryReferenceReqAttrName()
Returns:
Returns the queryReferenceReqAttrName.

setQueryReferenceReqAttrName

public void setQueryReferenceReqAttrName(java.lang.String queryReferenceReqAttrName)
Parameters:
queryReferenceReqAttrName - The queryReferenceReqAttrName to set.

getQueryReferenceOutpuAttrName

public java.lang.String getQueryReferenceOutpuAttrName()
Returns:
Returns the queryReferenceOutpuAttrName.

setQueryReferenceOutpuAttrName

public void setQueryReferenceOutpuAttrName(java.lang.String queryReferenceOutpuAttrName)
Parameters:
queryReferenceOutpuAttrName - The queryReferenceOutpuAttrName to set.


Copyright © 2007. All Rights Reserved.