preparing file service
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -6,19 +6,20 @@ import de.srsoftware.umbrella.core.api.*;
|
||||
|
||||
public class ModuleRegistry {
|
||||
private BookmarkService bookmarkService;
|
||||
private CompanyService companyService;
|
||||
private CompanyService companyService;
|
||||
private DocumentService documentService;
|
||||
private ItemService itemService;
|
||||
private FileService fileService;
|
||||
private ItemService itemService;
|
||||
private MarkdownService markdownService;
|
||||
private NoteService noteService;
|
||||
private PostBox postBox;
|
||||
private ProjectService projectService;
|
||||
private TagService tagService;
|
||||
private TaskService taskService;
|
||||
private TimeService timeService;
|
||||
private Translator translator;
|
||||
private UserService userService;
|
||||
private WikiService wikiService;
|
||||
private NoteService noteService;
|
||||
private PostBox postBox;
|
||||
private ProjectService projectService;
|
||||
private TagService tagService;
|
||||
private TaskService taskService;
|
||||
private TimeService timeService;
|
||||
private Translator translator;
|
||||
private UserService userService;
|
||||
private WikiService wikiService;
|
||||
|
||||
private static final ModuleRegistry singleton = new ModuleRegistry();
|
||||
|
||||
@@ -29,6 +30,7 @@ public class ModuleRegistry {
|
||||
case BookmarkService bs: singleton.bookmarkService = bs; break;
|
||||
case CompanyService cs: singleton.companyService = cs; break;
|
||||
case DocumentService ds: singleton.documentService = ds; break;
|
||||
case FileService fs singleton.fileService = fs; breaK;
|
||||
case ItemService is: singleton.itemService = is; break;
|
||||
case MarkdownService ms: singleton.markdownService = ms; break;
|
||||
case NoteService ns: singleton.noteService = ns; break;
|
||||
@@ -61,6 +63,10 @@ public class ModuleRegistry {
|
||||
return singleton.itemService;
|
||||
}
|
||||
|
||||
public static FileService fileService(){
|
||||
return singleton.fileService;
|
||||
}
|
||||
|
||||
public static MarkdownService markdownService(){
|
||||
return singleton.markdownService;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
package de.srsoftware.umbrella.core.api;
|
||||
|
||||
public interface FileService {
|
||||
}
|
||||
Reference in New Issue
Block a user