Package org.imixs.archive.service.ui
Class ResyncController
- java.lang.Object
-
- org.imixs.archive.service.ui.ResyncController
-
- All Implemented Interfaces:
Serializable
@Named @RequestScoped public class ResyncController extends Object implements Serializable
CID Bean for the resync service.The new syncpoint is managed as a string in the format 2019-12-31T06:00
- Author:
- rsoika
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringISO_DATETIME_FORMAT
-
Constructor Summary
Constructors Constructor Description ResyncController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()This method cancels a current running sny processStringgetNewSyncPoint()Returns the newSyncPoint and computes the default valueDategetSyncPoint()returns the syncpoint of the current configurationbooleanisRunning()Returns true if the sync service is actually runningvoidsetNewSyncPoint(String newSyncPoint)voidupdateSyncPoint()This method updates the current synpoint
-
-
-
Field Detail
-
ISO_DATETIME_FORMAT
public static final String ISO_DATETIME_FORMAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNewSyncPoint
public String getNewSyncPoint()
Returns the newSyncPoint and computes the default value- Returns:
-
setNewSyncPoint
public void setNewSyncPoint(String newSyncPoint)
-
getSyncPoint
public Date getSyncPoint()
returns the syncpoint of the current configuration- Returns:
-
updateSyncPoint
public void updateSyncPoint()
This method updates the current synpoint- Throws:
ArchiveException
-
isRunning
public boolean isRunning()
Returns true if the sync service is actually running- Returns:
-
cancel
public void cancel()
This method cancels a current running sny process- Throws:
ArchiveException
-
-