public class ShowSPEAPresentationAction extends AbstractSPEAPresentationAction
| Modifier and Type | Field and Description |
|---|---|
protected int |
associatedTerritoryId |
protected boolean |
canCheck
can check ?
|
protected boolean |
canEdit
can edit ?
|
protected boolean |
canMandate
can mandate ?
|
protected boolean |
canView
can view ?
|
protected boolean |
canViewMandate
can view mandate ?
|
protected boolean |
canViewUsers
true if current user can view this territory's users
|
protected boolean |
edit
Input parameter.
|
protected FileExchangeService |
fileExchangeService |
protected Calendar |
lastRPQSDate
Used to store the last RPQS generation date for the SPEA
|
protected Map<SpeaMemberDto,String> |
memberDepartementOrDdtName
Store for spea member his ddt or departement name.
|
protected Map<String,String> |
municipalityLabelMaps
Store for spea municipality his name with his inseeCode.
|
protected boolean |
rpqs
Input parameter.
|
protected Map<Integer,DataRatioDto> |
speaDataRatioMap
Store for each spea the ratio associated.
|
protected Map<Integer,SPEALotStatus> |
speaLotStatusMap
Store for each spea the lot status associated.
|
protected TerritoryDto |
territory
Territory associated to current organism displayed.
|
availableUsers, ddt, DEFAULT_SMALLER_PAGE_SIZE, mandate, pagingEquipment, pagingMandate, pagingMember, spea, usersToMandateid, orgId, referentialService, speaLotServicechosenExerciseId, exercise, exerciseList, exerciseServicepagingUser, searchUsersInfoapplication, configuration, formatDate, formatDateOnly, menu, nextPage, parameters, serviceMessages, session, sispeaSession, strutsMessages, submitValue, territoryService, userService| Constructor and Description |
|---|
ShowSPEAPresentationAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildMenu()
Initializes the menu.
|
protected String |
doExecute()
This method is called by the execute method.
|
protected void |
generateRpqs(UserDto pCurrentUser,
OrganismDto pOrganism,
ExerciseDto pExercise)
This method generates the RPQS for the SPEA.
|
int |
getAssociatedTerritoryId() |
String |
getEquipmentMunicipality(String pInseeCode) |
Calendar |
getLastRPQSDate() |
String |
getMemberDepartementOrDdtName(SpeaMemberDto member) |
DataRatioDto |
getSpeaDataRatio(Integer speaId) |
SPEALotStatus |
getSpeaLotStatus(Integer speaId) |
TerritoryDto |
getTerritory() |
boolean |
isCanCheck() |
boolean |
isCanEdit() |
boolean |
isCanMandate() |
boolean |
isCanView() |
boolean |
isCanViewMandate() |
boolean |
isCanViewUsers() |
boolean |
isEdit() |
boolean |
isRpqs() |
boolean |
isUserMandated(String pUserLogin) |
protected void |
loadSpeaRPQSDate()
loads spea rpqs date if exists
|
void |
setAssociatedTerritoryId(int associatedTerritoryId) |
void |
setCanCheck(boolean canCheck) |
void |
setCanEdit(boolean canEdit) |
void |
setCanMandate(boolean canMandate) |
void |
setCanView(boolean canView) |
void |
setCanViewMandate(boolean canViewMandate) |
void |
setCanViewUsers(boolean canViewUsers) |
void |
setEdit(boolean pEdit) |
void |
setLastRPQSDate(Calendar pLastRPQSDate) |
void |
setRpqs(boolean pRpqs) |
getAvailableUsers, getDataDownloadFormatCSV, getDataDownloadFormatXML, getDdt, getExerciseId, getPagingEquipment, getPagingMandate, getPagingMember, getProperMenuKey, getSpea, getSpeaId, getUsersToMandate, initPagingSizes, isMandating, isSearching, manageEquipmentPaging, manageMandatePaging, manageMemberPaging, setAvailableUsers, setDdt, setExerciseId, setSpea, setSpeaId, setUsersToMandatecheckId, computeCanViewUsers, getAssociatedTerritoryId, getId, hasViewAccess, readDdt, readDepartment, setIdcheckExercise, getChosenExerciseId, getExercise, getExerciseList, loadExerciseList, setChosenExerciseId, setExercisecheckSessionParams, formatString, getAllUserTypes, getBooleanCriteria, getConnectionTypes, getPagingUser, getSearchUsersInfo, getTrueCriterion, getUserTypes, loadUsers, manageUserPaging, setSearchUsersInfocheckIfUserCanViewDashBoard, checkRight, checkUserRight, checkUserRight, checkUserRight, createMenu, 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 FileExchangeService fileExchangeService
protected boolean rpqs
protected boolean edit
protected Calendar lastRPQSDate
protected Map<Integer,SPEALotStatus> speaLotStatusMap
protected Map<Integer,DataRatioDto> speaDataRatioMap
protected Map<SpeaMemberDto,String> memberDepartementOrDdtName
protected Map<String,String> municipalityLabelMaps
protected boolean canViewUsers
protected boolean canView
protected boolean canCheck
protected boolean canEdit
protected boolean canViewMandate
protected boolean canMandate
protected TerritoryDto territory
protected int associatedTerritoryId
protected String doExecute() throws Exception
AbstractSispeaActiondoExecute in class AbstractSispeaActionExceptionpublic void buildMenu()
throws SispeaException
buildMenu in class AbstractSispeaActionSispeaExceptionprotected void generateRpqs(UserDto pCurrentUser, OrganismDto pOrganism, ExerciseDto pExercise) throws SispeaException
pCurrentUser - pOrganism - pExercise - SispeaExceptionprotected void loadSpeaRPQSDate()
throws SispeaException
SispeaExceptionpublic boolean isRpqs()
public void setRpqs(boolean pRpqs)
public boolean isEdit()
public void setEdit(boolean pEdit)
public Calendar getLastRPQSDate()
public void setLastRPQSDate(Calendar pLastRPQSDate)
public SPEALotStatus getSpeaLotStatus(Integer speaId)
public DataRatioDto getSpeaDataRatio(Integer speaId)
public String getMemberDepartementOrDdtName(SpeaMemberDto member)
public boolean isCanViewUsers()
public void setCanViewUsers(boolean canViewUsers)
public boolean isCanView()
public void setCanView(boolean canView)
public boolean isCanCheck()
public void setCanCheck(boolean canCheck)
public boolean isCanEdit()
public void setCanEdit(boolean canEdit)
public boolean isCanViewMandate()
public void setCanViewMandate(boolean canViewMandate)
public TerritoryDto getTerritory()
public int getAssociatedTerritoryId()
public void setAssociatedTerritoryId(int associatedTerritoryId)
public boolean isUserMandated(String pUserLogin)
pUserLogin - public boolean isCanMandate()
public void setCanMandate(boolean canMandate)
Copyright © 2014–2015 eaudefrance. All rights reserved.