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
    • Constructor Detail

      • ProtocolCleanupBean

        public ProtocolCleanupBean()
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • setProtocolType

        public void setProtocolType​(EProtocolType protocolType)
      • 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