org.figure8.join.control.form
Class MessageForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.figure8.join.control.JoinForm
          extended by org.figure8.join.control.form.MessageForm
All Implemented Interfaces:
java.io.Serializable

public class MessageForm
extends JoinForm

Form object used for manipulating Messages into Join application.

Version:
$Revision: 1.1 $
Author:
Laurent Broudoux
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.figure8.join.control.JoinForm
errors
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
MessageForm()
          Creates a new MessageForm
 
Method Summary
 void doValidate(java.lang.String operation, org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validation of the form attributes.
 java.lang.String getContent()
           
 java.util.Date getExpiryDate()
           
 java.lang.String getExpiryDateStr()
           
 java.lang.String getLink()
           
 java.util.Date getPublicationDate()
           
 java.lang.String getPublicationDateStr()
           
 java.lang.String getReleaseName()
           
 java.lang.String getTitle()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset form attributes.
 void setContent(java.lang.String content)
           
 void setExpiryDate(java.util.Date expiryDate)
           
 void setExpiryDateStr(java.lang.String expiryDateStr)
           
 void setLink(java.lang.String link)
           
 void setPublicationDate(java.util.Date publicationDate)
           
 void setPublicationDateStr(java.lang.String publicationDateStr)
           
 void setReleaseName(java.lang.String releaseName)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class org.figure8.join.control.JoinForm
addActionError, addActionError, addActionError, getGuiMessageResources, getId, getIdStr, getMessageResources, setId, setIdStr, validate, validateEntityObjectId
 
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
 

Constructor Detail

MessageForm

public MessageForm()
Creates a new MessageForm

Method Detail

getTitle

public java.lang.String getTitle()
Returns:
This message title

setTitle

public void setTitle(java.lang.String title)
Parameters:
title - This message title

getContent

public java.lang.String getContent()
Returns:
Content of message

setContent

public void setContent(java.lang.String content)
Parameters:
content - Content of this message

getLink

public java.lang.String getLink()
Returns:
Link reference from this message

setLink

public void setLink(java.lang.String link)
Parameters:
link - Link reference from this message

getPublicationDate

public java.util.Date getPublicationDate()
Returns:
The publication date of this message

setPublicationDate

public void setPublicationDate(java.util.Date publicationDate)
Parameters:
publicationDate - The publication date of this message

getExpiryDate

public java.util.Date getExpiryDate()
Returns:
The date of publication end for this message

setExpiryDate

public void setExpiryDate(java.util.Date expiryDate)
Parameters:
expiryDate - The date of publication end for this message

getReleaseName

public java.lang.String getReleaseName()
Returns:
The name of the release this message is attached to

setReleaseName

public void setReleaseName(java.lang.String releaseName)
Parameters:
releaseName - The name of release this message is attached to

getPublicationDateStr

public java.lang.String getPublicationDateStr()
Returns:
Publication date for this message (should be a date)

setPublicationDateStr

public void setPublicationDateStr(java.lang.String publicationDateStr)
Parameters:
publicationDateStr - Publication date for this message (should be a date)

getExpiryDateStr

public java.lang.String getExpiryDateStr()
Returns:
Date of publication end for this message (should be a date)

setExpiryDateStr

public void setExpiryDateStr(java.lang.String expiryDateStr)
Parameters:
expiryDateStr - Date of publication end for this message (should be a date)

doValidate

public void doValidate(java.lang.String operation,
                       org.apache.struts.action.ActionMapping mapping,
                       javax.servlet.http.HttpServletRequest request)
Validation of the form attributes.

Specified by:
doValidate in class JoinForm
Parameters:
operation - String representing the operation to invoke on Action
mapping - Mapping between forwards name and path for this action
request - The servlet container request wrapper

reset

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

Overrides:
reset in class JoinForm
Parameters:
mapping - Mapping between forwards name and path for this action
request - The servlet container request wrapper


Copyright © 2005-2008 Join. All Rights Reserved.