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

Quick Search    Search Deep

com.RuntimeCollective.bboard.form
Class ComplexAttachmentMessageForm  view ComplexAttachmentMessageForm download ComplexAttachmentMessageForm.java

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended bycom.RuntimeCollective.bboard.form.ComplexMessageForm
          extended bycom.RuntimeCollective.bboard.form.ComplexAttachmentMessageForm
All Implemented Interfaces:
com.RuntimeCollective.webapps.form.BeanForm, java.io.Serializable
Direct Known Subclasses:
RequiredComplexAttachmentMessageForm

public class ComplexAttachmentMessageForm
extends ComplexMessageForm

A form for creating/editing discussion board message that supports attachments.
Note: This class replaces AttachmentMessageForm which should be considered depricated.

Version:
$Id: ComplexAttachmentMessageForm.java,v 1.5 2003/09/30 15:12:44 joe Exp $

Field Summary
protected  org.apache.struts.upload.FormFile attachment
          The attachment file.
 
Fields inherited from class com.RuntimeCollective.bboard.form.ComplexMessageForm
action, Flag, messageId, Text, topicId
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
ComplexAttachmentMessageForm()
           
 
Method Summary
 org.apache.struts.upload.FormFile getAttachment()
          Get the attachment file.
 com.RuntimeCollective.bboard.bean.Message populateBean(com.RuntimeCollective.bboard.bean.Message bean)
          Populate an AttachmentMessage bean from this form.
 void populateForm(com.RuntimeCollective.bboard.bean.Message bean)
          Populates this form from the bean
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset form variables.
 void setAttachment(org.apache.struts.upload.FormFile attachment)
          Set the attachment file.
 
Methods inherited from class com.RuntimeCollective.bboard.form.ComplexMessageForm
getFlag, getFormAction, getMessageId, getText, getTopicId, populateBean, populateForm, setFlag, setFormAction, setMessageId, setText, setTopicId, validate
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attachment

protected org.apache.struts.upload.FormFile attachment
The attachment file.

Constructor Detail

ComplexAttachmentMessageForm

public ComplexAttachmentMessageForm()
Method Detail

getAttachment

public org.apache.struts.upload.FormFile getAttachment()
Get the attachment file.


setAttachment

public void setAttachment(org.apache.struts.upload.FormFile attachment)
Set the attachment file.


reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Reset form variables.

Specified by:
reset in interface com.RuntimeCollective.webapps.form.BeanForm
Overrides:
reset in class ComplexMessageForm

populateForm

public void populateForm(com.RuntimeCollective.bboard.bean.Message bean)
Populates this form from the bean

Overrides:
populateForm in class ComplexMessageForm

populateBean

public com.RuntimeCollective.bboard.bean.Message populateBean(com.RuntimeCollective.bboard.bean.Message bean)
Populate an AttachmentMessage bean from this form.

Overrides:
populateBean in class ComplexMessageForm