org.apache.cocoon.portal.event.impl
Class ChangeAspectDataEvent

java.lang.Object
  extended by org.apache.cocoon.portal.event.impl.AbstractActionEvent
      extended by org.apache.cocoon.portal.event.impl.ChangeAspectDataEvent
All Implemented Interfaces:
ActionEvent, ComparableEvent, Event, RequestEvent
Direct Known Subclasses:
ChangeCopletInstanceAspectDataEvent

public class ChangeAspectDataEvent
extends AbstractActionEvent
implements ActionEvent, RequestEvent, ComparableEvent

This events set the aspect data for an Aspectalizable object

Version:
CVS $Id: ChangeAspectDataEvent.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Field Summary
protected  String aspectName
           
protected  Object data
           
protected  String requestParameterName
           
 
Fields inherited from class org.apache.cocoon.portal.event.impl.AbstractActionEvent
target
 
Constructor Summary
ChangeAspectDataEvent(Aspectalizable target, String aspectName, Object data)
           
 
Method Summary
 boolean equalsEvent(ComparableEvent event)
           
 Aspectalizable getAspectalizable()
           
 String getAspectName()
           
 Object getData()
           
 String getRequestParameterName()
           
 Object getTarget()
           
 void setRequestParameterName(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aspectName

protected String aspectName

data

protected Object data

requestParameterName

protected String requestParameterName
Constructor Detail

ChangeAspectDataEvent

public ChangeAspectDataEvent(Aspectalizable target,
                             String aspectName,
                             Object data)
Method Detail

getAspectName

public String getAspectName()
Returns:
The aspect name

getData

public Object getData()
Returns:
The value to set

getTarget

public Object getTarget()
Specified by:
getTarget in interface ActionEvent
Overrides:
getTarget in class AbstractActionEvent
Returns:
The target to change

getAspectalizable

public Aspectalizable getAspectalizable()

getRequestParameterName

public String getRequestParameterName()
Specified by:
getRequestParameterName in interface RequestEvent

setRequestParameterName

public void setRequestParameterName(String value)

equalsEvent

public boolean equalsEvent(ComparableEvent event)
Specified by:
equalsEvent in interface ComparableEvent


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