org.openmobileis.synchro.algo.replication.utils.DefaultSynchroAtomicObjectDelegate Class Reference

Inheritance diagram for org.openmobileis.synchro.algo.replication.utils.DefaultSynchroAtomicObjectDelegate:

org.openmobileis.synchro.algo.replication.utils.SynchroAtomicObjectDelegate List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: Manage Atomic Object data needed for synchronisation.

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

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


Member Function Documentation

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

Parameters:
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.


The documentation for this class was generated from the following file:
Generated on Mon Dec 4 11:03:41 2006 for OpenMobileIS by  doxygen 1.5.1-p1