public class UIHeaderSection extends UIProfileSection
| Modifier and Type | Class and Description |
|---|---|
static class |
UIHeaderSection.AcceptContactActionListener
Listens to accept actions then make connection to accepted person.
- Gets information of user who made request. - Checks the relationship to confirm that there still got invited connection. - Makes and Save the new relationship. |
static class |
UIHeaderSection.AddContactActionListener
Listens to add action then make request to invite person to make connection.
- Gets information of user is invited. - Checks the relationship to confirm that there have not got connection yet. - Saves the new connection. |
static class |
UIHeaderSection.CancelActionListener
Changes form into edit mode when edit button is clicked.
|
static class |
UIHeaderSection.DenyContactActionListener
Listens to deny action then delete the invitation.
- Gets information of user is invited or made request. - Checks the relation to confirm that there have not got relation yet. - Removes the current relation and save the new relation. |
static class |
UIHeaderSection.EditActionListener
Changes form into edit mode when edit button is clicked.
|
static class |
UIHeaderSection.SaveActionListener
Stores profile information into database when form is submited.
|
| Constructor and Description |
|---|
UIHeaderSection()
Initializes components for header form.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.exoplatform.social.core.relationship.model.Relationship.Type |
getContactStatus()
Gets contact status between current user and identity that is checked.
|
protected org.exoplatform.social.core.relationship.model.Relationship |
getRelationship()
Gets relationship between current user and viewer identity.
|
void |
setValue()
Gets position information from profile and set value into uicomponent.
|
escapeHtml, getProfile, getViewUser, isEditable, isEditMode, isFirstLoad, setEditMode, setFirstLoadaddUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, 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 final String JOB_TITLE
protected org.exoplatform.social.core.relationship.model.Relationship.Type getContactStatus()
throws Exception
Exceptionprotected org.exoplatform.social.core.relationship.model.Relationship getRelationship()
throws Exception
ExceptionCopyright © 2003–2021 eXo Platform SAS. All rights reserved.