Package de.xima.fc.gui.bean.statistics
Class StatisticsHistoryBean
java.lang.Object
de.xima.fc.gui.common.utils.msg.I18nUtils
de.xima.fc.gui.common.utils.msg.MessageUtils
de.xima.fc.gui.common.utils.msg.AMessaging
de.xima.fc.gui.common.utils.msg.AJSFContext
de.xima.fc.gui.bean.ABackendJSFContext
de.xima.fc.gui.bean.FCContextBean
de.xima.fc.gui.bean.statistics.AStatisticsBean
de.xima.fc.gui.bean.statistics.StatisticsHistoryBean
- All Implemented Interfaces:
Serializable
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder -
Field Summary
Fields inherited from class de.xima.fc.gui.bean.FCContextBean
systemUCFields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidBefüllung für die 24-Stunden-AnischtvoidvoidBefüllung für die Live-Ansicht (6 Stunden)voidBefüllung für die Ansicht eines Monats (28 Tage)voidBefüllung für die 7-Tage-AnsichtvoidBefüllung für die Jahres-Anischt (12 Monate)protected Stringorg.primefaces.model.charts.line.LineChartModelintvoidprotected voidinit()booleanisLive()voidsetCurrentProjekt(Projekt currentProject) voidsetCurrentTimeSpan(ETimeSpan currentTimeSpan) voidsetOffset(int offset) Methods inherited from class de.xima.fc.gui.bean.statistics.AStatisticsBean
getExport, setExportDataMethods inherited from class de.xima.fc.gui.bean.FCContextBean
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubViewMethods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDBMethods inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, findUserContext, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, ucMethods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, errorMsg, errorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg, msgMethods inherited from class de.xima.fc.gui.common.utils.msg.I18nUtils
getFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefault
-
Constructor Details
-
StatisticsHistoryBean
public StatisticsHistoryBean()
-
-
Method Details
-
init
@PostConstruct protected void init() -
getCurrentProjekt
-
setCurrentProjekt
-
setOffset
public void setOffset(int offset) - Parameters:
offset- the offset to set
-
getOffset
public int getOffset()- Returns:
- the offset
-
incrementOffset
public void incrementOffset() -
decrementOffset
public void decrementOffset() -
getCurrentTimeSpan
- Returns:
- the currentTimeSpan
-
setCurrentTimeSpan
- Parameters:
currentTimeSpan- the currentTimeSpan to set
-
getHistoryModel
public org.primefaces.model.charts.line.LineChartModel getHistoryModel() -
isLive
public boolean isLive() -
getProjekte
-
getExportFilename
- Specified by:
getExportFilenamein classAStatisticsBean- Returns:
- The file name for the downloaded image file with the chart.
-
fillHistoryModel
public void fillHistoryModel() -
fillLiveModel
public void fillLiveModel()Befüllung für die Live-Ansicht (6 Stunden) -
fillDayModel
public void fillDayModel()Befüllung für die 24-Stunden-Anischt -
fillWeekModel
public void fillWeekModel()Befüllung für die 7-Tage-Ansicht -
fillMonthModel
public void fillMonthModel()Befüllung für die Ansicht eines Monats (28 Tage) -
fillYearModel
public void fillYearModel()Befüllung für die Jahres-Anischt (12 Monate)
-