Class DomainBlacklistService
java.lang.Object
org.eblocker.server.common.blacklist.DomainBlacklistService
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(DomainBlacklistService.Listener listener) voidsetFilters(Collection<ParentalControlFilterMetaData> blacklists) Set the filters for blacklisting.
-
Method Details
-
getFilter
-
setFilters
Set the filters for blacklisting. This has four effects:- delete old filters marked as deleted (assuming these are not be referenced any more)
- all filters are created / updated according to the blacklists
- old versions or non-existing filters are marked as deleted. They can not be deleted right away as they might be in use for some time
- filters marked as deleted are dropped from cache
-
addListener
-