Esri Geoportal Server
1.0

com.esri.gpt.framework.mail
Class FeedbackMessage

java.lang.Object
  extended by com.esri.gpt.framework.mail.FeedbackMessage

public class FeedbackMessage
extends Object

Stores information related to user feedback about the site.


Constructor Summary
FeedbackMessage()
          Default constructor.
 
Method Summary
 String getBody()
          Gets the body.
 String getFromAddress()
          Gets the from E-Mail address.
 String getFromName()
          Gets the name of the person sending feedback.
protected  int getMaximumBodyLength()
          Gets the maximum length of the message body.
 void setBody(String body)
          Sets the body.
 void setFromAddress(String address)
          Sets the from E-Mail address.
 void setFromName(String name)
          Sets the name of the person sending feedback.
protected  void setMaximumBodyLength(int maximumLength)
          Sets the maximum length of the message body.
 String toString()
          Returns the string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeedbackMessage

public FeedbackMessage()
Default constructor.

Method Detail

getBody

public String getBody()
Gets the body.

Returns:
the body

setBody

public void setBody(String body)
Sets the body.

Parameters:
body - the body

getFromAddress

public String getFromAddress()
Gets the from E-Mail address.

Returns:
the from address

setFromAddress

public void setFromAddress(String address)
Sets the from E-Mail address.

Parameters:
address - the from address

getFromName

public String getFromName()
Gets the name of the person sending feedback.

Returns:
the name

setFromName

public void setFromName(String name)
Sets the name of the person sending feedback.

Parameters:
name - the name

getMaximumBodyLength

protected int getMaximumBodyLength()
Gets the maximum length of the message body.
0 is unlimited, default is 10000.

Returns:
the maximum length of the message body

setMaximumBodyLength

protected void setMaximumBodyLength(int maximumLength)
Sets the maximum length of the message body.
0 is unlimited, default is 10000.

Parameters:
maximumLength - the maximum length of the message body

toString

public String toString()
Returns the string representation of the object.

Overrides:
toString in class Object
Returns:
the string

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.