public class ContactsAction extends WaoJspActionSupport implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected ObsMerContactsList |
contactsList
List of contacts according to the input pager and filter.
|
protected ContactsFilter |
filter
Contacts filter.
|
protected long |
firstRangePage |
protected long |
lastRangePage |
protected Date |
now |
protected int |
pageNumber |
protected ContactsService |
service |
applicationConfig, session| Constructor and Description |
|---|
ContactsAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
applyFilter() |
static String |
escapeForToolTip(String str)
Devrait résoudre un problème que pose le composant ck/tooltip.
|
String |
execute() |
List<Contact> |
getContacts() |
String |
getContactToHighlightId() |
Map<String,String> |
getDcf5CodesAndDescriptions(SampleRow sampleRow) |
String |
getDivision(SampleRow sampleRow) |
ContactsFilter |
getFilter() |
String |
getFilterPeriodFromPlaceholder() |
String |
getFilterPeriodToPlaceholder() |
ContactsFilterValues |
getFilterValues() |
long |
getFirstRangePage() |
long |
getLastRangePage() |
String |
getMammalsInfo(Contact contact) |
org.nuiton.util.pagination.PaginationResult<Contact> |
getPagination() |
boolean |
isAcceptable(Contact contact) |
boolean |
isBoardingDone(Contact contact) |
boolean |
isFullView() |
boolean |
isRefusable(Contact contact) |
boolean |
isUnacceptable(Contact contact) |
void |
prepare() |
String |
resetFilter() |
void |
setPageNumber(int pageNumber) |
void |
setService(ContactsService service) |
void |
validate() |
formatDate, formatDateMonth, formatDateTime, formatDateYear, formatMonth, getAuthenticatedWaoUser, getInstanceDisclaimer, getNow, getObsProgram, getOneYearAgoDatePlaceHolder, getPaginationFirstPage, getPaginationLastPage, getPaginationUrl, getSession, getText, getText, isGoogleAnalyticsEnabled, isLocaleFrench, isObsDeb, isObsMer, isObsVentegetApplicationConfig, getLocale, set_, setApplicationConfig, setFragment, setSessionaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrorsprotected transient ContactsService service
protected int pageNumber
protected long firstRangePage
protected long lastRangePage
protected ContactsFilter filter
protected ObsMerContactsList contactsList
protected Date now
public void setService(ContactsService service)
public void setPageNumber(int pageNumber)
public long getFirstRangePage()
public long getLastRangePage()
public ContactsFilter getFilter()
public ContactsFilterValues getFilterValues()
public org.nuiton.util.pagination.PaginationResult<Contact> getPagination()
public void prepare()
prepare in interface com.opensymphony.xwork2.Preparablepublic void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportpublic String execute()
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportpublic String resetFilter()
public String applyFilter()
public String getFilterPeriodFromPlaceholder()
public String getFilterPeriodToPlaceholder()
public boolean isFullView()
public boolean isBoardingDone(Contact contact)
public static String escapeForToolTip(String str)
public String getContactToHighlightId()
public Map<String,String> getDcf5CodesAndDescriptions(SampleRow sampleRow)
public boolean isAcceptable(Contact contact)
public boolean isRefusable(Contact contact)
public boolean isUnacceptable(Contact contact)
Copyright © 2009–2014 Ifremer. All rights reserved.