|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RecordStorage
RecordStorage service interface.
| Method Summary | |
|---|---|
boolean |
existsRecord(java.lang.String id)
Checks if a Record exists in the storage. |
Record |
loadRecord(java.lang.String id)
Load the record from storage. |
java.util.Iterator<Record> |
loadRecords(java.lang.String source)
Loads all records of the given source. |
void |
removeRecord(java.lang.String id)
Removes the record. |
void |
storeRecord(Record record)
Stores the given Record object. |
| Method Detail |
|---|
Record loadRecord(java.lang.String id)
throws RecordStorageException
id - Id of the record
RecordStorageException - if any error occurs
void storeRecord(Record record)
throws RecordStorageException
record - the Record object
RecordStorageException - if any error occurs
void removeRecord(java.lang.String id)
throws RecordStorageException
id - Id of the record
RecordStorageException - if any error occurs
boolean existsRecord(java.lang.String id)
throws RecordStorageException
id - Id of the record
RecordStorageException - if any error occurs
java.util.Iterator<Record> loadRecords(java.lang.String source)
throws RecordStorageException
source - the name of the data source
RecordStorageException - if any error occurs
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||