Java Doc for CalendarAction.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » calendar » tool » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.calendar.tool 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.sakaiproject.cheftool.VelocityPortletStateAction
   org.sakaiproject.calendar.tool.CalendarAction

CalendarAction
public class CalendarAction extends VelocityPortletStateAction (Code)
The schedule tool.

Inner Class :public class MyYear
Inner Class :public class MyWeek
Inner Class :public class MyMonth
Inner Class :public class MyDay
Inner Class :public class EventClass
Inner Class :public class EventDisplayClass
Inner Class :public class MyDate
Inner Class :public class Helper
Inner Class :public class CalendarFormattedText
Inner Class :class EntryProvider extends MergedListEntryProviderBase
Inner Class :public class MergePage
Inner Class :public class CustomizeCalendarPage
Inner Class :public static class CalendarPermissions

Field Summary
final protected static  StringSTATE_INITED
    


Method Summary
protected  StringarrayToString(String[] array, String separators)
     Takes an array of tokens and converts into separator-separated string. String[] The array of strings input.
Parameters:
  String - The string separator.
protected  voidbuildDayContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)
    
protected  voidbuildDeleteContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)
    
protected  voidbuildDescriptionContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)
    
protected  voidbuildFrequencyContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)
    
protected  voidbuildListContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)
    
public  StringbuildMainPanelContext(VelocityPortlet portlet, Context context, RunData runData, SessionState sstate)
    
protected  voidbuildMonthContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)
    
protected  voidbuildNewContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)
    
protected  voidbuildReviseContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)
    
protected  voidbuildWeekContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)
    
protected  voidbuildYearContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)
    
public  MyMonthcalMonth(int month, CalendarUtil m_calObj, CalendarActionState state, CalendarEventVector CalendarEventVectorObj)
    
public  StringcalendarUtilGetDay(int dayofweek)
     Get the name of the day.
public  StringcalendarUtilGetMonth(int l_month)
     Access the current month as a string.
public  voiddoActivityday(RunData data, Context context)
     Action is requsted when the user select day from menu in Activityevent view.
public  voiddoAdd(RunData runData, Context context)
     Action doAdd is requested when the user click on the add in the new view to add an event into a calendar.
public  voiddoAddfield(RunData runData, Context context)
     Handle the button click to add a field to the list of optional attributes.
public  voiddoAttachments(RunData rundata, Context context)
    
public  voiddoBack(RunData data, Context context)
    
public  voiddoCancel(RunData data, Context context)
    
public  voiddoCancelImportWizard(RunData data, Context context)
     Called when the user cancels the import wizard.
public  voiddoChangefrequency(RunData rundata, Context context)
    
public  voiddoConfirm(RunData data, Context context)
     Action is used when the doConfirm is called when the user click on confirm to delete event in the delete view.
public  voiddoCustomdate(RunData data, Context context)
     Action doCustomDate is requested when the user specifies a start/end date to filter the list view.
public  voiddoCustomize(RunData runData, Context context)
     Handle a request to set options.
public  voiddoDay(RunData data, Context context)
    
public  voiddoDelete(RunData data, Context context)
    
public  voiddoDeletefield(RunData runData, Context context)
    
public  voiddoDescription(RunData data, Context context)
    
public  voiddoDpagen(RunData runData, Context context)
     Action doDpagen is requested when the user click on the next arrow to move to the next page in day view.
public  voiddoDpagep(RunData runData, Context context)
     Action doDpagep is requested when the user click on the upper arrow to move to the previous page in day view.
public  voiddoEditfrequency(RunData rundata, Context context)
    
public  voiddoFilter(RunData data, Context context)
     Action doFilter is requested when the user clicks on the list box to select a filtering mode for the list view.
public  voiddoGomonth(RunData data, Context context)
    
public  voiddoGoyear(RunData data, Context context)
    
public  voiddoImport(RunData data, Context context)
    
public  voiddoList(RunData data, Context context)
    
public  voiddoMenueday(RunData data, Context context)
     Action is requestd when the user select day from the menu avilable in some views.
public  voiddoMerge(RunData runData, Context context)
     Handle a request from the "merge" page to merge calendars from other groups into this group's Schedule display.
public  voiddoMonth(RunData data, Context context)
    
public  voiddoNew(RunData data, Context context)
    
