Package de.xima.fc.gui.bean.protocol
Class ProtocolCleanupBean
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class ProtocolCleanupBean extends FCContextBean
Bean for cleaning up the protocol- 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
-
Fields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean
-
-
Constructor Summary
Constructors Constructor Description ProtocolCleanupBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
cleanupProtocol()
Deletes all protocol entries according to the configurationEProtocolCleanupRange
getCleanupRange()
Date
getOlderThanDate()
String
getOlderThanDateDisplayString()
long
getOlderThanDays()
String
getOlderThanDaysDisplayString()
EProtocolType
getProtocolType()
ViewBean
getViewBean()
Deprecated.void
init()
boolean
isKeepFormRecordHistory()
void
setCleanupRange(EProtocolCleanupRange cleanupRange)
void
setKeepFormRecordHistory(boolean keepFormRecordHistory)
void
setOlderThanDate(Date olderThanDate)
void
setOlderThanDays(long olderThanDays)
void
setProtocolType(EProtocolType protocolType)
void
setViewBean(ViewBean viewBean)
Deprecated.-
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
-
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getProtocolType
public EProtocolType getProtocolType()
-
setProtocolType
public void setProtocolType(EProtocolType protocolType)
-
getCleanupRange
public EProtocolCleanupRange getCleanupRange()
-
setCleanupRange
public void setCleanupRange(EProtocolCleanupRange cleanupRange)
-
getOlderThanDate
public Date getOlderThanDate()
-
setOlderThanDate
public void setOlderThanDate(Date olderThanDate)
-
getOlderThanDateDisplayString
public String getOlderThanDateDisplayString()
-
getOlderThanDays
public long getOlderThanDays()
-
setOlderThanDays
public void setOlderThanDays(long olderThanDays)
-
getOlderThanDaysDisplayString
public String getOlderThanDaysDisplayString()
-
isKeepFormRecordHistory
public boolean isKeepFormRecordHistory()
-
setKeepFormRecordHistory
public void setKeepFormRecordHistory(boolean keepFormRecordHistory)
-
cleanupProtocol
public void cleanupProtocol()
Deletes all protocol entries according to the configuration
-
getViewBean
@Deprecated public ViewBean getViewBean()
Deprecated.
-
setViewBean
@Deprecated public void setViewBean(ViewBean viewBean)
Deprecated.
-
-