org.kuali.student.common.ui.client.event
Class SaveActionEvent

java.lang.Object
  extended by com.google.gwt.event.shared.GwtEvent<H>
      extended by org.kuali.student.common.ui.client.mvc.ApplicationEvent<H>
          extended by org.kuali.student.common.ui.client.event.ActionEvent<SaveActionHandler>
              extended by org.kuali.student.common.ui.client.event.SaveActionEvent
All Implemented Interfaces:
HasActionState

public class SaveActionEvent
extends ActionEvent<SaveActionHandler>
implements HasActionState

A save event with user defined save types. This allows a single widget to handle different types of save events without having to create new events and handlers.

Author:
Kuali Student Team

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H>
 
Nested classes/interfaces inherited from interface org.kuali.student.common.ui.client.mvc.HasActionState
HasActionState.ActionState
 
Field Summary
private  boolean acknowledgeRequired
           
private  HasActionState.ActionState actionState
           
private  boolean gotoNextView
           
private  String message
           
private  boolean saveSuccessful
           
static com.google.gwt.event.shared.GwtEvent.Type<SaveActionHandler> TYPE
           
 
Constructor Summary
SaveActionEvent()
           
SaveActionEvent(boolean gotoNextView)
           
SaveActionEvent(String message)
           
 
Method Summary
protected  void dispatch(SaveActionHandler handler)
           
 HasActionState.ActionState getActionState()
           
 com.google.gwt.event.shared.GwtEvent.Type<SaveActionHandler> getAssociatedType()
           
 String getMessage()
           
 boolean gotoNextView()
           
 boolean isAcknowledgeRequired()
           
 boolean isSaveSuccessful()
           
 void setAcknowledgeRequired(boolean acknowledgeRequired)
           
 void setActionState(HasActionState.ActionState state)
           
 void setGotoNextView(boolean gotoNextView)
           
 void setSaveSuccessful(boolean saveSuccessful)
           
 
Methods inherited from class org.kuali.student.common.ui.client.event.ActionEvent
doActionComplete, getActionCompleteCallback, setActionCompleteCallback
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final com.google.gwt.event.shared.GwtEvent.Type<SaveActionHandler> TYPE

actionState

private HasActionState.ActionState actionState

message

private String message

acknowledgeRequired

private boolean acknowledgeRequired

gotoNextView

private boolean gotoNextView

saveSuccessful

private boolean saveSuccessful
Constructor Detail

SaveActionEvent

public SaveActionEvent()

SaveActionEvent

public SaveActionEvent(boolean gotoNextView)

SaveActionEvent

public SaveActionEvent(String message)
Method Detail

dispatch

protected void dispatch(SaveActionHandler handler)
Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<SaveActionHandler>

getAssociatedType

public com.google.gwt.event.shared.GwtEvent.Type<SaveActionHandler> getAssociatedType()
Specified by:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<SaveActionHandler>

setActionState

public void setActionState(HasActionState.ActionState state)

getActionState

public HasActionState.ActionState getActionState()
Specified by:
getActionState in interface HasActionState
See Also:
HasActionState.getActionState()

getMessage

public String getMessage()

isAcknowledgeRequired

public boolean isAcknowledgeRequired()

setAcknowledgeRequired

public void setAcknowledgeRequired(boolean acknowledgeRequired)

gotoNextView

public boolean gotoNextView()

setGotoNextView

public void setGotoNextView(boolean gotoNextView)

setSaveSuccessful

public void setSaveSuccessful(boolean saveSuccessful)

isSaveSuccessful

public boolean isSaveSuccessful()


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.