public abstract class AbstractSynthesisAction extends AbstractExerciseListAction
| Modifier and Type | Field and Description |
|---|---|
protected BoxAndWhiskerChartBean |
boxAndWhiskerChart
The scatter chart generated by the action.
|
protected CategoryChartBean |
categoryChart
The scatter chart Synthesis generated by the action .
|
protected Integer |
chosenCriterionId
selected Criterion id
|
protected Integer |
chosenIndicatorId
selectedIndicator :
|
protected Integer |
chosenSliceId
Selected slice :
|
protected CompetenceDto |
competence
competence to display
|
protected Integer |
competenceId
competence id to display
|
protected List<CriterionDto> |
criteria
exercise list
|
protected CriterionDto |
criterion
selected Criterion :
|
protected IndicatorDto |
indicator
The Indicator selected
|
protected Collection<IndicatorDto> |
indicators
List of indicator.
|
protected IndicatorService |
indicatorService |
protected List<IndicatorValueDto> |
ipValues
Table of ip values for drawing.
|
protected ReferentialService |
referentialService |
protected ScatterChartDto |
scatterChart
The scatter chart generated by the action.
|
protected SliceDto |
slice
Selected slice
|
protected List<SliceDto> |
slices
Slices :
|
protected List<SliceValuesDto> |
slicesConsolidatedValues
slicesValues_ :
|
protected SliceService |
sliceService |
protected Short |
sliceYear
Selected slice year
|
protected List<SynthDisplayDto> |
synthDisplays
the synth display list
|
chosenExerciseId, exercise, exerciseList, exerciseServicepagingUser, searchUsersInfoapplication, configuration, formatDate, formatDateOnly, menu, nextPage, parameters, serviceMessages, session, sispeaSession, strutsMessages, submitValue, territoryService, userService| Constructor and Description |
|---|
AbstractSynthesisAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addScatterValueToChart(ScatterChartDto pScatterChart,
List<ScatterValueDto> pSerie)
adds the value of the list in the chart object
|
protected List<Short> |
buildAllowedStatusIds() |
protected String |
buildCriterionDescription(boolean pOnlyUnit) |
protected Map<String,String> |
buildCriterionNameMap(Integer chosenExerciseId) |
protected String |
buildIndicatorDescription(boolean pOnlyUnit) |
protected String |
buildTitleDescription() |
protected boolean |
canViewItsOwnServices(UserDto pUser) |
protected void |
checkAndGetCompetence()
check competence parameters and raise exception if not valid
|
protected void |
checkAndGetCriterion(boolean pGlobalSynthesis)
check criterion parameter and raise exception if not valid
|
protected void |
checkAndGetIndicator(boolean pGlobalSynthesis,
boolean pCheckConsolidation)
check indicator parameter and raise exception if not valid
|
protected void |
checkAndGetParameters(boolean pGlobalSynthesis,
boolean pCheckConsolidation)
check parameters and raise exception if not valid
|
protected void |
checkAndGetSlices(boolean pGlobalSynthesis)
check slice parameter and raise exception if not valid
|
BoxAndWhiskerChartBean |
getBoxAndWhiskerChart() |
CategoryChartBean |
getCategoryChart() |
String |
getChartServletUrl() |
protected ScatterChartDto |
getChartSynthesisBySlice(List<Integer> pSpeaIds,
List<Integer> pOwnSpeaIds,
IndicatorDto pIndicator,
CriterionDto pCriterion,
SliceDto pSlice,
List<SliceValuesDto> pSliceValues,
boolean pSmaller)
return a point cloud chart for typology synthesis for one slice
|
Integer |
getChosenCriterionId() |
Integer |
getChosenIndicatorId() |
Integer |
getChosenSliceId() |
CompetenceDto |
getCompetence() |
Integer |
getCompetenceId() |
List<CriterionDto> |
getCriteria() |
CriterionDto |
getCriterion() |
IndicatorDto |
getIndicator() |
Collection<IndicatorDto> |
getIndicators() |
List<IndicatorValueDto> |
getIpValues() |
String |
getMenuKey(Boolean pGlobalSynthsesis) |
ScatterChartDto |
getScatterChart() |
SliceDto |
getSlice() |
List<SliceDto> |
getSlices() |
List<SliceValuesDto> |
getSlicesConsolidatedValues() |
List<SliceValuesDto> |
getSlicesValues() |
Short |
getSliceYear() |
List<SynthDisplayDto> |
getSynthDisplays() |
protected boolean |
getVisibility(Integer pExerciseId,
Integer pIndicatorId) |
protected Boolean |
getVisibility(Integer pExerciseId,
Integer pIndicatorId,
Integer pSliceId,
Integer pSliceNbValues) |
protected void |
processBarChart(ExerciseDto exercise,
IndicatorDto indicator,
List<SliceValuesDto> slicesConsolidatedValues,
boolean pSmaller)
do the job for bar synthesis display
|
protected void |
processScatterChart(SliceDto slice,
boolean pSmaller)
do the job for box and whisker synthesis display
|
void |
setBoxAndWhiskerChart(BoxAndWhiskerChartBean pBoxAndWhiskerChart) |
void |
setCategoryChart(CategoryChartBean pCategoryChart) |
void |
setChosenCriterionId(Integer pChosenCriterionId) |
void |
setChosenIndicatorId(Integer pChosenIndicatorId) |
void |
setChosenSliceId(Integer pChosenSliceId) |
void |
setCompetence(CompetenceDto pCompetence) |
void |
setCompetenceId(Integer pCompetenceId) |
void |
setCriteria(List<CriterionDto> pCriteria) |
void |
setCriterion(CriterionDto pCriterion) |
void |
setIndicator(IndicatorDto pIndicator) |
void |
setIndicators(Collection<IndicatorDto> pIndicators) |
void |
setIpValues(List<IndicatorValueDto> pIpValues) |
void |
setScatterChart(ScatterChartDto pScatterChart) |
void |
setSlice(SliceDto pSlice) |
void |
setSlices(List<SliceDto> pSlices) |
void |
setSlicesConsolidatedValues(List<SliceValuesDto> pSlicesConsolidatedValues) |
void |
setSlicesValues(List<SliceValuesDto> pSlicesValues) |
void |
setSliceYear(Short pSliceYear) |
void |
setSynthDisplays(List<SynthDisplayDto> pSynthDisplays) |
checkExercise, getChosenExerciseId, getExercise, getExerciseList, loadExerciseList, setChosenExerciseId, setExercisecheckSessionParams, formatString, getAllUserTypes, getBooleanCriteria, getConnectionTypes, getPagingUser, getSearchUsersInfo, getTrueCriterion, getUserTypes, loadUsers, manageUserPaging, setSearchUsersInfobuildMenu, 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 IndicatorService indicatorService
@Autowired protected transient SliceService sliceService
protected Integer competenceId
protected CompetenceDto competence
protected Collection<IndicatorDto> indicators
protected Integer chosenIndicatorId
protected IndicatorDto indicator
protected List<CriterionDto> criteria
protected Integer chosenCriterionId
protected CriterionDto criterion
protected Integer chosenSliceId
protected SliceDto slice
protected Short sliceYear
protected List<SliceValuesDto> slicesConsolidatedValues
protected CategoryChartBean categoryChart
protected ScatterChartDto scatterChart
protected BoxAndWhiskerChartBean boxAndWhiskerChart
protected List<IndicatorValueDto> ipValues
protected List<SynthDisplayDto> synthDisplays
protected ScatterChartDto getChartSynthesisBySlice(List<Integer> pSpeaIds, List<Integer> pOwnSpeaIds, IndicatorDto pIndicator, CriterionDto pCriterion, SliceDto pSlice, List<SliceValuesDto> pSliceValues, boolean pSmaller) throws SispeaException
pSpeaIds - pIndicator - pCriterion - SispeaExceptionprotected void addScatterValueToChart(ScatterChartDto pScatterChart, List<ScatterValueDto> pSerie)
pScatterChart - pSerie - protected void checkAndGetParameters(boolean pGlobalSynthesis,
boolean pCheckConsolidation)
throws SispeaException
SispeaExceptionprotected void checkAndGetCompetence()
throws SispeaException
SispeaExceptionprotected void checkAndGetIndicator(boolean pGlobalSynthesis,
boolean pCheckConsolidation)
throws SispeaException
SispeaExceptionprotected void checkAndGetCriterion(boolean pGlobalSynthesis)
throws SispeaException
SispeaExceptionprotected void checkAndGetSlices(boolean pGlobalSynthesis)
throws SispeaException
SispeaExceptionprotected void processBarChart(ExerciseDto exercise, IndicatorDto indicator, List<SliceValuesDto> slicesConsolidatedValues, boolean pSmaller) throws SispeaException
SispeaExceptionprotected void processScatterChart(SliceDto slice, boolean pSmaller) throws SispeaException
SispeaExceptionprotected boolean canViewItsOwnServices(UserDto pUser)
public String getMenuKey(Boolean pGlobalSynthsesis)
pGlobalSynthsesis - true if called from global synthesis, false elseprotected String buildTitleDescription()
protected String buildCriterionDescription(boolean pOnlyUnit)
protected String buildIndicatorDescription(boolean pOnlyUnit)
protected Map<String,String> buildCriterionNameMap(Integer chosenExerciseId) throws SispeaException
SispeaExceptionpublic Integer getCompetenceId()
public void setCompetenceId(Integer pCompetenceId)
public CompetenceDto getCompetence()
public void setCompetence(CompetenceDto pCompetence)
public Collection<IndicatorDto> getIndicators()
public void setIndicators(Collection<IndicatorDto> pIndicators)
public Integer getChosenIndicatorId()
public void setChosenIndicatorId(Integer pChosenIndicatorId)
public IndicatorDto getIndicator()
public void setIndicator(IndicatorDto pIndicator)
public Integer getChosenCriterionId()
public void setChosenCriterionId(Integer pChosenCriterionId)
public CriterionDto getCriterion()
public void setCriterion(CriterionDto pCriterion)
public SliceDto getSlice()
public void setSlice(SliceDto pSlice)
public List<SynthDisplayDto> getSynthDisplays()
public void setSynthDisplays(List<SynthDisplayDto> pSynthDisplays)
public List<CriterionDto> getCriteria()
public void setCriteria(List<CriterionDto> pCriteria)
public List<SliceValuesDto> getSlicesValues()
public void setSlicesValues(List<SliceValuesDto> pSlicesValues)
public ScatterChartDto getScatterChart()
public void setScatterChart(ScatterChartDto pScatterChart)
public BoxAndWhiskerChartBean getBoxAndWhiskerChart()
public void setBoxAndWhiskerChart(BoxAndWhiskerChartBean pBoxAndWhiskerChart)
public Integer getChosenSliceId()
public void setChosenSliceId(Integer pChosenSliceId)
public List<SliceValuesDto> getSlicesConsolidatedValues()
public void setSlicesConsolidatedValues(List<SliceValuesDto> pSlicesConsolidatedValues)
public CategoryChartBean getCategoryChart()
public void setCategoryChart(CategoryChartBean pCategoryChart)
public String getChartServletUrl()
public List<IndicatorValueDto> getIpValues()
public void setIpValues(List<IndicatorValueDto> pIpValues)
public Short getSliceYear()
public void setSliceYear(Short pSliceYear)
protected boolean getVisibility(Integer pExerciseId, Integer pIndicatorId)
pExerciseId - pIndicatorId - Copyright © 2014–2015 eaudefrance. All rights reserved.