public class UIExperienceSection extends UIProfileSection
| Modifier and Type | Class and Description |
|---|---|
static class |
UIExperienceSection.AddActionListener
Adds component when Add button is clicked.
|
static class |
UIExperienceSection.EditActionListener
Changes to edit mode when Edit button is clicked.
|
static class |
UIExperienceSection.RemoveActionListener
Adds component when Add button is clicked.
|
static class |
UIExperienceSection.SaveActionListener
Saves experience informations to profile.
|
static class |
UIExperienceSection.ShowHideEndDateActionListener
Shows and hides end date component depending on isCurrent variable.
|
UIProfileSection.CancelActionListener| Modifier and Type | Field and Description |
|---|---|
static String |
DATE_FORMAT_MMDDYYYY
DATE FORMAT.
|
static String |
END_DATE_AFTER_TODAY
END DATE AFTER TODAY.
|
static String |
START_DATE_AFTER_TODAY
START DATE AFTER TODAY.
|
static String |
STARTDATE_BEFORE_ENDDATE
START DATE BEFORE END DATE.
|
| Constructor and Description |
|---|
UIExperienceSection()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
calendarToString(Calendar cal)
Convert calendar to string.
|
protected String |
displayDateTime(Object d)
Display date time.
|
List<org.exoplatform.webui.core.UIComponent> |
getChilds()
Gets all the children.
|
List<HashMap<String,Object>> |
getCurrentExperience()
Gets all the current experience.
|
int |
getDate(String inDate)
Gets date of date time.
|
int |
getExpCount()
Gets number of component.
|
int |
getMonth(String inDate)
Gets month of date time.
|
List<HashMap<String,Object>> |
getPastExperience()
Gets all the past experience.
|
int |
getYear(String inDate)
Gets year of date time.
|
protected Calendar |
stringToCalendar(String sDate)
Convert string to calendar.
|
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 START_DATE_AFTER_TODAY
public static final String END_DATE_AFTER_TODAY
public static final String STARTDATE_BEFORE_ENDDATE
public static final String DATE_FORMAT_MMDDYYYY
public int getExpCount()
public List<org.exoplatform.webui.core.UIComponent> getChilds()
public int getMonth(String inDate) throws ParseException
inDate - Input dateParseExceptionpublic int getDate(String inDate) throws ParseException
inDate - Input dateParseExceptionprotected String calendarToString(Calendar cal)
cal - protected Calendar stringToCalendar(String sDate)
sDate - protected String displayDateTime(Object d) throws ParseException
d - ParseExceptionpublic int getYear(String inDate) throws ParseException
inDate - Input dateParseExceptionpublic List<HashMap<String,Object>> getPastExperience() throws Exception
ExceptionCopyright © 2003–2018 eXo Platform SAS. All rights reserved.