|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.pebble.dao.file.FileRefererFilterDAO
public class FileRefererFilterDAO
A mock implementation of the CategoryDAO interface that does nothing. This is used when performing unit tests.
| Constructor Summary | |
|---|---|
FileRefererFilterDAO()
|
|
| Method Summary | |
|---|---|
void |
addRefererFilter(RefererFilter filter,
Blog rootBlog)
Adds the specified referer filter. |
void |
deleteRefererFilter(RefererFilter filter,
Blog rootBlog)
Removes the specified referer filter. |
java.util.Collection |
getRefererFilters(Blog rootBlog)
Loads the referer filters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileRefererFilterDAO()
| Method Detail |
|---|
public java.util.Collection getRefererFilters(Blog rootBlog)
throws PersistenceException
getRefererFilters in interface RefererFilterDAOrootBlog - the owning Blog instance
PersistenceException - if filters cannot be loaded
public void addRefererFilter(RefererFilter filter,
Blog rootBlog)
throws PersistenceException
addRefererFilter in interface RefererFilterDAOfilter - the RefererFilter instance to be addedrootBlog - the owning Blog instance
PersistenceException - if something goes wrong storing the filters
public void deleteRefererFilter(RefererFilter filter,
Blog rootBlog)
throws PersistenceException
deleteRefererFilter in interface RefererFilterDAOfilter - the RefererFilter instance to be removedrootBlog - the owning Blog instance
PersistenceException - if something goes wrong removing the filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||