org.apache.cocoon.components.notification
Class SimpleNotifyingBean

java.lang.Object
  extended by org.apache.cocoon.components.notification.SimpleNotifyingBean
All Implemented Interfaces:
Notifying

public class SimpleNotifyingBean
extends Object
implements Notifying

A simple bean implementation of Notifying.

Version:
CVS $Id: SimpleNotifyingBean.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Nicola Ken Barozzi

Field Summary
 
Fields inherited from interface org.apache.cocoon.components.notification.Notifying
DEBUG_NOTIFICATION, ERROR_NOTIFICATION, EXTRA_CAUSE, EXTRA_COLUMN, EXTRA_FULLTRACE, EXTRA_LINE, EXTRA_LOCATION, EXTRA_REQUESTURI, EXTRA_STACKTRACE, FATAL_NOTIFICATION, INFO_NOTIFICATION, UNKNOWN_NOTIFICATION, WARN_NOTIFICATION
 
Constructor Summary
SimpleNotifyingBean()
           
SimpleNotifyingBean(Object sender)
           
 
Method Summary
 void addExtraDescription(String extraDescriptionDescription, String extraDescription)
          Adds the ExtraDescription to the SimpleNotifyingBean object
protected  void addExtraDescriptions(Map extraDescriptions)
          Adds the ExtraDescriptions to the SimpleNotifyingBean object
 String getDescription()
          Gets the Description of the SimpleNotifyingBean object
 Map getExtraDescriptions()
          Gets the ExtraDescriptions of the SimpleNotifyingBean object
 String getMessage()
          Gets the Message of the SimpleNotifyingBean object
 String getSender()
          Gets the Sender of the SimpleNotifyingBean object
 String getSource()
          Gets the Source of the SimpleNotifyingBean object
 String getTitle()
          Gets the Title of the SimpleNotifyingBean object
 String getType()
          Gets the Type of the SimpleNotifyingBean object
protected  void replaceExtraDescriptions(Map extraDescriptions)
          Replaces the ExtraDescriptions of the SimpleNotifyingBean object
 void setDescription(String description)
          Sets the Description of the SimpleNotifyingBean object
 void setMessage(String message)
          Sets the Message of the SimpleNotifyingBean object
 void setSource(String source)
          Sets the Source of the SimpleNotifyingBean object
 void setTitle(String title)
          Sets the Title of the SimpleNotifyingBean object
 void setType(String type)
          Sets the Type of the SimpleNotifyingBean object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNotifyingBean

public SimpleNotifyingBean()

SimpleNotifyingBean

public SimpleNotifyingBean(Object sender)
Method Detail

setType

public void setType(String type)
Sets the Type of the SimpleNotifyingBean object

Parameters:
type - The new Type value

setTitle

public void setTitle(String title)
Sets the Title of the SimpleNotifyingBean object

Parameters:
title - The new Title value

setSource

public void setSource(String source)
Sets the Source of the SimpleNotifyingBean object

Parameters:
source - The new Source value

setMessage

public void setMessage(String message)
Sets the Message of the SimpleNotifyingBean object

Parameters:
message - The new Message value

setDescription

public void setDescription(String description)
Sets the Description of the SimpleNotifyingBean object

Parameters:
description - The new Description value

addExtraDescription

public void addExtraDescription(String extraDescriptionDescription,
                                String extraDescription)
Adds the ExtraDescription to the SimpleNotifyingBean object

Parameters:
extraDescriptionDescription - The additional ExtraDescription name
extraDescription - The additional ExtraDescription value

replaceExtraDescriptions

protected void replaceExtraDescriptions(Map extraDescriptions)
Replaces the ExtraDescriptions of the SimpleNotifyingBean object


addExtraDescriptions

protected void addExtraDescriptions(Map extraDescriptions)
Adds the ExtraDescriptions to the SimpleNotifyingBean object


getType

public String getType()
Gets the Type of the SimpleNotifyingBean object

Specified by:
getType in interface Notifying

getTitle

public String getTitle()
Gets the Title of the SimpleNotifyingBean object

Specified by:
getTitle in interface Notifying

getSource

public String getSource()
Gets the Source of the SimpleNotifyingBean object

Specified by:
getSource in interface Notifying

getSender

public String getSender()
Gets the Sender of the SimpleNotifyingBean object

Specified by:
getSender in interface Notifying

getMessage

public String getMessage()
Gets the Message of the SimpleNotifyingBean object

Specified by:
getMessage in interface Notifying

getDescription

public String getDescription()
Gets the Description of the SimpleNotifyingBean object

Specified by:
getDescription in interface Notifying

getExtraDescriptions

public Map getExtraDescriptions()
Gets the ExtraDescriptions of the SimpleNotifyingBean object

Specified by:
getExtraDescriptions in interface Notifying


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.