com.jdon.controller.events
Class EventSupport

java.lang.Object
  extended by com.jdon.controller.events.EventSupport
All Implemented Interfaces:
Event, java.io.Serializable
Direct Known Subclasses:
EventModel

public class EventSupport
extends java.lang.Object
implements Event

Title:

Description: 带有web层的Action name 和action type

See Also:
Serialized Form

Field Summary
protected  java.lang.String actionName
           
protected  int actionType
           
protected  java.lang.String errors
           
 
Fields inherited from interface com.jdon.controller.events.Event
ADD, CREATE, DELETE, EDIT, REMOVE, UPDATE, VIEW
 
Constructor Summary
EventSupport()
           
 
Method Summary
 java.lang.String getActionName()
           
 int getActionType()
           
 java.lang.String getErrors()
           
 java.lang.String getEventName()
           
 javax.servlet.http.HttpSession getSession()
           
 void setActionName(java.lang.String actionName)
           
 void setActionType(int actionType)
           
 void setErrors(java.lang.String errors)
           
 void setSession(javax.servlet.http.HttpSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actionName

protected java.lang.String actionName

actionType

protected int actionType

errors

protected java.lang.String errors
Constructor Detail

EventSupport

public EventSupport()
Method Detail

setActionName

public void setActionName(java.lang.String actionName)
Specified by:
setActionName in interface Event

getActionName

public java.lang.String getActionName()
Specified by:
getActionName in interface Event

setActionType

public void setActionType(int actionType)
Specified by:
setActionType in interface Event

getActionType

public int getActionType()
Specified by:
getActionType in interface Event

setErrors

public void setErrors(java.lang.String errors)
Specified by:
setErrors in interface Event

getErrors

public java.lang.String getErrors()
Specified by:
getErrors in interface Event

setSession

public void setSession(javax.servlet.http.HttpSession session)
Specified by:
setSession in interface Event

getSession

public javax.servlet.http.HttpSession getSession()
Specified by:
getSession in interface Event

getEventName

public java.lang.String getEventName()
Specified by:
getEventName in interface Event