public  voiddoNext(RunData data, Context context)
     Action doNext is called when the user click on next button to move to next day, next week, next month or next year.
public  voiddoNext_activity(RunData runData, Context context)
     Action doNext_activity is requested when the user navigates to the previous message in the detailed view.
public  voiddoNextday(RunData data, Context context)
    
public  voiddoNpagew(RunData runData, Context context)
     Action doNpagew is requested when the user click on the next arrow to move to the next page in the week view.
public  voiddoOk(RunData data, Context context)
    
public  voiddoParse(RunData data, Context context)
    
public  voiddoPermissions(RunData data, Context context)
    
public  voiddoPpagew(RunData runData, Context context)
     Action doPpagew is requested when the user click on the previous arrow to move to the previous page in week view.
public  voiddoPreday(RunData data, Context context)
    
public  voiddoPrev(RunData data, Context context)
     Action doPrev is requested when the user click on the prev button to move into pre day, month, year, or week.
public  voiddoPrev_activity(RunData runData, Context context)
     Action doPrev_activity is requested when the user navigates to the previous message in the detailed view.
public  voiddoRevise(RunData data, Context context)
    
public  voiddoSavefrequency(RunData rundata, Context context)
    
public  voiddoScheduleBack(RunData data, Context context)
    
public  voiddoScheduleContinue(RunData data, Context context)
     Handle the "continue" button on the schedule import wizard.
public  voiddoSort_by_date_toggle(RunData data, Context context)
    
public  voiddoToday(RunData data, Context context)
    
public  voiddoUpdate(RunData runData, Context context)
     Action doUpdate is requested when the user click on the save button on the revise screen.
public  voiddoUpdateGroupView(RunData runData, Context context)
     Action doUpdateGroupView is requested when the user click on the Update button on the list view.
public  voiddoView(RunData data, Context context)
    
public  voiddoWeek(RunData data, Context context)
    
public  voiddoYear(RunData data, Context context)
    
protected  voidenableObserver(SessionState sstate, boolean enable)
    
public  TimeRangegetDayTimeRange(int year, int month, int day)
     Given a current date in the year, month, and day parameters, returns a TimeRange for the day.
public  TimeRangegetMonthTimeRange(CalendarUtil calendarUtil)
     Given a current date via the calendarUtil paramter, returns a TimeRange for the month.
protected  VectorgetNewEvents(int year, int month, int day, CalendarActionState state, RunData rundata, int time, int numberofcycles, Context context, CalendarEventVector CalendarEventVectorObj)
    
protected  ClassgetStateClass()
    
public  TimeRangegetWeekTimeRange(CalendarUtil calendarUtil)
     Given a current date via the calendarUtil paramter, returns a TimeRange for the week.
protected  voidinitState(SessionState state, VelocityPortlet portlet, JetspeedRunData rundata)
     Populate the state object, if needed.
protected  voidreadEventGroupForm(RunData rundata, Context context)
    

Field Detail
STATE_INITED
final protected static String STATE_INITED(Code)





Method Detail
arrayToString
protected String arrayToString(String[] array, String separators)(Code)
Takes an array of tokens and converts into separator-separated string. String[] The array of strings input.
Parameters:
  String - The string separator. String A string containing tokens separated by seperator.



buildDayContext
protected void buildDayContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)(Code)
Build the context for showing day view



buildDeleteContext
protected void buildDeleteContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)(Code)
Build the context for showing delete view



buildDescriptionContext
protected void buildDescriptionContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)(Code)
Build the context for showing description for events



buildFrequencyContext
protected void buildFrequencyContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)(Code)
Build the context for editing the frequency



buildListContext
protected void buildListContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)(Code)
Build the context for showing list view



buildMainPanelContext
public String buildMainPanelContext(VelocityPortlet portlet, Context context, RunData runData, SessionState sstate)(Code)



buildMonthContext
protected void buildMonthContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)(Code)
Build the context for showing month view



buildNewContext
protected void buildNewContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)(Code)
Build the context for showing New view



buildReviseContext
protected void buildReviseContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)(Code)
Build the context for showing revise view



buildWeekContext
protected void buildWeekContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)(Code)
Build the context for showing week view



buildYearContext
protected void buildYearContext(VelocityPortlet portlet, Context context, RunData runData, CalendarActionState state)(Code)
Build the context for showing Year view



