public class UICalendars
extends org.exoplatform.webui.form.UIForm
| Modifier and Type | Field and Description |
|---|---|
static String |
CALCOLOR |
static String |
CALENDARID |
static String |
CALNAME |
static String |
CALTYPE |
| Constructor and Description |
|---|
UICalendars() |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildId(int calTye,
String calId) |
boolean |
canEdit(String[] savePerms,
String[] checkPerms) |
void |
checkAll() |
List<org.exoplatform.calendar.service.Calendar> |
getAllPrivateCalendars()
get all private calendars for current user
if no calendar is found, return a zero length list of calendar
|
List<org.exoplatform.calendar.service.Calendar> |
getAllPublicCalendars()
get group calendar for user, without duplicated items
if no calendar found, return zero length list of calendars
|
List<org.exoplatform.calendar.service.CalendarEvent> |
getAllTask(Calendar formDate,
Calendar toDate,
String taskStatus) |
List<String> |
getCheckedCalendars() |
String[] |
getCheckedPublicCalendars() |
String |
getCheckPermissionString() |
LinkedHashMap<String,String> |
getColorMap() |
String[] |
getColors() |
Calendar |
getCurrentMiniBeginDate() |
Calendar |
getCurrentMiniEndDate() |
org.exoplatform.calendar.service.EventQuery |
getEventQuery(org.exoplatform.calendar.service.EventQuery eventQuery) |
String |
getLabel(String key) |
String[] |
getPublicCalendarIds() |
List<org.exoplatform.calendar.service.GroupCalendarData> |
getPublicCalendars()
Deprecated.
- get group calendar for user
|
org.exoplatform.calendar.service.GroupCalendarData |
getSharedCalendars()
return a group of shared calendars for current users
if no calendar found, return a group calendar with zero length list of calendars
|
String[] |
getTaskStatus() |
void |
init() |
protected boolean |
isCalendarOfSpace(String[] groupIds)
check whether calendar is calendar of space
based on id of calendar and space id
|
protected boolean |
isCalendarOfSpace1(String[] groupIds) |
boolean |
isRemoteCalendar(String calendarId) |
boolean |
isShowTaskList() |
void |
processRender(org.exoplatform.webui.application.WebuiRequestContext arg0) |
void |
setShowTaskList(boolean isShowTaskList) |
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, urladdChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, urlpublic static String CALENDARID
public static String CALTYPE
public static String CALNAME
public static String CALCOLOR
public void processRender(org.exoplatform.webui.application.WebuiRequestContext arg0)
throws Exception
processRender in class org.exoplatform.webui.form.UIFormExceptionpublic String getLabel(String key)
getLabel in class org.exoplatform.webui.form.UIFormpublic void setShowTaskList(boolean isShowTaskList)
public boolean isShowTaskList()
public Calendar getCurrentMiniBeginDate()
public Calendar getCurrentMiniEndDate()
public String[] getTaskStatus()
public List<org.exoplatform.calendar.service.CalendarEvent> getAllTask(Calendar formDate, Calendar toDate, String taskStatus) throws Exception
Exceptionpublic void checkAll()
public String[] getCheckedPublicCalendars()
public org.exoplatform.calendar.service.EventQuery getEventQuery(org.exoplatform.calendar.service.EventQuery eventQuery)
throws Exception
Exceptionpublic List<org.exoplatform.calendar.service.Calendar> getAllPrivateCalendars() throws Exception
ExceptionUICalendars.gtmpl - used in templateprotected boolean isCalendarOfSpace(String[] groupIds)
groupIds - protected boolean isCalendarOfSpace1(String[] groupIds)
@Deprecated public List<org.exoplatform.calendar.service.GroupCalendarData> getPublicCalendars() throws Exception
Exceptionpublic List<org.exoplatform.calendar.service.Calendar> getAllPublicCalendars() throws Exception
ExceptionUICalendars.gtmpl - used in templatepublic String[] getPublicCalendarIds()
public org.exoplatform.calendar.service.GroupCalendarData getSharedCalendars()
throws Exception
ExceptionUICalendars.gtmpl - used in templatepublic LinkedHashMap<String,String> getColorMap()
public String[] getColors()
public boolean canEdit(String[] savePerms, String[] checkPerms) throws Exception
Exceptionpublic String getCheckPermissionString() throws Exception
ExceptionCopyright © 2003–2015 eXo Platform SAS. All rights reserved.