org.exoplatform.social.webui.activity.plugin
Class UIRelationshipActivity

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.social.webui.activity.plugin.UIRelationshipActivity

public class UIRelationshipActivity
extends BaseUIActivity

Since:
Aug 31, 2010
Author:
hoatle (hoatlevan at gmail dot com)

Nested Class Summary
static class UIRelationshipActivity.AcceptActionListener
           
static class UIRelationshipActivity.RefuseActionListener
           
static class UIRelationshipActivity.RevokeActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.social.webui.activity.BaseUIActivity
BaseUIActivity.CommentStatus, BaseUIActivity.DeleteActivityActionListener, BaseUIActivity.DeleteCommentActionListener, BaseUIActivity.LikeActivityActionListener, BaseUIActivity.LoadLikesActionListener, BaseUIActivity.PostCommentActionListener, BaseUIActivity.SetCommentListStatusActionListener, 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
UIRelationshipActivity()
           
 
Method Summary
 String getActivityTitle(org.exoplatform.webui.core.lifecycle.WebuiBindingContext ctx)
           
 org.exoplatform.social.core.identity.model.Identity getReceiver()
           
 String getReceiverName()
           
 org.exoplatform.social.core.relationship.model.Relationship getRelationship()
           
 String getRelationshipUUID()
           
 org.exoplatform.social.core.identity.model.Identity getSender()
           
 String getSenderName()
           
 org.exoplatform.social.core.relationship.model.Relationship.Type getStatus()
           
 org.exoplatform.social.core.application.RelationshipPublisher.TitleId getTitleId()
           
 boolean isActivityStreamOwner()
           
 boolean isReceiver()
           
 boolean isSender()
           
 void setReceiver(org.exoplatform.social.core.identity.model.Identity receiver)
           
 void setReceiverName(String receiverName)
           
 void setRelationship(org.exoplatform.social.core.relationship.model.Relationship relationship)
           
 void setRelationshipUUID(String relationshipUUID)
           
 void setSender(org.exoplatform.social.core.identity.model.Identity sender)
           
 void setSenderName(String senderName)
           
 void setStatus(org.exoplatform.social.core.relationship.model.Relationship.Type status)
           
 void setTitleId(org.exoplatform.social.core.application.RelationshipPublisher.TitleId titleId)
           
 
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, 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

UIRelationshipActivity

public UIRelationshipActivity()
Method Detail

setTitleId

public void setTitleId(org.exoplatform.social.core.application.RelationshipPublisher.TitleId titleId)

getTitleId

public org.exoplatform.social.core.application.RelationshipPublisher.TitleId getTitleId()

setSenderName

public void setSenderName(String senderName)

getSenderName

public String getSenderName()

setReceiverName

public void setReceiverName(String receiverName)

getReceiverName

public String getReceiverName()

setSender

public void setSender(org.exoplatform.social.core.identity.model.Identity sender)

getSender

public org.exoplatform.social.core.identity.model.Identity getSender()

setReceiver

public void setReceiver(org.exoplatform.social.core.identity.model.Identity receiver)

getReceiver

public org.exoplatform.social.core.identity.model.Identity getReceiver()

setStatus

public void setStatus(org.exoplatform.social.core.relationship.model.Relationship.Type status)

getStatus

public org.exoplatform.social.core.relationship.model.Relationship.Type getStatus()
                                                                           throws Exception
Throws:
Exception

setRelationship

public void setRelationship(org.exoplatform.social.core.relationship.model.Relationship relationship)

getRelationship

public org.exoplatform.social.core.relationship.model.Relationship getRelationship()
                                                                            throws Exception
Throws:
Exception

isActivityStreamOwner

public boolean isActivityStreamOwner()

isSender

public boolean isSender()
                 throws Exception
Throws:
Exception

isReceiver

public boolean isReceiver()
                   throws Exception
Throws:
Exception

getActivityTitle

public String getActivityTitle(org.exoplatform.webui.core.lifecycle.WebuiBindingContext ctx)
                        throws Exception
Throws:
Exception

setRelationshipUUID

public void setRelationshipUUID(String relationshipUUID)

getRelationshipUUID

public String getRelationshipUUID()


Copyright © 2013 eXo Platform SAS. All Rights Reserved.