aboutsummaryrefslogtreecommitdiff
path: root/src/background/usecases/FindUseCase.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/usecases/FindUseCase.js')
-rw-r--r--src/background/usecases/FindUseCase.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/background/usecases/FindUseCase.js b/src/background/usecases/FindUseCase.js
new file mode 100644
index 0000000..d6b0323
--- /dev/null
+++ b/src/background/usecases/FindUseCase.js
@@ -0,0 +1,15 @@
+import FindRepository from '../repositories/FindRepository';
+
+export default class FindUseCase {
+ constructor() {
+ this.findRepository = new FindRepository();
+ }
+
+ getKeyword() {
+ return this.findRepository.getKeyword();
+ }
+
+ setKeyword(keyword) {
+ return this.findRepository.setKeyword(keyword);
+ }
+}