@Named @SessionScoped public class RestoreController extends Object implements Serializable
The syncpoint is managed as a string in the format 2019-12-31T06:00
| Modifier and Type | Field and Description |
|---|---|
static String |
ISO_DATETIME_FORMAT |
protected List<org.imixs.workflow.ItemCollection> |
options |
| Constructor and Description |
|---|
RestoreController() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOption()
Adds a new filter option
|
List<String> |
getMessages() |
List<org.imixs.workflow.ItemCollection> |
getOptions()
This methd returns a ItemCollection for each option
Example:
#{restoreController.options}
|
long |
getRestoreCount() |
long |
getRestoreErrors() |
String |
getRestoreFrom() |
String |
getRestoreSize() |
String |
getRestoreSizeUnit() |
Date |
getRestoreSyncPoint()
returns the syncpoint of the current configuration
|
String |
getRestoreTo() |
long |
getSyncPoint()
returns the syncpoint of the current configuration
|
String |
getSyncPointISO()
returns the syncpoint of the current configuration
|
boolean |
isRunning()
Returns true if a restore is running.
|
void |
removeOption(String optionName)
Removes an option by name
|
void |
reset()
This method initializes the default sync date
|
void |
setOptions(List<org.imixs.workflow.ItemCollection> options) |
void |
setRestoreFrom(String restorePoint) |
void |
setRestoreTo(String restorePoint) |
void |
startRestore()
This method starts a restore process
|
void |
stopRestore()
This method cancels a current running sny process
|
public static final String ISO_DATETIME_FORMAT
protected List<org.imixs.workflow.ItemCollection> options
public void reset()
public String getRestoreFrom()
public void setRestoreFrom(String restorePoint) throws ParseException
ParseExceptionpublic String getRestoreTo()
public void setRestoreTo(String restorePoint)
public Date getRestoreSyncPoint()
public long getRestoreCount()
public long getRestoreErrors()
public String getRestoreSize()
public String getRestoreSizeUnit()
public long getSyncPoint()
public String getSyncPointISO()
public void startRestore()
public void stopRestore()
ArchiveExceptionpublic boolean isRunning()
public List<org.imixs.workflow.ItemCollection> getOptions()
#{restoreController.options}
public void setOptions(List<org.imixs.workflow.ItemCollection> options)
public void addOption()
public void removeOption(String optionName)
optionName - Copyright © 2016–2023 Imixs Software Solutions GmbH. All rights reserved.