public abstract class AbstractSpeaIndicatorsAction extends AbstractSispeaAction
| Modifier and Type | Field and Description |
|---|---|
protected XmlDisplayGroup |
dataContextGroup
Data Context xml display group
|
protected List<DataListDto> |
dataLists
Lists of IP/VP
|
protected String |
dcCode
Data context group
|
protected DrinkingWaterVolumeService |
drinkingWaterService |
protected DrinkingWaterNetworkSchemaBean |
dwnSchema
Bean holding all values for the drinking water network schema.
|
protected boolean |
editingAutopublish
true if autopublish is beiing edited
|
protected boolean |
editingComment
true if comment is beiing edited
|
protected boolean |
editingDataToInput
true if datatoinput is beiing edited
|
protected String |
editingGroupId
editing mode
|
protected String |
emptyData
Alert message no data
|
protected ExerciseDto |
exercise
exercise to display
|
protected Integer |
exerciseId
Exercise id to display
|
protected Map<String,String> |
exerciseList |
protected ExerciseService |
exerciseService |
protected FileExchangeService |
fileExchangeService |
protected FormCalculateService |
formCalculateService |
protected String |
generalComment
general comment on lot
|
protected String |
groupToEditId
group to edit id to go back to data page
|
protected boolean |
hasCheckRight
true if user has check right
|
protected boolean |
hasEditRight
true if user has edit right
|
protected boolean |
hasPublishRight
true if user has publish right
|
protected boolean |
hasUnpublishRight
true if user has unpublish right
|
protected boolean |
hasViewRight
true if user has view right
|
protected Integer |
id
spea id to display
|
protected IndicatorService |
indicatorService |
protected com.google.common.collect.Multimap<Integer,String> |
ipOrVpCodesPerDataList
Key: dataList id, Values : all ip and vp code of the dataList.
|
protected SPEALotDto |
lot
data lot to display
|
protected Long |
lowerBound
the value of lower bound
|
protected SPEALotDto |
oldLot
data lot from previous exercise
|
protected PasswordService |
passwordService |
protected ReferentialService |
referentialService |
protected String |
slicesToAddVP177
Slices to add for VP.177, upper bounds slices values are separated with ';'
|
protected String |
slicesToAddVP178
Slices to add for VP.178, upper bounds slices values are separated with ';'
|
protected String |
slicesToDeleteVP177
Slices to delete for VP.177, upper bounds slices values are separated with ';'
|
protected String |
slicesToDeleteVP178
Slices to delete for VP.178, upper bounds slices values are separated with ';'
|
protected SPEADto |
spea
spea to display
|
protected SPEALotService |
speaLotService |
protected boolean |
unpublishable |
protected String |
upperBound
the value of upper bound
|
protected String |
upperBoundVP177
the value of upper bound for vp 177
|
protected String |
upperBoundVP178
the value of upper bound for vp 178
|
protected List<XmlGroupTab> |
xmlGroups
display xmlGroup list
|
application, configuration, formatDate, formatDateOnly, menu, nextPage, parameters, serviceMessages, session, sispeaSession, strutsMessages, submitValue, territoryService, userService| Constructor and Description |
|---|
AbstractSpeaIndicatorsAction() |
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 ReferentialService referentialService
@Autowired protected transient SPEALotService speaLotService
@Autowired protected transient ExerciseService exerciseService
@Autowired protected transient FileExchangeService fileExchangeService
@Autowired protected transient IndicatorService indicatorService
@Autowired protected transient DrinkingWaterVolumeService drinkingWaterService
@Autowired protected transient PasswordService passwordService
@Autowired protected transient FormCalculateService formCalculateService
protected Integer id
protected Integer exerciseId
protected ExerciseDto exercise
protected SPEALotDto lot
protected SPEALotDto oldLot
protected SPEADto spea
protected String generalComment
protected boolean editingComment
protected boolean editingDataToInput
protected boolean editingAutopublish
protected boolean unpublishable
protected String upperBound
protected String upperBoundVP177
protected String upperBoundVP178
protected Long lowerBound
protected List<XmlGroupTab> xmlGroups
protected boolean hasViewRight
protected boolean hasEditRight
protected boolean hasCheckRight
protected boolean hasPublishRight
protected boolean hasUnpublishRight
protected String editingGroupId
protected String groupToEditId
protected String dcCode
protected XmlDisplayGroup dataContextGroup
protected List<DataListDto> dataLists
protected DrinkingWaterNetworkSchemaBean dwnSchema
protected String slicesToDeleteVP177
protected String slicesToDeleteVP178
protected String slicesToAddVP177
protected String slicesToAddVP178
protected String emptyData
protected void manageViewActions(boolean pJustShowIndictors,
boolean pFromSession,
boolean pReloadLot)
throws SispeaException
SispeaExceptionprotected void loadUserRights()
throws SispeaException
SispeaExceptionprotected void checkSpeaParameter()
throws SispeaException
SispeaExceptionprotected void checkExerciseParameter()
throws SispeaException
SispeaExceptionprotected void loadSpea(ExerciseDto pExercise) throws SispeaException
SispeaExceptionprotected void loadLot()
throws SispeaException
SispeaExceptionprotected void loadOldLot()
throws SispeaException
SispeaExceptionprotected void computeDrinkingWaterNetworkValues(SPEALotDto pSpeaLot) throws SispeaException
SispeaExceptionprotected void loadDataLists()
throws SispeaException
SispeaExceptionpublic boolean shouldDisplayDataListForAllTabs(Integer pDataListId)
pDataListId - public boolean shouldDisplayDataListInTab(Integer pDataListId, String pGroupTabId)
pDataListId - id of dataList to testpGroupTabId - id of tab to testpublic boolean isDataInDataList(Integer pDataListId, String pCode)
pDataListId - id of dataList to testpCode - ip or vp code to testprotected boolean computeUserViewRight()
protected boolean computeUserEditRight()
protected boolean computeUserCheckRight()
protected boolean computeUserPublishRight()
protected boolean computeUserUnpublishRight()
public List<XmlGroupTab> buildXmlBean(SPEALotDto pLot, SPEALotDto pOldLot, int pCompetenceId, Boolean pHasViewRight) throws SispeaException
pLot - pCompetenceId - pHasViewRight - SispeaExceptionpublic List<Long> getSortedUpperBound(SPEALotDto speaLot)
speaLot - public boolean isDisplayRealDataContext()
protected boolean displayResultMessages(Collection<MessageDto> pMessages)
pMessages - public String getValueCodeToDetail(String pGroupId)
pGroupId - protected XmlGroupTab getEditedTab(List<XmlGroupTab> pXmlGroups)
pXmlGroups - public List<String> getOriginsFormated()
protected void generateRpqs(UserDto pCurrentUser, OrganismDto pOrganism, ExerciseDto pExercise) throws SispeaException
pCurrentUser - pOrganism - pExercise - SispeaExceptionprotected Map<String,String> buildExerciseList() throws SispeaException
SispeaExceptionpublic Map<String,String> getDataTypes()
public Map<String,String> getAutoPublishValues()
public int getDisplaySessionTimeOut()
public List<Verification> getVerifications()
public List<Reliability> getReliabilities()
public Map<String,String> getReliabilityTypes()
public Integer getExerciseId()
public void setExerciseId(Integer pExerciseId)
public void setStrExerciseId(String pExerciseId)
public Integer getChosenExerciseId()
public void setChosenExerciseId(Integer pChosenExerciseId)
public Integer getId()
public void setId(Integer pId)
public Integer getSpeaId()
public void setSpeaId(Integer pSpeaId)
public SPEADto getSpea()
public void setSpea(SPEADto pSpea)
public List<XmlGroupTab> getXmlGroups()
public void setXmlGroups(List<XmlGroupTab> pXmlGroups)
public XmlGroupTab getXmlGroup(String pGroupTabId)
public SPEALotDto getLot()
public void setLot(SPEALotDto pLot)
public boolean isHasViewRight()
throws SispeaException
SispeaExceptionpublic void setHasViewRight(boolean pHasViewRight)
public boolean isHasEditRight()
throws SispeaException
SispeaExceptionpublic boolean isHasCheckRight()
throws SispeaException
SispeaExceptionpublic boolean isHasPublishRight()
public void setHasPublishRight(boolean pHasPublishRight)
public boolean isHasUnpublishRight()
public void setHasUnpublishRight(boolean pHasUnpublishRight)
public ExerciseDto getExercise()
public void setExercise(ExerciseDto pExercise)
public String getEditingGroupId()
public void setEditingGroupId(String pEditingGroupId)
public boolean isEditing()
public String getGeneralComment()
public void setGeneralComment(String pGeneralComment)
public boolean isEditingComment()
public void setEditingComment(boolean pEditingComment)
public boolean isEditingDataToInput()
public void setEditingDataToInput(boolean pEditingDataToInput)
public String getDcCode()
public XmlDisplayGroup getDataContextGroup()
public void setDataContextGroup(XmlDisplayGroup pDataContextGroup)
public boolean isUnpublishable()
throws SispeaException
SispeaExceptionpublic boolean isEditingAutopublish()
public void setEditingAutopublish(boolean pEditingAutopublish)
public String getUpperBound()
public void setUpperBound(String pUpperBound)
public Long getMaxUpperBound()
public void setMaxUpperBound(String pUpperBound)
public String getUpperBoundVP177()
public void setUpperBoundVP177(String pUpperBoundVP177)
public String getUpperBoundVP178()
public void setUpperBoundVP178(String pUpperBoundVP178)
public Long getLowerBound()
public void setLowerBound(Long pLowerBound)
public String getGroupToEditId()
public void setGroupToEditId(String pGroupToEditId)
public Long getMaxSliceUpperBound()
public SPEALotDto getOldLot()
public void setOldLot(SPEALotDto pOldLot)
public List<DataListDto> getDataLists()
public void setDataLists(List<DataListDto> pDataLists)
public DataListDto getDataList(Integer pDataListId)
public DrinkingWaterNetworkSchemaBean getDwnSchema()
public String getSlicesToDeleteVP177()
public void setSlicesToDeleteVP177(String pSlicesToDeleteVP177)
public String getSlicesTAddVP177()
public void setSlicesToAddVP177(String pSlicesToAddVP177)
public String getSlicesToDeleteVP178()
public void setSlicesToDeleteVP178(String pSlicesToDeleteVP178)
public String getSlicesTAddVP178()
public void setSlicesToAddVP178(String pSlicesToAddVP178)
public String getEmptyData()
public void setEmptyData(String pEmptyData)
public boolean isDataTabsDisplayed()
public IndicatorService getIndicatorService()
public PasswordService getPasswordService()
public FormCalculateService getFormCalculateService()
public ServiceMessages getServiceMessages()
public StrutsMessages getStrutsMessages()
protected Map<String,String> loadExcerciseList() throws SispeaException
SispeaExceptionprotected boolean acceptDataListCompetence(DataListDto lDataList, CompetenceDto speaComptence)
protected boolean acceptDataListFromExercice(DataListDto lDataList, ExerciseDto exercise)
protected boolean acceptDataListToExercice(DataListDto lDataList, ExerciseDto exercise)
protected boolean acceptDataListIpOrVp(DataListDto lDataList, XmlGroupTab lTab)
Copyright © 2014–2015 eaudefrance. All rights reserved.