com.funambol.storage
Interface RmsRecordItem

All Superinterfaces:
Serializable

public interface RmsRecordItem
extends Serializable

RmsRecordItem defines an object that can be stored in a RMS store. It is a Serializable item and it shall be able to manage the related record id.


Method Summary
 int getRecordId()
          Returns the Message record position in the store.
 void setRecordId(int id)
          Set the record id.
 
Methods inherited from interface com.funambol.storage.Serializable
deserialize, serialize
 

Method Detail

setRecordId

void setRecordId(int id)
Set the record id. The record id is the position of the item in the store This information is meaningful for Stores that have concept of position and maybe un-initialized in other cases. This information is set by the API and cannot be modified by outside the API.

Parameters:
recordId - The item position in the store

getRecordId

int getRecordId()
Returns the Message record position in the store.

Returns:
The record id


Copyright © 2001-2009 Funambol.