com.funambol.storage
Interface ObjectWrapperHandler


public interface ObjectWrapperHandler

An interface to avoid unusability of the API with multiple applications This interface must be implemented by the application that make use of the BlackberryRecordStore class.


Method Summary
 net.rim.device.api.util.Persistable createObjectWrapper(java.lang.Object o)
          Use this method to wrap an object to a persistable object
 java.lang.Object getObject(net.rim.device.api.util.Persistable p)
          gets the wrapped object content
 

Method Detail

createObjectWrapper

net.rim.device.api.util.Persistable createObjectWrapper(java.lang.Object o)
Use this method to wrap an object to a persistable object

Parameters:
o - is the object to be wrapped
Returns:
the wrapped object

getObject

java.lang.Object getObject(net.rim.device.api.util.Persistable p)
gets the wrapped object content

Parameters:
p - the persistable object
Returns:
the object contained into the give Persistable


Copyright © 2001-2009 Funambol.