calMonth
public MyMonth calMonth(int month, CalendarUtil m_calObj, CalendarActionState state, CalendarEventVector CalendarEventVectorObj)(Code)
calculate the days in the month and there events if any
Parameters:
  month - is int
Parameters:
  m_calObj - is object of calendar



calendarUtilGetDay
public String calendarUtilGetDay(int dayofweek)(Code)
Get the name of the day. the name of the day.



calendarUtilGetMonth
public String calendarUtilGetMonth(int l_month)(Code)
Access the current month as a string. the current month as a string.



doActivityday
public void doActivityday(RunData data, Context context)(Code)
Action is requsted when the user select day from menu in Activityevent view.



doAdd
public void doAdd(RunData runData, Context context)(Code)
Action doAdd is requested when the user click on the add in the new view to add an event into a calendar.



doAddfield
public void doAddfield(RunData runData, Context context)(Code)
Handle the button click to add a field to the list of optional attributes.



doAttachments
public void doAttachments(RunData rundata, Context context)(Code)



doBack
public void doBack(RunData data, Context context)(Code)
Action is used when the doBack is called when the user click on the back on the EventActivity view



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



doCancelImportWizard
public void doCancelImportWizard(RunData data, Context context)(Code)
Called when the user cancels the import wizard.



doChangefrequency
public void doChangefrequency(RunData rundata, Context context)(Code)
Action doChangefrequency is requested when the user changes the selected frequency at the frequency setting page



doConfirm
public void doConfirm(RunData data, Context context)(Code)
Action is used when the doConfirm is called when the user click on confirm to delete event in the delete view.



doCustomdate
public void doCustomdate(RunData data, Context context)(Code)
Action doCustomDate is requested when the user specifies a start/end date to filter the list view.



doCustomize
public void doCustomize(RunData runData, Context context)(Code)
Handle a request to set options.



doDay
public void doDay(RunData data, Context context)(Code)
Action doDay is requested when the user click on the day item in the menue



doDelete
public void doDelete(RunData data, Context context)(Code)
Action is used when the doDelete is called when the user click on delete in menu



doDeletefield
public void doDeletefield(RunData runData, Context context)(Code)



doDescription
public void doDescription(RunData data, Context context)(Code)
Action is used when doDescription is requested when the user click on an event



doDpagen
public void doDpagen(RunData runData, Context context)(Code)
Action doDpagen is requested when the user click on the next arrow to move to the next page in day view.



doDpagep
public void doDpagep(RunData runData, Context context)(Code)
Action doDpagep is requested when the user click on the upper arrow to move to the previous page in day view.



doEditfrequency
public void doEditfrequency(RunData rundata, Context context)(Code)
Action doFrequency is requested when "set Frequency" button is clicked in new/revise page



doFilter
public void doFilter(RunData data, Context context)(Code)
Action doFilter is requested when the user clicks on the list box to select a filtering mode for the list view.



doGomonth
public void doGomonth(RunData data, Context context)(Code)
Action is used when doGomonth requested in the year/list view



doGoyear
public void doGoyear(RunData data, Context context)(Code)
Action is used when doGoyear requested in the list view



doImport
public void doImport(RunData data, Context context)(Code)
Enter the schedule import wizard



doList
public void doList(RunData data, Context context)(Code)
Action doList is requested when the user click on the list in the toolbar



doMenueday
public void doMenueday(RunData data, Context context)(Code)
Action is requestd when the user select day from the menu avilable in some views.



doMerge
public void doMerge(RunData runData, Context context)(Code)
Handle a request from the "merge" page to merge calendars from other groups into this group's Schedule display.



doMonth
public void doMonth(RunData data, Context context)(Code)
Action is used when doMonth requested in the menu



doNew
public void doNew(RunData data, Context context)(Code)
Action doNew is requested when the user click on New in the menu



doNext
public void doNext(RunData data, Context context)(Code)
Action doNext is called when the user click on next button to move to next day, next week, next month or next year.



doNext_activity
public void doNext_activity(RunData runData, Context context)(Code)
Action doNext_activity is requested when the user navigates to the previous message in the detailed view.



doNextday
public void doNextday(RunData data, Context context)(Code)
Action doNextday is called when the user click on "Tomorrow" link in day view



doNpagew
public void doNpagew(RunData runData, Context context)(Code)
Action doNpagew is requested when the user click on the next arrow to move to the next page in the week view.



