org.exoplatform.cs.ext.impl
Class CalendarUIActivity
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIForm
org.exoplatform.social.webui.activity.BaseUIActivity
org.exoplatform.cs.ext.impl.CalendarUIActivity
public class CalendarUIActivity
- extends org.exoplatform.social.webui.activity.BaseUIActivity
| Nested classes/interfaces inherited from class org.exoplatform.social.webui.activity.BaseUIActivity |
org.exoplatform.social.webui.activity.BaseUIActivity.CommentStatus, org.exoplatform.social.webui.activity.BaseUIActivity.DeleteActivityActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.DeleteCommentActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.LikeActivityActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.LoadLikesActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.PostCommentActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.SetCommentListStatusActionListener, org.exoplatform.social.webui.activity.BaseUIActivity.ToggleDisplayCommentFormActionListener |
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Fields inherited from class org.exoplatform.social.webui.activity.BaseUIActivity |
LIKES_NUM_DEFAULT |
| 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 |
| Methods inherited from class org.exoplatform.social.webui.activity.BaseUIActivity |
commentListToggleable, event, getActivity, getActivityCommentsListAccess, getAllComments, getCommentListStatus, getCommentMaxCharactersAllowed, getCommentMinCharactersAllowed, getComments, getCurrentLoadIndex, getDisplayedIdentityLikes, getI18N, getIdentityLikes, getLoadCapacity, getOwnerIdentity, getPostedTimeInSpaceString, getPostedTimeString, getSpaceCreatorIdentity, isActivityCommentable, isActivityCommentAndLikable, isActivityDeletable, isAllCommentsHidden, isAllLoaded, isCommentDeletable, isCommentFormDisplayed, isCommentFormFocused, isLiked, isNoLongerExisting, isSpaceActivity, isSpaceStreamOwner, isUISpaceActivitiesDisplay, isUserActivity, processRender, refresh, saveComment, setActivity, setActivityCommentsListAccess, setAllCommentsHidden, setAllLoaded, setCommentFormDisplayed, setCommentFormFocused, setCommentListStatus, setCommentMaxCharactersAllowed, setCommentMinCharactersAllowed, setIdenityLikes, setLike, setLoadCapacity, setOwnerIdentity |
| Methods inherited from class org.exoplatform.webui.form.UIForm |
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, 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, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, 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 |
CALENDAR_PREFIX_KEY
protected static final String CALENDAR_PREFIX_KEY
- See Also:
- Constant Field Values
CalendarUIActivity
public CalendarUIActivity()
init
public void init()
getTaskStatus
public String getTaskStatus()
- Returns:
- the taskStatus
isTaskAssigned
public boolean isTaskAssigned()
- Returns:
- the isTaskAssigned
isTaskDone
public boolean isTaskDone()
- Returns:
- the isTaskDone
getEventId
public String getEventId()
- Returns:
- the eventId
setEventId
public void setEventId(String eventId)
- Parameters:
eventId - the eventId to set
getCalendarId
public String getCalendarId()
- Returns:
- the calendarId
setCalendarId
public void setCalendarId(String calendarId)
- Parameters:
calendarId - the calendarId to set
isAnswered
public boolean isAnswered()
- Returns:
- the isAnswered
isInvited
public boolean isInvited()
- Returns:
- the isInvited
getActivityParamValue
public String getActivityParamValue(String key)
getTypeOfEvent
public String getTypeOfEvent()
getEventStartTime
public String getEventStartTime(org.exoplatform.webui.core.lifecycle.WebuiBindingContext ctx)
getDescription
public String getDescription()
getLocation
public String getLocation()
getEventEndTime
public String getEventEndTime(org.exoplatform.webui.core.lifecycle.WebuiBindingContext ctx)
getDateTimeString
public String getDateTimeString(org.exoplatform.webui.core.lifecycle.WebuiBindingContext ctx,
long time,
org.exoplatform.calendar.service.CalendarEvent event)
- returns localized DateTime string for a time, for ex. Friday, February 22, 2013 6:30 PM
- Parameters:
ctx - time - event -
- Returns:
buildComment
public String buildComment(org.exoplatform.webui.core.lifecycle.WebuiBindingContext ctx,
org.exoplatform.social.core.activity.model.ExoSocialActivity comment)
- builds localized string for comment content
used in template
- Parameters:
comment -
- Returns:
- localized string for comment
- Since:
- activity-type
- See Also:
CalendarUIActivity.gtmpl
getUICalendarLabel
public static String getUICalendarLabel(String label)
- get label from resource bundle for CalendarUIActivity
- Parameters:
label -
- Returns:
isAllDay
public Boolean isAllDay(org.exoplatform.calendar.service.CalendarEvent event)
- checks if an event is all day
- Parameters:
event -
- Returns:
- true if given event is all day
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.