|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIForm
org.exoplatform.social.webui.profile.UIProfileSection
org.exoplatform.social.webui.profile.UIHeaderSection
public class UIHeaderSection
Component is used for short user information (name, position) managing.
| Nested Class Summary | |
|---|---|
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. |
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
|---|
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Field Summary | |
|---|---|
static String |
JOB_TITLE
|
| 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 | |
|---|---|
UIHeaderSection()
Initializes components for header form. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.exoplatform.social.webui.profile.UIProfileSection |
|---|
escapeHtml, getProfile, getViewUser, isEditable, isEditMode, isFirstLoad, setEditMode, setFirstLoad |
| 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, processRender, 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 |
| Field Detail |
|---|
public static final String JOB_TITLE
| Constructor Detail |
|---|
public UIHeaderSection()
throws Exception
Exception| Method Detail |
|---|
protected org.exoplatform.social.core.relationship.model.Relationship.Type getContactStatus()
throws Exception
Exception
protected org.exoplatform.social.core.relationship.model.Relationship getRelationship()
throws Exception
Exception
public void setValue()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||