|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for DAOs which handle persistence of ConfluenceBandanaRecord instances.
Method Summary | |
Collection |
findForContext(String context)
Return all the records for the given context. |
ConfluenceBandanaRecord |
getRecord(String context,
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(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 |
public void saveOrUpdate(ConfluenceBandanaRecord record)
record
- the ConfluenceBandanaRecord to updatepublic ConfluenceBandanaRecord getRecord(String context, String key)
context
- key
-
public void remove(ConfluenceBandanaRecord record)
record
- public void removeAllInContext(String context)
context
- public Collection findForContext(String context)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |