org.exoplatform.forum.ext.impl
Class PollUIActivity

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.social.webui.activity.BaseUIActivity
                  extended by org.exoplatform.forum.ext.impl.BaseKSActivity
                      extended by org.exoplatform.forum.ext.impl.PollUIActivity

public class PollUIActivity
extends BaseKSActivity


Nested Class Summary
 
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
 
Field Summary
 
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
 
Constructor Summary
PollUIActivity()
           
 
Method Summary
 String getSpaceHomeURL(String spaceGroupId)
           
 String getTotalOfVoters()
           
 String getTotalUsersVotes()
           
 Map<String,List<String>> getVotes()
           
 void setTotalOfVoters(String totalOfVoters)
           
 void setTotalUsersVotes(String totalOfUsersVote)
           
 
Methods inherited from class org.exoplatform.forum.ext.impl.BaseKSActivity
getActivityParamValue, getSpaceAvatarImageSource, getUriOfAuthor, getUserAvatarImageSource, getUserFullName, getUserProfileUri
 
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
 

Constructor Detail

PollUIActivity

public PollUIActivity()
Method Detail

getVotes

public Map<String,List<String>> getVotes()
                                  throws Exception
Throws:
Exception

getTotalUsersVotes

public String getTotalUsersVotes()
Returns:
the nbTotalVotes

setTotalUsersVotes

public void setTotalUsersVotes(String totalOfUsersVote)
Parameters:
nbTotalVotes - the nbTotalVotes to set

getTotalOfVoters

public String getTotalOfVoters()
Returns:
the number of voters

setTotalOfVoters

public void setTotalOfVoters(String totalOfVoters)

getSpaceHomeURL

public String getSpaceHomeURL(String spaceGroupId)


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