com.mf.roundhouse.core.action
Class EjbEditAction

java.lang.Object
  extended byAction
      extended bycom.mf.roundhouse.core.action.RoundhouseAction
          extended bycom.mf.roundhouse.core.action.EjbEditAction

public abstract class EjbEditAction
extends RoundhouseAction

See Also:
Serialized Form

Field Summary
static java.lang.String DELETE_ID
          Deprecated.  
 
Constructor Summary
EjbEditAction()
          Deprecated.  
 
Method Summary
abstract  void additionalValidation(RoundhouseForm aForm, ActionErrors errors)
          Deprecated. Gives developers the opportunity to apply additional form validation before accepting the input.
abstract  java.lang.String createByValue(java.lang.Object valueObject)
          Deprecated. Implementors should add code for creating and new Entity Bean from the given value object.
abstract  void defineSupportBeans(HttpServletRequest request, RoundhouseForm form)
          Deprecated.  
abstract  void deleteByValue(java.lang.Object valueObject)
          Deprecated. Implementors should call remove on the EntityBean matching the value object.
abstract  java.lang.Object findValueForId(java.lang.String id)
          Deprecated. Should return the value object corresponding with the given id.
abstract  java.lang.String getDataEntryForward()
          Deprecated. Returns the name of the forward used to render the actual data entry form.
abstract  java.lang.String getListForward()
          Deprecated. Returns the name of a forward corresponding to the list page for this object.
abstract  java.lang.Object newValueObject()
          Deprecated. Instantiate and return a new value object.
abstract  void populateForm(RoundhouseForm form, java.lang.Object valueObject)
          Deprecated. Copies value object properties into the given form.
abstract  void populateValueObject(RoundhouseForm form, java.lang.Object valueObject)
          Deprecated. Copies form properties to the given value object.
protected  ActionForward roundhouseProcess(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
          Deprecated.  
abstract  void updateByValue(java.lang.Object valueObject)
          Deprecated. Implementors should call the value object setter for the given bean here.
 
Methods inherited from class com.mf.roundhouse.core.action.RoundhouseAction
asIdentifier, asIdString, execute, getPermission, getSessionCollaborator, handleAccessError, isAuthorized, nullify, preProcess, preProcessAuthorized, preProcessValidateUserSetup, setLastActionCalled, setSavedChangesMessage, skipValidation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELETE_ID

public static final java.lang.String DELETE_ID
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

EjbEditAction

public EjbEditAction()
Deprecated. 
Method Detail

roundhouseProcess

protected ActionForward roundhouseProcess(ActionMapping mapping,
                                          ActionForm form,
                                          HttpServletRequest request,
                                          HttpServletResponse response)
                                   throws java.lang.Exception
Deprecated. 
Specified by:
roundhouseProcess in class RoundhouseAction
Throws:
java.lang.Exception

additionalValidation

public abstract void additionalValidation(RoundhouseForm aForm,
                                          ActionErrors errors)
                                   throws java.lang.Exception
Deprecated. 
Gives developers the opportunity to apply additional form validation before accepting the input. Simple apply your logic and add your errors to the errors collection.

Parameters:
aForm -
errors -
Throws:
java.lang.Exception

getListForward

public abstract java.lang.String getListForward()
Deprecated. 
Returns the name of a forward corresponding to the list page for this object. In practice, the struts-config file should be configured such that the list forward actually forwards to the corresponding list action as opposed to the JSP.

Returns:

getDataEntryForward

public abstract java.lang.String getDataEntryForward()
Deprecated. 
Returns the name of the forward used to render the actual data entry form.

Returns:

newValueObject

public abstract java.lang.Object newValueObject()
Deprecated. 
Instantiate and return a new value object.

Returns:

createByValue

public abstract java.lang.String createByValue(java.lang.Object valueObject)
                                        throws java.lang.Exception
Deprecated. 
Implementors should add code for creating and new Entity Bean from the given value object.

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

updateByValue

public abstract void updateByValue(java.lang.Object valueObject)
                            throws java.lang.Exception
Deprecated. 
Implementors should call the value object setter for the given bean here.

Parameters:
valueObject -
Throws:
java.lang.Exception

deleteByValue

public abstract void deleteByValue(java.lang.Object valueObject)
                            throws java.lang.Exception
Deprecated. 
Implementors should call remove on the EntityBean matching the value object.

Parameters:
valueObject -
Throws:
java.lang.Exception

findValueForId

public abstract java.lang.Object findValueForId(java.lang.String id)
                                         throws java.lang.Exception
Deprecated. 
Should return the value object corresponding with the given id.

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

populateForm

public abstract void populateForm(RoundhouseForm form,
                                  java.lang.Object valueObject)
                           throws java.lang.Exception
Deprecated. 
Copies value object properties into the given form.

Parameters:
form -
valueObject -
Throws:
java.lang.Exception

populateValueObject

public abstract void populateValueObject(RoundhouseForm form,
                                         java.lang.Object valueObject)
                                  throws java.lang.Exception
Deprecated. 
Copies form properties to the given value object.

Parameters:
form -
valueObject -
Throws:
java.lang.Exception

defineSupportBeans

public abstract void defineSupportBeans(HttpServletRequest request,
                                        RoundhouseForm form)
                                 throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception


Copyright © 2004 Media Fortress, LLC. Licensed for commercial use under the Apache 2.0 License.