Class RestoreController

  • All Implemented Interfaces:
    Serializable

    @Named
    @SessionScoped
    public class RestoreController
    extends Object
    implements Serializable
    CID Bean for the resync service.

    The syncpoint is managed as a string in the format 2019-12-31T06:00

    Author:
    rsoika
    See Also:
    Serialized Form
    • Field Detail

      • options

        protected List<org.imixs.workflow.ItemCollection> options
    • Constructor Detail

      • RestoreController

        public RestoreController()
    • Method Detail

      • reset

        public void reset()
        This method initializes the default sync date
      • getRestoreFrom

        public String getRestoreFrom()
      • getRestoreTo

        public String getRestoreTo()
      • setRestoreTo

        public void setRestoreTo​(String restorePoint)
      • getRestoreSyncPoint

        public Date getRestoreSyncPoint()
        returns the syncpoint of the current configuration
        Returns:
      • getRestoreCount

        public long getRestoreCount()
      • getRestoreErrors

        public long getRestoreErrors()
      • getRestoreSize

        public String getRestoreSize()
      • getRestoreSizeUnit

        public String getRestoreSizeUnit()
      • getSyncPoint

        public long getSyncPoint()
        returns the syncpoint of the current configuration
        Returns:
      • getSyncPointISO

        public String getSyncPointISO()
        returns the syncpoint of the current configuration
        Returns:
      • startRestore

        public void startRestore()
        This method starts a restore process
      • stopRestore

        public void stopRestore()
        This method cancels a current running sny process
        Throws:
        ArchiveException
      • isRunning

        public boolean isRunning()
        Returns true if a restore is running.
        Returns:
      • getOptions

        public List<org.imixs.workflow.ItemCollection> getOptions()
        This methd returns a ItemCollection for each option Example: #{restoreController.options}
        Returns:
      • setOptions

        public void setOptions​(List<org.imixs.workflow.ItemCollection> options)
      • addOption

        public void addOption()
        Adds a new filter option
      • removeOption

        public void removeOption​(String optionName)
        Removes an option by name
        Parameters:
        optionName -