fr.paris.lutece.plugins.greetingscard.business
Class GreetingsCard

java.lang.Object
  extended by fr.paris.lutece.plugins.greetingscard.business.GreetingsCard

public class GreetingsCard
extends java.lang.Object

This class represents a GreetingsCardTemplate object.


Constructor Summary
GreetingsCard()
          Creates a new GreetingsCardTemplate object.
 
Method Summary
 java.sql.Date getDate()
          Returns the date of the greetings card sending
 java.lang.String getId()
          Returns the identifier of the greetings card
 int getIdGCT()
          Returns the identifier of the greetings card template
 java.lang.String getMessage()
          Returns the message string
 java.lang.String getRecipientEmail()
          Returns the recipient email string
 java.lang.String getSenderEmail()
          Returns the sender email string
 java.lang.String getSenderIp()
          Returns the sender name string
 java.lang.String getSenderName()
          Returns the sender name string
 boolean isInternal()
          Test if the greeting card was sent to an internal people.
 void setDate(java.sql.Date date)
          -
 void setId(java.lang.String strIdGC)
          Sets the identifier of the greetings card to the specified value
 void setIdGCT(int nIdGCT)
          Sets the identifier of the greetings card template to the specified value
 void setMessage(java.lang.String strMessage)
          Sets the message string to the specified value
 void setRecipientEmail(java.lang.String strRecipientEmail)
          Sets the recipient email string to the specified value
 void setSenderEmail(java.lang.String strSenderEmail)
          Sets the sender email string to the specified value
 void setSenderIp(java.lang.String strSenderIp)
          Sets the sender Ip string to the specified value
 void setSenderName(java.lang.String strSenderName)
          Sets the sender name string to the specified value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GreetingsCard

public GreetingsCard()
Creates a new GreetingsCardTemplate object.

Method Detail

getId

public java.lang.String getId()
Returns the identifier of the greetings card

Returns:
The identifier of the greetings card

setId

public void setId(java.lang.String strIdGC)
Sets the identifier of the greetings card to the specified value

Parameters:
strIdGC - The new value

getSenderName

public java.lang.String getSenderName()
Returns the sender name string

Returns:
The sender name string

setSenderName

public void setSenderName(java.lang.String strSenderName)
Sets the sender name string to the specified value

Parameters:
strSenderName - The new value

getSenderIp

public java.lang.String getSenderIp()
Returns the sender name string

Returns:
The sender name string

setSenderIp

public void setSenderIp(java.lang.String strSenderIp)
Sets the sender Ip string to the specified value

Parameters:
strSenderIp - The new value

getSenderEmail

public java.lang.String getSenderEmail()
Returns the sender email string

Returns:
The sender email string

setSenderEmail

public void setSenderEmail(java.lang.String strSenderEmail)
Sets the sender email string to the specified value

Parameters:
strSenderEmail - The new value

getRecipientEmail

public java.lang.String getRecipientEmail()
Returns the recipient email string

Returns:
The recipient email string

setRecipientEmail

public void setRecipientEmail(java.lang.String strRecipientEmail)
Sets the recipient email string to the specified value

Parameters:
strRecipientEmail - The new value

getMessage

public java.lang.String getMessage()
Returns the message string

Returns:
The message string

setMessage

public void setMessage(java.lang.String strMessage)
Sets the message string to the specified value

Parameters:
strMessage - The new value

setDate

public void setDate(java.sql.Date date)
-

Parameters:
date - The new value

getDate

public java.sql.Date getDate()
Returns the date of the greetings card sending

Returns:
The date

getIdGCT

public int getIdGCT()
Returns the identifier of the greetings card template

Returns:
The identifier of the greetings card template

setIdGCT

public void setIdGCT(int nIdGCT)
Sets the identifier of the greetings card template to the specified value

Parameters:
nIdGCT - The new value

isInternal

public boolean isInternal()
Test if the greeting card was sent to an internal people.

Returns:
the value of the test.


Copyright © 2008 Mairie de Paris. All Rights Reserved.