Package de.xima.fc.gui.bean.protocol
Class ProtocolBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class ProtocolBean extends FCContextBean
Bean für die aktuelle Session und deren Informationen- 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 ProtocolBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LazyEntityListModel<ProtocolEntryClient>
getClientModel()
Date
getFilterFromDate()
Date
getFilterToDate()
LazyEntityListModel<ProtocolEntryProcessing>
getProcessModel()
LazyEntityListModel<ProtocolEntrySystem>
getSystemModel()
void
init()
void
setFilterFromDate(Date filterFromDate)
void
setFilterToDate(Date filterToDate)
void
togglePreserve(AProtocolEntry entry)
Toggles theAProtocolEntry.isPreserve()
flag of the given protocol entry and saves the modification to the database.-
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 public void init()
-
getProcessModel
public LazyEntityListModel<ProtocolEntryProcessing> getProcessModel()
-
getClientModel
public LazyEntityListModel<ProtocolEntryClient> getClientModel()
-
getSystemModel
public LazyEntityListModel<ProtocolEntrySystem> getSystemModel()
-
getFilterFromDate
public Date getFilterFromDate()
-
setFilterFromDate
public void setFilterFromDate(Date filterFromDate)
-
getFilterToDate
public Date getFilterToDate()
-
setFilterToDate
public void setFilterToDate(Date filterToDate)
-
togglePreserve
public void togglePreserve(AProtocolEntry entry)
Toggles theAProtocolEntry.isPreserve()
flag of the given protocol entry and saves the modification to the database.- Parameters:
entry
- Entry to modify.
-
-