org.demac.process.base.extension
Class SynchronizationService
java.lang.Object
org.demac.process.base.extension.ExtensionModule
org.demac.process.base.extension.SynchronizationService
- All Implemented Interfaces:
- Service
public abstract class SynchronizationService
- extends ExtensionModule
Extension of the org.demac.process.base.extension.ExtensionModule,
managing the synchronization
of data between different users and devices.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SynchronizationService
public SynchronizationService()
getInstance
public static ExtensionModule getInstance()
- Returns:
- the instance of the org.demac.process.base.extension.SynchronizationService .
getId
public java.lang.String getId()
- Specified by:
getId
in class ExtensionModule
- Returns:
- the identifier of the org.demac.process.base.extension.ExtensionModule.
- See Also:
ExtensionModule.getId()
execute
public abstract boolean execute(DataSet ds,
java.lang.String type)
throws java.lang.Exception
- Method to execute a Package which needs synchronisation support
- Specified by:
execute
in class ExtensionModule
- Parameters:
type
- a possible description to specify the handling of the object to execute (if there is more than one possibility to execute it).ds
- the dataset containing the process to be executed.
- Returns:
- true if the synchronisation was performed successfully.
- Throws:
java.lang.Exception