public abstract class AbstractUserAction extends AbstractSispeaAction
| Modifier and Type | Field and Description |
|---|---|
protected ExerciseService |
exerciseService |
protected UsersFormDto |
form
Both not used, just to avoid warning when displaying profil from user's list
|
protected PagingDto |
paging |
protected UserFormBean |
user |
application, configuration, formatDate, formatDateOnly, menu, nextPage, parameters, serviceMessages, session, sispeaSession, strutsMessages, submitValue, territoryService, userService| Constructor and Description |
|---|
AbstractUserAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkUserCorruption()
check if user is corrupted
|
Boolean |
editingProfile()
return true if editing profile, false else
|
Boolean |
getCanEditType() |
UsersFormDto |
getForm() |
PagingDto |
getPaging() |
UserFormBean |
getUser() |
Map<String,String> |
getUserTypes() |
void |
setForm()
check user's form
|
void |
setForm(UsersFormDto pForm) |
void |
setPaging(PagingDto pPaging) |
protected void |
updateLastUpdateDateWithCurrentTime()
Update the lastUpdateDate field from the user associated to the session,
with the current time.
|
UserFormBean |
validateUser(UserFormBean pUser,
boolean pCreating)
check user's validity
|
buildMenu, checkIfUserCanViewDashBoard, checkRight, checkUserRight, checkUserRight, checkUserRight, createMenu, doExecute, doHandleException, doHandleSispeaException, execute, getApplication, getCurrentUser, getCurrentUserTerritory, getFormatDate, getFormatDateOnly, getMenu, getNextPage, getOption, getParameters, getSession, getSispeaSession, getSubmitValue, initSession, isEnglish, isFrench, isSpanish, logException, openMenu, removeSession, setApplication, setMenu, setNextPage, setParameters, setSession, setSubmitValueaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate@Autowired protected transient ExerciseService exerciseService
protected UserFormBean user
protected UsersFormDto form
protected PagingDto paging
public UserFormBean validateUser(UserFormBean pUser, boolean pCreating) throws SispeaException
SispeaExceptionpublic void setForm()
public void checkUserCorruption()
public Boolean editingProfile()
protected void updateLastUpdateDateWithCurrentTime()
public Boolean getCanEditType()
public UserFormBean getUser()
public UsersFormDto getForm()
public void setForm(UsersFormDto pForm)
public PagingDto getPaging()
public void setPaging(PagingDto pPaging)
Copyright © 2014–2015 eaudefrance. All rights reserved.