|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConfluenceBandanaRecordDao
Interface for DAOs which handle persistence of ConfluenceBandanaRecord instances.
| Method Summary | |
|---|---|
java.lang.Iterable<ConfluenceBandanaRecord> |
findAllWithKey(java.lang.String key)
Returns all records that have a certain key, regardless of context. |
java.util.Collection |
findForContext(java.lang.String context)
Return all the records for the given context. |
java.lang.Iterable<java.lang.String> |
findKeysForContext(java.lang.String context)
Returns all keys for the given context. |
ConfluenceBandanaRecord |
getRecord(java.lang.String context,
java.lang.String key)
Retrieve a record for the given key, return null if no record exists |
void |
remove(ConfluenceBandanaRecord record)
Remove a record by matching its key (context, key) |
void |
removeAllInContext(java.lang.String context)
Remove all the records belonging to the given context |
void |
saveOrUpdate(ConfluenceBandanaRecord record)
Save the record, updating it if it already exists. |
| Method Detail |
|---|
void saveOrUpdate(ConfluenceBandanaRecord record)
record - the ConfluenceBandanaRecord to update
ConfluenceBandanaRecord getRecord(java.lang.String context,
java.lang.String key)
context - key -
void remove(ConfluenceBandanaRecord record)
record - void removeAllInContext(java.lang.String context)
context - java.util.Collection findForContext(java.lang.String context)
java.lang.Iterable<java.lang.String> findKeysForContext(java.lang.String context)
java.lang.Iterable<ConfluenceBandanaRecord> findAllWithKey(java.lang.String key)
key - the bandana key to look up
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||