org.exoplatform.calendar.webui
Class UIListView

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by org.exoplatform.calendar.webui.UICalendarView
                  extended by org.exoplatform.calendar.webui.UIListView
All Implemented Interfaces:
CalendarView

public class UIListView
extends UICalendarView

Created by The eXo Platform SARL Author : Hung Nguyen hung.nguyen@exoplatform.com Aus 01, 2007 2:48:18 PM


Nested Class Summary
static class UIListView.AdvancedSearchActionListener
           
static class UIListView.CloseSearchActionListener
           
static class UIListView.OnchangeActionListener
           
static class UIListView.ShowPageActionListener
           
static class UIListView.SortActionListener
           
static class UIListView.ViewDetailActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.calendar.webui.UICalendarView
UICalendarView.AddEventActionListener, UICalendarView.ChangeCategoryActionListener, UICalendarView.ConfirmDeleteAllSeries, UICalendarView.ConfirmDeleteCancel, UICalendarView.ConfirmDeleteOnlyInstance, UICalendarView.DeleteActionListener, UICalendarView.DeleteEventActionListener, UICalendarView.EditActionListener, UICalendarView.EventSelectActionListener, UICalendarView.ExportEventActionListener, UICalendarView.GotoDateActionListener, UICalendarView.MoveEventActionListener, UICalendarView.MoveNextActionListener, UICalendarView.MovePreviousActionListener, UICalendarView.QuickAddActionListener, UICalendarView.SwitchViewActionListener, UICalendarView.TaskViewActionListener, UICalendarView.ViewActionListener
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static String EVENT_DESCRIPTION
           
static String EVENT_END
           
static String EVENT_PRIORITY
           
static String EVENT_START
           
static String EVENT_SUMMARY
           
 
Fields inherited from class org.exoplatform.calendar.webui.UICalendarView
ACT_ADDNEW_EVENT, ACT_ADDNEW_TASK, ACT_DELETE, ACT_EDIT, ACT_NEXT, ACT_PREVIOUS, ACT_VIEW, calendar_, CALENDARID, calendarSetting_, CALNAME, CALTYPE, CONTEXT_MENU, DAY, dfs_, displayTimes_, emptyEventCalendars, emptyRecurrentEventCalendars, EVENT_CATEGORIES, EVENTID, FINISH_TIME, instanceTempCalendar_, ISOCCUR, isShowEvent_, MONTH, monthsName_, privateCalendarIds, publicCalendarIds, QUICKEDIT_MENU, RECURID, recurrenceEventsMap, START_TIME, timeSteps_, TYPE_BOTH, TYPE_DAY, TYPE_EVENT, TYPE_MONTH, TYPE_NONE, TYPE_TASK, TYPE_WEEK, YEAR
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIListView()
           
 
Method Summary
 List<org.exoplatform.calendar.service.CalendarEvent> getAllEvents(org.exoplatform.calendar.service.EventQuery eventQuery)
           
 long getAvailablePage()
           
 long getCurrentPage()
           
 LinkedHashMap<String,org.exoplatform.calendar.service.CalendarEvent> getDataMap()
           
 String getDefaultStartTimeOfEvent()
          The returned value of this function is used to initialize start time for event form which is rendered when user click "add event" or "add task"
 org.exoplatform.calendar.service.EventQuery getEventQuery()
           
 org.exoplatform.calendar.service.CalendarEvent[] getEvents()
           
 String getKeyWords()
           
 String getLastViewId()
           
 String getSelectedCategory()
           
 String getSelectedEvent()
           
 org.exoplatform.calendar.service.CalendarEvent getSelectedEventObj()
           
 List<org.exoplatform.calendar.service.CalendarEvent> getSelectedEvents()
           
 String getSortedField()
           
 String getTemplate()
           
 boolean isAscending()
           
 boolean isCalClicked()
           
 boolean isDisplaySearchResult()
           
protected  boolean isShowEvent()
           
protected  boolean isShowEventAndTask()
           
 void processAction(org.exoplatform.webui.application.WebuiRequestContext context)
           
 void refresh()
           
protected  void refreshBrowser()
           
 void setCalClicked(boolean clickChkCalendar)
           
 void setCategoryId(String catetoryId)
           
 void setCurrentPage(int page)
           
 void setDisplaySearchResult(boolean show)
           
 void setEventQuery(org.exoplatform.calendar.service.EventQuery eventQuery)
           
 void setIsAscending(boolean b)
           
 void setKeyWords(String keyWords)
           
 void setLastViewId(String lastViewId_)
           
 void setSelectedEvent(String selectedEvent)
           
 void setShowEventAndTask(boolean show)
           
 void setSortedField(String field)
           
 void update(org.exoplatform.calendar.service.EventPageList pageList)
           
