|
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(Id id)
Checks if a Record with the given Id exists in the storeage. |
Record |
loadRecord(Id id)
Load the record with the given Id. |
java.util.Iterator<Record> |
loadRecords(java.lang.String source)
Loads all records of the given source. |
void |
removeRecord(Id id)
Removes the record with the given Id. |
void |
storeRecord(Record record)
Stores the given Record object. |
| Method Detail |
|---|
Record loadRecord(Id 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(Id id)
throws RecordStorageException
id - Id of the record
RecordStorageException - if any error occurs
boolean existsRecord(Id 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 | ||||||||