com.funambol.syncml.spds
Class MappingManager

java.lang.Object
  extended by com.funambol.syncml.spds.MappingManager

public class MappingManager
extends java.lang.Object

A class that saves and retrieves the mapping information from the store


Constructor Summary
MappingManager(java.lang.String sourceName)
           
 
Method Summary
 java.util.Hashtable getMappings(java.lang.String sourceName)
          Returns the ItemMap related to the given name
 void resetMappings(java.lang.String sourceName)
          Reset the mappings for the given source
 void saveMappings(java.util.Hashtable mappings)
          Replace the current mappings with the new one and persist the info
static void setStoreBuilder(MappingStoreBuilder builder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingManager

public MappingManager(java.lang.String sourceName)
Method Detail

setStoreBuilder

public static void setStoreBuilder(MappingStoreBuilder builder)

getMappings

public java.util.Hashtable getMappings(java.lang.String sourceName)
Returns the ItemMap related to the given name

Parameters:
sourceName - the name of the source to be retrieved
Returns:
ItemMap of the given source

saveMappings

public void saveMappings(java.util.Hashtable mappings)
Replace the current mappings with the new one and persist the info

Parameters:
mappings - the mapping hshtable

resetMappings

public void resetMappings(java.lang.String sourceName)
Reset the mappings for the given source

Parameters:
sourceName - is the name of the source to be reset


Copyright © 2001-2009 Funambol.