org.apache.jetspeed.portlet
Class DefaultPortletMessage

java.lang.Object
  extended by org.apache.jetspeed.portlet.DefaultPortletMessage
All Implemented Interfaces:
PortletMessage

Deprecated. since 6.0. Support of the IBM portlet API may be removed in a future release of WebSphere Portal. Use of the Java Portlet API (javax.portlet) is recommended instead.

public final class DefaultPortletMessage
extends java.lang.Object
implements PortletMessage

The DefaultPortletMessage can be used for inter-portlet communication beyond one portlet application. Therefore this is a final class that can not be further extended. A portlet that broadcasts messages should publish its message object format in its documentation.

Since:
4.1
See Also:
PortletContext.send(java.lang.String, org.apache.jetspeed.portlet.PortletMessage, org.apache.jetspeed.portlet.PortletRequest)

Constructor Summary
DefaultPortletMessage()
          Deprecated. Creates a DefaultPortletMessage.
DefaultPortletMessage(java.lang.String message)
          Deprecated. Creates a DefaultPortletMessage.
 
Method Summary
 java.lang.String getMessage()
          Deprecated. Returns the message string of this message
 void setMessage(java.lang.String message)
          Deprecated. Sets the message string for this message
 java.lang.String toString()
          Deprecated. Returns the message as a displayable string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultPortletMessage

public DefaultPortletMessage()
Deprecated. 
Creates a DefaultPortletMessage.


DefaultPortletMessage

public DefaultPortletMessage(java.lang.String message)
Deprecated. 
Creates a DefaultPortletMessage.

Parameters:
message - the message string
Method Detail

setMessage

public void setMessage(java.lang.String message)
Deprecated. 
Sets the message string for this message

Parameters:
message - the message string

getMessage

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

Returns:
java.lang.String the message as string

toString

public java.lang.String toString()
Deprecated. 
Returns the message as a displayable string

Overrides:
toString in class java.lang.Object
Returns:
java.lang.String the displayable string