|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbandy.io.rms.RmsConnection
public class RmsConnection
Wrapper class to access 1 RecordStore.
(c) Copyright P. Bolliger 2007, ALL RIGHTS RESERVED.
| Method Summary | |
|---|---|
void |
close()
TODO comment! |
boolean |
connect()
TODO comment! |
boolean |
executeDELETE(Serializable serializable)
This method deletes the serializable object in the storage. |
int |
executeINSERT(ObjectEntry objectEntry)
This method inserts the objectEntry in the storage
and returns the genereated id resp. |
void |
executeUPDATE(ObjectEntry objectEntry)
This method updates the objectEntry in the storage. |
java.lang.String |
getConnectionIdentifier()
Returns a string that allows the Storage to distinguish different connections in order to avert muliple open connections for the same serializer. |
javax.microedition.rms.RecordStore |
getRecordStore()
TODO comment! |
java.lang.String |
getRecordStoreName()
TODO comment! |
boolean |
isConnected()
TODO comment! |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public javax.microedition.rms.RecordStore getRecordStore()
public java.lang.String getRecordStoreName()
public boolean connect()
StorageConnection
connect in interface StorageConnectionpublic boolean isConnected()
StorageConnection
isConnected in interface StorageConnectionpublic void close()
StorageConnection
close in interface StorageConnectionpublic java.lang.String getConnectionIdentifier()
StorageConnection
getConnectionIdentifier in interface StorageConnectionpublic int executeINSERT(ObjectEntry objectEntry)
StorageConnectionobjectEntry in the storage
and returns the genereated id resp. key.
executeINSERT in interface StorageConnectionobjectEntry - Entry to insert
public void executeUPDATE(ObjectEntry objectEntry)
StorageConnectionobjectEntry in the storage.
executeUPDATE in interface StorageConnectionobjectEntry - Entry to updatepublic boolean executeDELETE(Serializable serializable)
StorageConnectionserializable object in the storage.
executeDELETE in interface StorageConnectionserializable - Entry to delete
serializable object has been deleted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||