public class EditContactAction extends WaoJspActionSupport implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
contactStateMotives |
protected Map<ContactState,String> |
contactStates |
protected Map<DataReliability,String> |
dataReliabilities |
protected Map<ObservedDataControl,String> |
observedDataControls |
protected Map<String,String> |
observers |
protected com.google.common.base.Optional<String> |
optionalContactId
Id of contact to edit.
|
protected ReferentialService |
referentialService |
protected int |
returnToPageNumber |
protected Map<SamplingStrategy,String> |
samplingStrategies |
protected ContactsService |
service |
protected Map<String,String> |
terrestrialLocations |
protected UpdateContactCommand |
updateContactCommand |
protected WaoUsersService |
waoUsersService |
applicationConfig, session| Constructor and Description |
|---|
EditContactAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
String |
getContactId() |
Map<String,String> |
getContactStateMotives() |
Map<ContactState,String> |
getContactStates() |
Map<DataReliability,String> |
getDataReliabilities() |
String |
getDatePlaceholder() |
String |
getDateTimePlaceholder() |
Map<ObservedDataControl,String> |
getObservedDataControls() |
Map<String,String> |
getObservers() |
int |
getReturnToPageNumber() |
Map<SamplingStrategy,String> |
getSamplingStrategies() |
Map<String,String> |
getTerrestrialLocations() |
UpdateContactCommand |
getUpdateContactCommand() |
void |
prepare() |
void |
setContactId(String contactId) |
void |
setReferentialService(ReferentialService referentialService) |
void |
setReturnToPageNumber(int returnToPageNumber) |
void |
setService(ContactsService service) |
void |
setWaoUsersService(WaoUsersService waoUsersService) |
void |
validate() |
formatDate, formatDateMonth, formatDateTime, formatDateYear, formatMonth, getAuthenticatedWaoUser, getDefaultCookie, getInstanceDisclaimer, getNow, getObsProgram, getOneYearAgoDatePlaceHolder, getPaginationFirstPage, getPaginationLastPage, getPaginationUrl, getSession, getText, getText, isContactsListFullViewByDefault, isGoogleAnalyticsEnabled, isLocaleFrench, isObsMer, isObsVente, isSamplingPlanFullViewByDefaultgetApplicationConfig, set_, setApplicationConfig, setFragment, setSessionaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrorsprotected com.google.common.base.Optional<String> optionalContactId
protected Map<ContactState,String> contactStates
protected Map<ObservedDataControl,String> observedDataControls
protected Map<DataReliability,String> dataReliabilities
protected Map<SamplingStrategy,String> samplingStrategies
protected transient ContactsService service
protected transient WaoUsersService waoUsersService
protected transient ReferentialService referentialService
protected UpdateContactCommand updateContactCommand
protected int returnToPageNumber
public void setService(ContactsService service)
public void setWaoUsersService(WaoUsersService waoUsersService)
public void setReferentialService(ReferentialService referentialService)
public void setContactId(String contactId)
public String getContactId()
public UpdateContactCommand getUpdateContactCommand()
public Map<ContactState,String> getContactStates()
public Map<ObservedDataControl,String> getObservedDataControls()
public Map<DataReliability,String> getDataReliabilities()
public Map<SamplingStrategy,String> getSamplingStrategies()
public String getDateTimePlaceholder()
public String getDatePlaceholder()
public void setReturnToPageNumber(int returnToPageNumber)
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 int getReturnToPageNumber()
Copyright © 2009–2015 Ifremer. All rights reserved.