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
systemUC
Fields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Befüllung für die 24-Stunden-Anischtvoid
void
Befüllung für die Live-Ansicht (6 Stunden)void
Befüllung für die Ansicht eines Monats (28 Tage)void
Befüllung für die 7-Tage-Ansichtvoid
Befüllung für die Jahres-Anischt (12 Monate)protected String
org.primefaces.model.charts.line.LineChartModel
int
void
protected void
init()
boolean
isLive()
void
setCurrentProjekt
(Projekt currentProject) void
setCurrentTimeSpan
(ETimeSpan currentTimeSpan) void
setOffset
(int offset) Methods inherited from class de.xima.fc.gui.bean.statistics.AStatisticsBean
getExport, setExportData
Methods inherited from class de.xima.fc.gui.bean.FCContextBean
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubView
Methods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDB
Methods 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, uc
Methods 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, msg
Methods 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:
getExportFilename
in 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)
-