Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

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

List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: Manage Atomic Object.

Base manager to access all atomic Object.

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

Definition at line 40 of file SynchroAtomicObjectManager.java.

Public Member Functions

SynchroAtomicObjectDelegate getDelegate ()
void purgeAtomicObjcet (String serviceName, long deletedTime) throws SynchroException
 delete all atomic object of the specified service that are older than the specified time
SynchroAtomicObject[] getAllModifiedAtomicObjectForServiceSince (String serviceName, long date, String userLink) throws SynchroException
 return all atomic object uid modified since specified date for service the user link is use to get AO associated to a user.
synchronized void updateAtomicObject (SynchroAtomicObject object, String serviceName, String userLink) throws SynchroException
 Update the modification information (sync number) if the specified SynchroAtomicObject.
void registerDelegateManager (SynchroAtomicObjectDelegate d)
SynchroAtomicObject getAtomicObject (String uid, String serviceName) throws SynchroException
 return the AtomicObject with specified uid.

Static Public Member Functions

static SynchroAtomicObjectManager getManager ()


Member Function Documentation

SynchroAtomicObject [] org.openmobileis.synchro.algo.replication.utils.SynchroAtomicObjectManager.getAllModifiedAtomicObjectForServiceSince String  serviceName,
long  date,
String  userLink
throws SynchroException
 

return all atomic object uid modified since specified date for service the user link is use to get AO associated to a user.

NULL if none

Definition at line 75 of file SynchroAtomicObjectManager.java.

References org.openmobileis.synchro.algo.replication.utils.SynchroAtomicObjectDelegate.getAllModifiedAtomicObjectForServiceSince().

SynchroAtomicObject org.openmobileis.synchro.algo.replication.utils.SynchroAtomicObjectManager.getAtomicObject String  uid,
String  serviceName
throws SynchroException
 

return the AtomicObject with specified uid.

return null if not found

Definition at line 101 of file SynchroAtomicObjectManager.java.

References org.openmobileis.synchro.algo.replication.utils.SynchroAtomicObjectDelegate.getAtomicObject().

void org.openmobileis.synchro.algo.replication.utils.SynchroAtomicObjectManager.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.

Definition at line 67 of file SynchroAtomicObjectManager.java.

References org.openmobileis.synchro.algo.replication.utils.SynchroAtomicObjectDelegate.purgeAtomicObjcet().

synchronized void org.openmobileis.synchro.algo.replication.utils.SynchroAtomicObjectManager.updateAtomicObject SynchroAtomicObject  object,
String  serviceName,
String  userLink
throws SynchroException
 

Update the modification information (sync number) if the specified SynchroAtomicObject.

The sync number update policy is defined by the SynchroAtomicObjectManager delegate. the user link is use to get Atomic object associated to a user. NULL if none It is use to get all mofication ofr a service and an user.

Definition at line 86 of file SynchroAtomicObjectManager.java.

References org.openmobileis.synchro.algo.replication.utils.SynchroAtomicObjectDelegate.createAtomicObject(), org.openmobileis.synchro.algo.replication.utils.SynchroAtomicObjectDelegate.getAtomicObject(), and org.openmobileis.synchro.algo.replication.utils.SynchroAtomicObjectDelegate.updateAtomicObject().


The documentation for this class was generated from the following file:
Generated on Mon Jul 10 10:29:38 2006 for OpenMobileIS by  doxygen 1.4.4