com.dotmarketing.portlets.communications.model
Class Communication

java.lang.Object
  extended by com.dotmarketing.beans.Inode
      extended by com.dotmarketing.portlets.communications.model.Communication
All Implemented Interfaces:
java.io.Serializable

public class Communication
extends Inode
implements java.io.Serializable

This class is to get the communication object of the communication manager portlet

Author:
Oswaldo
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.dotmarketing.beans.Inode
inode
 
Constructor Summary
Communication()
           
 
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
 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 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
 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 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 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
 
Methods inherited from class com.dotmarketing.beans.Inode
addChild, addChild, addParent, addParent, deleteChild, deleteChild, deleteParent, deleteParent, equals, getiDate, getIDate, getIdentifier, getInode, getMap, getOwner, getType, hasChildren, hasParents, isNew, setiDate, setIDate, setIDate, setIdentifier, setInode, setInode, setOwner, setOwner, setParents, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Communication

public Communication()
Method Detail

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:
modDate -

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:
String

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


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.