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
@Named @ViewScoped public class StatisticsHistoryBean extends AStatisticsBean
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
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
-
-
Constructor Summary
Constructors Constructor Description StatisticsHistoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decrementOffset()
void
fillDayModel()
Befüllung für die 24-Stunden-Anischtvoid
fillHistoryModel()
void
fillLiveModel()
Befüllung für die Live-Ansicht (6 Stunden)void
fillMonthModel()
Befüllung für die Ansicht eines Monats (28 Tage)void
fillWeekModel()
Befüllung für die 7-Tage-Ansichtvoid
fillYearModel()
Befüllung für die Jahres-Anischt (12 Monate)Projekt
getCurrentProjekt()
ETimeSpan
getCurrentTimeSpan()
protected String
getExportFilename()
org.primefaces.model.charts.line.LineChartModel
getHistoryModel()
int
getOffset()
List<Projekt>
getProjekte()
void
incrementOffset()
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, 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, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
-
-
-
-
Method Detail
-
init
@PostConstruct protected void init()
-
getCurrentProjekt
public Projekt getCurrentProjekt()
-
setCurrentProjekt
public void setCurrentProjekt(Projekt currentProject)
-
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
public ETimeSpan getCurrentTimeSpan()
- Returns:
- the currentTimeSpan
-
setCurrentTimeSpan
public void setCurrentTimeSpan(ETimeSpan currentTimeSpan)
- Parameters:
currentTimeSpan
- the currentTimeSpan to set
-
getHistoryModel
public org.primefaces.model.charts.line.LineChartModel getHistoryModel()
-
isLive
public boolean isLive()
-
getExportFilename
protected String 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)
-
-