protected  void updateCurrentPage(long page)
           
 
Methods inherited from class org.exoplatform.calendar.webui.UICalendarView
applySeting, getBeginDay, getCalendarSetting, getColors, getContextMenu, getCurrentCalendar, getCurrentDate, getCurrentDay, getCurrentMonth, getcurrentOccurrence, getCurrentWeek, getCurrentYear, getDateByValue, getDateFormat, getDateTimeFormat, getDateTimeString, getDayName, getDayOfWeek, getDaysInMonth, getDaysInMonth, getDaysName, getDefaultTimeInterval, getDisplayTimes, getDisplayTimes, getEndDay, getEndTime, getFilterCalendarIds, getInstanceTempCalendar, getLabel, getLastUpdatedEventId, getList, getMonthName, getMonthsName, getPriority, getPrivateCalendars, getPublicCalendars, getPublicCalendars, getQuickEditMenu, getRecurrenceMap, getSelectedEvents, getSharedCalendars, getStartTime, getTimeFormat, getTimeInterval, getTimeSteps, getViews, getViewType, gotoDate, isCurrentDay, isCurrentMonth, isCurrentWeek, isEventEditable, isInSpace, isSameDate, isSameDate, isShowWorkingTime, keyGen, moveCalendarTo, moveEvents, processRender, removeEvents, renderDateTimeString, renderDayString, renderDayViewInTitleBar, renderTimeString, setCalendarSetting, setCurrentCalendar, setCurrentDate, setCurrentDay, setCurrentMonth, setCurrentOccurrence, setCurrentWeek, setCurrentYear, setEmptyEventCalendars, setEmptyRecurrentEventCalendars, setLastUpdatedEventId, setSelectedCategory, setViewType, update
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENT_SUMMARY

public static final String EVENT_SUMMARY
See Also:
Constant Field Values

EVENT_PRIORITY

public static final String EVENT_PRIORITY
See Also:
Constant Field Values

EVENT_DESCRIPTION

public static final String EVENT_DESCRIPTION
See Also:
Constant Field Values

EVENT_START

public static final String EVENT_START
See Also:
Constant Field Values

EVENT_END

public static final String EVENT_END
See Also:
Constant Field Values
Constructor Detail

UIListView

public UIListView()
           throws Exception
Throws:
Exception
Method Detail

getTemplate

public String getTemplate()
Overrides:
getTemplate in class org.exoplatform.webui.core.UIComponent

setSortedField

public void setSortedField(String field)

getSortedField

public String getSortedField()

setIsAscending

public void setIsAscending(boolean b)

isAscending

public boolean isAscending()

setEventQuery

public void setEventQuery(org.exoplatform.calendar.service.EventQuery eventQuery)

getEventQuery

public org.exoplatform.calendar.service.EventQuery getEventQuery()

refresh

public void refresh()
             throws Exception
Specified by:
refresh in interface CalendarView
Overrides:
refresh in class UICalendarView
Throws:
Exception

getAllEvents

public List<org.exoplatform.calendar.service.CalendarEvent> getAllEvents(org.exoplatform.calendar.service.EventQuery eventQuery)
                                                                  throws Exception
Throws:
Exception

update

public void update(org.exoplatform.calendar.service.EventPageList pageList)
            throws Exception
Throws:
Exception

updateCurrentPage

protected void updateCurrentPage(long page)
                          throws Exception
Throws:
Exception

getEvents

public org.exoplatform.calendar.service.CalendarEvent[] getEvents()
                                                           throws Exception
Throws:
Exception

refreshBrowser

protected void refreshBrowser()

getAvailablePage

public long getAvailablePage()

setCurrentPage

public void setCurrentPage(int page)

getCurrentPage

public long getCurrentPage()

isShowEvent

protected boolean isShowEvent()

isShowEventAndTask

protected boolean isShowEventAndTask()

setShowEventAndTask

public void setShowEventAndTask(boolean show)

isDisplaySearchResult

public boolean isDisplaySearchResult()

setDisplaySearchResult

public void setDisplaySearchResult(boolean show)

setSelectedEvent

public void setSelectedEvent(String selectedEvent)

getSelectedEvent

public String getSelectedEvent()

isCalClicked

public boolean isCalClicked()

setCalClicked

public void setCalClicked(boolean clickChkCalendar)

getDataMap

public LinkedHashMap<String,org.exoplatform.calendar.service.CalendarEvent> getDataMap()

getSelectedEvents

public List<org.exoplatform.calendar.service.CalendarEvent> getSelectedEvents()

setLastViewId

public void setLastViewId(String lastViewId_)

getLastViewId

public String getLastViewId()

setCategoryId

public void setCategoryId(String catetoryId)

getSelectedCategory

public String getSelectedCategory()
Overrides:
getSelectedCategory in class UICalendarView

getSelectedEventObj

public org.exoplatform.calendar.service.CalendarEvent getSelectedEventObj()

setKeyWords

public void setKeyWords(String keyWords)

getKeyWords

public String getKeyWords()

getDefaultStartTimeOfEvent

public String getDefaultStartTimeOfEvent()
Description copied from class: UICalendarView
The returned value of this function is used to initialize start time for event form which is rendered when user click "add event" or "add task"

Specified by:
getDefaultStartTimeOfEvent in class UICalendarView
Returns:
string of time value in milliseconds.

processAction

public void processAction(org.exoplatform.webui.application.WebuiRequestContext context)
                   throws Exception
Overrides:
processAction in class org.exoplatform.webui.core.UIComponent
Throws:
Exception


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.