Inheritance diagram for org.openmobileis.synchro.algo.replication.utils.DefaultSynchroAtomicObjectDelegate:
Definition at line 48 of file DefaultSynchroAtomicObjectDelegate.java.
Public Member Functions | |
DefaultSynchroAtomicObjectDelegate (AtomicObjectQueryManager query) | |
SynchroAtomicObject[] | getAllModifiedAtomicObjectForServiceSince (String serviceName, long date, String userLink) throws SynchroException |
return all atomic object uid modified since specified date for service | |
SynchroAtomicObject | getAtomicObject (String uid, String serviceName) throws SynchroException |
return the AtomicObject with specified uid. | |
void | updateAtomicObject (SynchroAtomicObject object, String serviceName, String userLink) throws SynchroException |
void | createAtomicObject (SynchroAtomicObject object, String serviceName, String userLink) throws SynchroException |
void | purgeAtomicObjcet (String serviceName, long deletedTime) throws SynchroException |
delete all atomic object of the specified service that are older than the specified time | |
Protected Attributes | |
AtomicObjectQueryManager | queryManager |
SynchroAtomicObject org.openmobileis.synchro.algo.replication.utils.DefaultSynchroAtomicObjectDelegate.getAtomicObject | ( | String | uid, | |
String | serviceName | |||
) | throws SynchroException |
return the AtomicObject with specified uid.
return null if not found
Implements org.openmobileis.synchro.algo.replication.utils.SynchroAtomicObjectDelegate.
Definition at line 89 of file DefaultSynchroAtomicObjectDelegate.java.
References org.openmobileis.synchro.algo.replication.utils.impl.AtomicObjectQueryManager.getAtomicObject(), org.openmobileis.common.util.database.AbstractQueryManager.getDbManager(), and org.openmobileis.synchro.algo.replication.utils.DefaultSynchroAtomicObjectDelegate.queryManager.
void org.openmobileis.synchro.algo.replication.utils.DefaultSynchroAtomicObjectDelegate.purgeAtomicObjcet | ( | String | serviceName, | |
long | deletedTime | |||
) | throws SynchroException |
delete all atomic object of the specified service that are older than the specified time
service | id | |
deletedTime | : time defining the date where DELETE Atomic Object Time Stamp that are before it are removed. |
Implements org.openmobileis.synchro.algo.replication.utils.SynchroAtomicObjectDelegate.
Definition at line 145 of file DefaultSynchroAtomicObjectDelegate.java.
References org.openmobileis.synchro.algo.replication.utils.impl.AtomicObjectQueryManager.purgeDeletedAtomicObject(), and org.openmobileis.synchro.algo.replication.utils.DefaultSynchroAtomicObjectDelegate.queryManager.