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 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() |
Map<SamplingStrategy,String> |
getSamplingStrategies() |
Map<String,String> |
getTerrestrialLocations() |
UpdateContactCommand |
getUpdateContactCommand() |
void |
prepare() |
void |
setContactId(String contactId) |
void |
setReferentialService(ReferentialService referentialService) |
void |
setService(ContactsService service) |
void |
setWaoUsersService(WaoUsersService waoUsersService) |
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 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
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 prepare()
prepare in interface com.opensymphony.xwork2.Preparablepublic void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportCopyright © 2009–2014 Ifremer. All rights reserved.