Class BlockerService
java.lang.Object
org.eblocker.server.common.blocker.BlockerService
-
Constructor Summary
ConstructorsConstructorDescriptionBlockerService(String localStoragePath, BlockerIdTypeIdCache idCache, DataSource dataSource, FilterManager filterManager, MalwareFilterService malwareFilterService, ContentFilterManager contentFilterManager, ParentalControlFilterListsService filterListsService, ScheduledExecutorService executorService, UpdateTaskFactory updateTaskFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreateBlocker(Blocker blocker) voiddeleteBlocker(int id) getBlockerById(int id) voidinit()voidupdate()updateBlocker(Blocker blocker)
-
Constructor Details
-
BlockerService
@Inject public BlockerService(String localStoragePath, BlockerIdTypeIdCache idCache, DataSource dataSource, FilterManager filterManager, MalwareFilterService malwareFilterService, ContentFilterManager contentFilterManager, ParentalControlFilterListsService filterListsService, ScheduledExecutorService executorService, UpdateTaskFactory updateTaskFactory)
-
-
Method Details
-
init
public void init() -
getBlockers
-
getBlockerById
-
createBlocker
-
updateBlocker
-
deleteBlocker
public void deleteBlocker(int id) -
update
public void update()
-