doOk
public void doOk(RunData data, Context context)(Code)
Action is used when doOk is requested when user click on Back button



doParse
public void doParse(RunData data, Context context)(Code)
Action is to parse the function calls



doPermissions
public void doPermissions(RunData data, Context context)(Code)
Fire up the permissions editor



doPpagew
public void doPpagew(RunData runData, Context context)(Code)
Action doPpagew is requested when the user click on the previous arrow to move to the previous page in week view.



doPreday
public void doPreday(RunData data, Context context)(Code)
Action doPreday is called when the user click on "Yesterday" link in day view



doPrev
public void doPrev(RunData data, Context context)(Code)
Action doPrev is requested when the user click on the prev button to move into pre day, month, year, or week.



doPrev_activity
public void doPrev_activity(RunData runData, Context context)(Code)
Action doPrev_activity is requested when the user navigates to the previous message in the detailed view.



doRevise
public void doRevise(RunData data, Context context)(Code)
Action is used when the user click on the doRevise in the menu



doSavefrequency
public void doSavefrequency(RunData rundata, Context context)(Code)
Action doSavefrequency is requested when the user click on the "Save" button in the frequency setting page



doScheduleBack
public void doScheduleBack(RunData data, Context context)(Code)
Handle the back button on the schedule import wizard



doScheduleContinue
public void doScheduleContinue(RunData data, Context context)(Code)
Handle the "continue" button on the schedule import wizard.



doSort_by_date_toggle
public void doSort_by_date_toggle(RunData data, Context context)(Code)
Action doSort_by_date_toggle is requested when the user click on the sorting icon in the list view



doToday
public void doToday(RunData data, Context context)(Code)
Action doToday is requested when the user click on "Go to today" button



doUpdate
public void doUpdate(RunData runData, Context context)(Code)
Action doUpdate is requested when the user click on the save button on the revise screen.



doUpdateGroupView
public void doUpdateGroupView(RunData runData, Context context)(Code)
Action doUpdateGroupView is requested when the user click on the Update button on the list view.



doView
public void doView(RunData data, Context context)(Code)



doWeek
public void doWeek(RunData data, Context context)(Code)
Action doWeek is requested when the user click on the week item in then menu



doYear
public void doYear(RunData data, Context context)(Code)
Action doYear is requested when the user click on Year on menu



enableObserver
protected void enableObserver(SessionState sstate, boolean enable)(Code)
Enable or disable the observer
Parameters:
  enable - if true, the observer is enabled, if false, it is disabled



getDayTimeRange
public TimeRange getDayTimeRange(int year, int month, int day)(Code)
Given a current date in the year, month, and day parameters, returns a TimeRange for the day.



getMonthTimeRange
public TimeRange getMonthTimeRange(CalendarUtil calendarUtil)(Code)
Given a current date via the calendarUtil paramter, returns a TimeRange for the month.



getNewEvents
protected Vector getNewEvents(int year, int month, int day, CalendarActionState state, RunData rundata, int time, int numberofcycles, Context context, CalendarEventVector CalendarEventVectorObj)(Code)



getStateClass
protected Class getStateClass()(Code)



getWeekTimeRange
public TimeRange getWeekTimeRange(CalendarUtil calendarUtil)(Code)
Given a current date via the calendarUtil paramter, returns a TimeRange for the week.



initState
protected void initState(SessionState state, VelocityPortlet portlet, JetspeedRunData rundata)(Code)
Populate the state object, if needed.



readEventGroupForm
protected void readEventGroupForm(RunData rundata, Context context)(Code)
Read user inputs in announcement form
Parameters:
  data -
Parameters:
  checkForm - need to check form data or not



Methods inherited from org.sakaiproject.cheftool.VelocityPortletStateAction
protected ControllerState getState(Context context, RunData rundata, Class stateClass)(Code)(Java Doc)
protected ControllerState getState(VelocityPortlet portlet, RunData rundata, Class stateClass)(Code)(Java Doc)
protected ControllerState getState(String peid, RunData rundata, Class stateClass)(Code)(Java Doc)
protected void releaseState(Context context, RunData rundata)(Code)(Java Doc)
protected void releaseState(VelocityPortlet portlet, RunData rundata)(Code)(Java Doc)
protected void releaseState(String peid, RunData rundata)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.