org.sakaiproject.tool.calendar
Class CalendarAction.MergePage

java.lang.Object
  extended byorg.sakaiproject.tool.calendar.CalendarAction.MergePage
Enclosing class:
CalendarAction

public class CalendarAction.MergePage
extends Object

This class controls the page that allows the user to customize which calendars will be merged with the current group.


Constructor Summary
CalendarAction.MergePage(String mergeButtonCaption, String mergeButtonHandler, String mergedListVelocityName)
           
 
Method Summary
 void buildContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state, SessionState sstate)
          Build the context for showing merged view
 void doCancel(RunData data, Context context, CalendarActionState state, SessionState sstate)
          Action is used when the docancel is requested when the user click on cancel in the new view
 void doMerge(RunData runData, Context context, CalendarActionState state, SessionState sstate)
          Handle the "Merge" button on the toolbar
 void doUpdate(RunData runData, Context context, CalendarActionState state, SessionState sstate)
          Handles the user clicking on the save button on the page to specify which calendars will be merged into the present schedule.
 String getButtonHandlerID()
           
 String getButtonText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarAction.MergePage

public CalendarAction.MergePage(String mergeButtonCaption,
                                String mergeButtonHandler,
                                String mergedListVelocityName)
Method Detail

buildContext

public void buildContext(VelocityPortlet portlet,
                         Context context,
                         RunData runData,
                         CalendarActionState state,
                         SessionState sstate)
Build the context for showing merged view


doCancel

public void doCancel(RunData data,
                     Context context,
                     CalendarActionState state,
                     SessionState sstate)
Action is used when the docancel is requested when the user click on cancel in the new view


doMerge

public void doMerge(RunData runData,
                    Context context,
                    CalendarActionState state,
                    SessionState sstate)
Handle the "Merge" button on the toolbar


doUpdate

public void doUpdate(RunData runData,
                     Context context,
                     CalendarActionState state,
                     SessionState sstate)
Handles the user clicking on the save button on the page to specify which calendars will be merged into the present schedule.


getButtonHandlerID

public String getButtonHandlerID()

getButtonText

public String getButtonText()