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.CalendarEventComparator
           
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.AddCategoryActionListener, UICalendarView.AddEventActionListener, UICalendarView.ChangeCategoryActionListener, 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
 UIListView.CalendarEventComparator ceCompare_
           
 
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_, EVENT_CATEGORIES, EVENTID, instanceTempCalendar_, isShowEvent_, MONTH, monthsName_, privateCalendarIds, publicCalendarIds, QUICKEDIT_MENU, timeSteps_, TYPE_BOTH, TYPE_DAY, TYPE_EVENT, TYPE_MONTH, TYPE_TASK, TYPE_WEEK, TYPE_YEAR, YEAR
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIListView()
           
 
Method Summary
 long getAvailablePage()
           
 long getCurrentPage()
           
 java.util.LinkedHashMap<java.lang.String,CalendarEvent> getDataMap()
           
 CalendarEvent[] getEvents()
           
 java.lang.String getKeyWords()
           
 java.lang.String getLastViewId()
           
 java.lang.String getSelectedCategory()
           
 java.lang.String getSelectedEvent()
           
 CalendarEvent getSelectedEventObj()
           
 java.util.List<CalendarEvent> getSelectedEvents()
           
 int getSortedField()
           
 java.lang.String getTemplate()
           
 boolean isAscending()
           
 boolean isDisplaySearchResult()
           
protected  boolean isShowEvent()
           
protected  boolean isShowEventAndTask()
           
 void refresh()
           
 void setCategoryId(java.lang.String catetoryId)
           
 void setCurrentPage(int page)
           
 void setDisplaySearchResult(boolean show)
           
 void setKeyWords(java.lang.String keyWords)
           
 void setLastViewId(java.lang.String lastViewId_)
           
 void setSelectedEvent(java.lang.String selectedEvent)
           
 void setShowEventAndTask(boolean show)
           
 void update(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, getCurrentWeek, getCurrentYear, getDateByValue, getDateFormat, getDateTimeFormat, getDayName, getDayOfWeek, getDaysInMonth, getDaysInMonth, getDaysName, getDefaultTimeInterval, getDisplayTimes, getDisplayTimes, getEndDay, getEndTime, getFilterCalendarIds, getInstanceTempCalendar, getLabel, getLastUpdatedEventId, getList, getMonthName, getMonthsName, getPriority, getPrivateCalendars, getPublicCalendars, getPublicCalendars, getQuickEditMenu, getSelectedEvents, getSession, getSharedCalendars, getStartTime, getSystemSession, getTimeFormat, getTimeInterval, getTimeSteps, getViews, getViewType, gotoDate, initCategories, isCurrentDay, isCurrentMonth, isCurrentWeek, isSameDate, isSameDate, isShowWorkingTime, keyGen, moveCalendarTo, moveEvents, processRender, removeEvents, renderDayViewInTitleBar, setCalendarSetting, setCurrentCalendar, setCurrentDate, setCurrentDay, setCurrentMonth, setCurrentWeek, setCurrentYear, setLastUpdatedEventId, setSelectedCategory, setViewType, update
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getSubmitAction, 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, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ceCompare_

public UIListView.CalendarEventComparator ceCompare_
Constructor Detail

UIListView

public UIListView()
           throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getTemplate

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

getSortedField

public int getSortedField()

isAscending

public boolean isAscending()

refresh

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

update

public void update(EventPageList pageList)
            throws java.lang.Exception
Throws:
java.lang.Exception

updateCurrentPage

protected void updateCurrentPage(long page)
                          throws java.lang.Exception
Throws:
java.lang.Exception

getEvents

public CalendarEvent[] getEvents()
                          throws java.lang.Exception
Throws:
java.lang.Exception

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(java.lang.String selectedEvent)

getSelectedEvent

public java.lang.String getSelectedEvent()

getDataMap

public java.util.LinkedHashMap<java.lang.String,CalendarEvent> getDataMap()

getSelectedEvents

public java.util.List<CalendarEvent> getSelectedEvents()

setLastViewId

public void setLastViewId(java.lang.String lastViewId_)

getLastViewId

public java.lang.String getLastViewId()

setCategoryId

public void setCategoryId(java.lang.String catetoryId)

getSelectedCategory

public java.lang.String getSelectedCategory()
Overrides:
getSelectedCategory in class UICalendarView

getSelectedEventObj

public CalendarEvent getSelectedEventObj()

setKeyWords

public void setKeyWords(java.lang.String keyWords)

getKeyWords

public java.lang.String getKeyWords()


Copyright © 2011 eXo Platform SAS. All Rights Reserved.