Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.RuntimeCollective.webapps.form
Interface BeanForm  view BeanForm download BeanForm.java

All Known Implementing Classes:
AbstractEntityBeanForm, AddressForm, DataTypeForm, SelectForm, TrackedUserForm, UserForm, UserGroupForm, UserGroupTypeForm

public interface BeanForm

A form that provides a `front end' for editing an EntityBean.

Version:
$Id: BeanForm.java,v 1.4 2003/09/30 15:13:13 joe Exp $

Method Summary
 java.lang.String getFormAction()
          Get the action that this form is being used for, such as "register" a new bean, or "delete" or "edit" an existing one.
 com.RuntimeCollective.webapps.bean.EntityBean populateBean(com.RuntimeCollective.webapps.bean.EntityBean bean)
          Populate this bean from an ActionForm.
 void populateForm(com.RuntimeCollective.webapps.bean.EntityBean bean)
          Populate this form from a bean.
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to default values.
 void setFormAction(java.lang.String formAction)
          Set the action that this form is being used for, such as "register" a new bean, or "delete" or "edit" an existing one.
 

Method Detail

populateForm

public void populateForm(com.RuntimeCollective.webapps.bean.EntityBean bean)
Populate this form from a bean.


populateBean

public com.RuntimeCollective.webapps.bean.EntityBean populateBean(com.RuntimeCollective.webapps.bean.EntityBean bean)
                                                           throws java.sql.SQLException
Populate this bean from an ActionForm.


getFormAction

public java.lang.String getFormAction()
Get the action that this form is being used for, such as "register" a new bean, or "delete" or "edit" an existing one.


setFormAction

public void setFormAction(java.lang.String formAction)
Set the action that this form is being used for, such as "register" a new bean, or "delete" or "edit" an existing one.


reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Reset all properties to default values.