com.dotmarketing.portlets.communications.struts
Class CommunicationsForm

java.lang.Object
  extended by ValidatorForm
      extended by com.dotmarketing.portlets.communications.struts.CommunicationsForm

public class CommunicationsForm
extends ValidatorForm

Communications Struts forms

Author:
Oswaldo

Constructor Summary
CommunicationsForm()
           
 
Method Summary
 java.lang.String getCommunicationType()
          Get the type of communication email or offline
 java.lang.String getEmailSubject()
          Get the email subject of the communication only apply to email communication
 java.lang.String getExternalCommunicationIdentifier()
          Get the External Communication Identifier of the communication
 java.lang.String getFromEmail()
          Get the email of the user that create the communication only apply to email communication
 java.lang.String getFromName()
          Get the name of the user that create the communication only apply to email communication
 long getHtmlPage()
          Get the html inode of the email communication
 long getIdentifier()
          Gets the COmmunication Identifier
 long getInode()
          Gets the Communication inode
 java.util.Date getModDate()
          Get the modification date of the communication
 java.lang.String getModifiedBy()
          Get the userId of the user that modify the communication
 java.lang.String getSelectedhtmlPage()
          Gets the htmlPAge title
 java.lang.String getTextMessage()
          Get the email text Message of the communication
 java.lang.String getTitle()
          Get the communication title
 long getTrackBackLinkInode()
          Get the page inode link of the offline communication
 java.lang.String getType()
          Get the type of communication email or offline
 java.lang.String getWebModDate()
          Returns the webCompletedDate.
 void setCommunicationType(java.lang.String communicationType)
          Set the communication type
 void setEmailSubject(java.lang.String emailSubject)
          Set the email subject of the communication only apply to email communication
 void setExternalCommunicationIdentifier(java.lang.String externalCommunicationIdentifier)
          Set the External Communication Identifier
 void setFromEmail(java.lang.String fromEmail)
          Set the email of the user that create the comunication only apply to email communication
 void setFromName(java.lang.String fromName)
          Set the name of the user that create the communication only apply to email communication
 void setHtmlPage(long htmlPageInode)
          Set the email html page inode
 void setIdentifier(long identifier)
          Set the Communication identifier
 void setInode(long inode)
          Set the communication inode
 void setModDate(java.util.Date modDate)
          Set the communication modification date
 void setModifiedBy(java.lang.String modifiedBy)
          Set the userId of the user that modify the communication
 void setSelectedhtmlPage(java.lang.String selectedHtmlPage)
          Set the htmlPage selected
 void setTextMessage(java.lang.String textMessage)
          Set the email text message of the communication
 void setTitle(java.lang.String title)
          Set the communication title
 void setTrackBackLinkInode(long trackBackLinkInode)
          Set the inode of the offline communication
 void setType(java.lang.String type)
          Set the communication type
 void setWebModDate(java.lang.String webModDate)
          Sets the webCompletedDate.
 ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommunicationsForm

public CommunicationsForm()
Method Detail

getIdentifier

public long getIdentifier()
Gets the COmmunication Identifier

Returns:
long

setIdentifier

public void setIdentifier(long identifier)
Set the Communication identifier

Parameters:
identifier -

getInode

public long getInode()
Gets the Communication inode

Returns:
long

setInode

public void setInode(long inode)
Set the communication inode

Parameters:
inode -

getModDate

public java.util.Date getModDate()
Get the modification date of the communication

Returns:
java.util.Date

setModDate

public void setModDate(java.util.Date modDate)
Set the communication modification date

Parameters:
createDate -

getModifiedBy

public java.lang.String getModifiedBy()
Get the userId of the user that modify the communication

Returns:
String

setModifiedBy

public void setModifiedBy(java.lang.String modifiedBy)
Set the userId of the user that modify the communication

Parameters:
createdBy -

getEmailSubject

public java.lang.String getEmailSubject()
Get the email subject of the communication only apply to email communication

Returns:
String

setEmailSubject

public void setEmailSubject(java.lang.String emailSubject)
Set the email subject of the communication only apply to email communication

Parameters:
emailSubject -

getFromEmail

public java.lang.String getFromEmail()
Get the email of the user that create the communication only apply to email communication

Returns:
String

setFromEmail

public void setFromEmail(java.lang.String fromEmail)
Set the email of the user that create the comunication only apply to email communication

Parameters:
fromEmail -

getFromName

public java.lang.String getFromName()
Get the name of the user that create the communication only apply to email communication

Returns:
String

setFromName

public void setFromName(java.lang.String fromName)
Set the name of the user that create the communication only apply to email communication

Parameters:
fromName -

getHtmlPage

public long getHtmlPage()
Get the html inode of the email communication

Returns:
long

setHtmlPage

public void setHtmlPage(long htmlPageInode)
Set the email html page inode

Parameters:
htmlPageInode -

getTextMessage

public java.lang.String getTextMessage()
Get the email text Message of the communication

Returns:
String

setTextMessage

public void setTextMessage(java.lang.String textMessage)
Set the email text message of the communication

Parameters:
textMessage -

getTitle

public java.lang.String getTitle()
Get the communication title

Returns:
String

setTitle

public void setTitle(java.lang.String title)
Set the communication title

Parameters:
title -

getTrackBackLinkInode

public long getTrackBackLinkInode()
Get the page inode link of the offline communication

Returns:
long

setTrackBackLinkInode

public void setTrackBackLinkInode(long trackBackLinkInode)
Set the inode of the offline communication

Parameters:
trackBackLinkInode -

getCommunicationType

public java.lang.String getCommunicationType()
Get the type of communication email or offline

Returns:
String

setCommunicationType

public void setCommunicationType(java.lang.String communicationType)
Set the communication type


getWebModDate

public java.lang.String getWebModDate()
Returns the webCompletedDate.

Returns:
String

setWebModDate

public void setWebModDate(java.lang.String webModDate)
Sets the webCompletedDate.

Parameters:
webCompletedDate - The webCompletedDate to set

validate

public ActionErrors validate(ActionMapping mapping,
                             HttpServletRequest request)

getSelectedhtmlPage

public java.lang.String getSelectedhtmlPage()
Gets the htmlPAge title

Returns:
String

setSelectedhtmlPage

public void setSelectedhtmlPage(java.lang.String selectedHtmlPage)
Set the htmlPage selected

Parameters:
selectedHtmlPage -

getType

public java.lang.String getType()
Get the type of communication email or offline

Returns:
String

setType

public void setType(java.lang.String type)
Set the communication type


getExternalCommunicationIdentifier

public java.lang.String getExternalCommunicationIdentifier()
Get the External Communication Identifier of the communication

Returns:
Strin

setExternalCommunicationIdentifier

public void setExternalCommunicationIdentifier(java.lang.String externalCommunicationIdentifier)
Set the External Communication Identifier

Parameters:
modDate -


Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.