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()
           
 
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.lang.String sourceName, java.util.Hashtable mappings)
          Save the given ItemMap for the given source
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingManager

public MappingManager()
Method Detail

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.lang.String sourceName,
                         java.util.Hashtable mappings)
Save the given ItemMap for the given source

Parameters:
sourceName - the ItemMap name
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 © 2006 Funambol.