|
| 1 | +@startuml |
| 2 | +'https://plantuml.com/class-diagram |
| 3 | + |
| 4 | +left to right direction |
| 5 | +'top to bottom direction |
| 6 | + |
| 7 | +AbstractController <|-- UserSelfserviceController |
| 8 | +AbstractController <|-- TaskStateTabController |
| 9 | +AbstractController <|-- TaskStateTaskController |
| 10 | +AbstractController <|-- ProjectIdController |
| 11 | +AbstractController <|-- ProjectRootController |
| 12 | +AbstractController <|-- ContextController |
| 13 | +AbstractController <|-- ChatMessageController |
| 14 | +ErrorController <|-- ApplicationErrorController |
| 15 | + |
| 16 | +abstract class AbstractController { |
| 17 | + List<Project> getAllCategories(UserSessionBean userSession) |
| 18 | + List<Project> getRootCategories(UserSessionBean userSession) |
| 19 | + int getNumberOfNewIncomingMessages() |
| 20 | + List<TaskEnergy> getListTaskEnergy() |
| 21 | + List<TaskTime> getListTaskTime() |
| 22 | + List<Context> getContexts() |
| 23 | + List<TaskState> getTaskStates() |
| 24 | + String getCurrentContext(UserSessionBean userSession) |
| 25 | + boolean refreshMessagePage() |
| 26 | + UserAccount getUser() |
| 27 | + Context getContext(UserSessionBean userSession) |
| 28 | + UserSessionBean getNewUserSession() |
| 29 | + UserSessionBean updateUserSession(UserSessionBean userSession) |
| 30 | +} |
| 31 | + |
| 32 | +class UserSelfserviceController { |
| 33 | + String userProfileAndMenu(Pageable request, UserSessionBean userSession) |
| 34 | + String userNameForm(UserSessionBean userSession) |
| 35 | + String userNameStore(UserChangeNameForm username, UserSessionBean userSession) |
| 36 | + String userPasswordForm(UserSessionBean userSession) |
| 37 | + String userPasswordStore(UserChangePasswordForm userChangePasswordForm,UserSessionBean userSession) |
| 38 | + String userContextsForm(UserSessionBean userSession) |
| 39 | + String userContextsSave(UserChangeDefaultContextForm thisUser, UserSessionBean userSession) |
| 40 | + String userNewContextGet(UserSessionBean userSession) |
| 41 | + String userNewContextPost(newContext, UserSessionBean userSession) |
| 42 | + String userContextEditGet(Context context,UserSessionBean userSession) |
| 43 | + String userContextEditPost(NewContextForm editContext, UserSessionBean userSession) |
| 44 | + String userDeleteContextGet(Context context, UserSessionBean userSession) |
| 45 | + String userLanguageGet(UserSessionBean userSession) |
| 46 | + String userLanguagePost(UserChangeLanguageForm userChangeLanguageForm, UserSessionBean userSession) |
| 47 | +} |
| 48 | + |
| 49 | +class UserLoginController { |
| 50 | + String loginGet() |
| 51 | + String loginPost(LoginForm loginForm) |
| 52 | + String logoutPage(SessionStatus status, HttpServletRequest request, HttpServletResponse response) |
| 53 | +} |
| 54 | + |
| 55 | +class UserPasswordRecoveryController { |
| 56 | + String passwordForgottenForm() |
| 57 | + String passwordForgottenPost(UserRegistrationForm userRegistrationForm) |
| 58 | + String enterNewPasswordFormular(String confirmId) |
| 59 | + String enterNewPasswordPost(UserAccountForm userAccountForm, String confirmId) |
| 60 | +} |
| 61 | + |
| 62 | +class UserRegistrationController { |
| 63 | + String registerGet() |
| 64 | + String registerPost(UserRegistrationForm userRegistrationForm) |
| 65 | + String registerConfirmGet(String confirmId) |
| 66 | + String registerConfirmPost(String confirmId, UserAccountForm userAccountFor) |
| 67 | +} |
| 68 | + |
| 69 | +class TestDataController { |
| 70 | + String createTestCategoryTree() |
| 71 | +} |
| 72 | + |
| 73 | +class TaskStateTabController { |
| 74 | + String inbox(Pageable pageable, UserSessionBean userSession) |
| 75 | + String today(Pageable pageable, UserSessionBean userSession) |
| 76 | + String next(Pageable pageable, UserSessionBean userSession) |
| 77 | + String waiting(Pageable pageable, UserSessionBean userSession) |
| 78 | + String scheduled(Pageable pageable, UserSessionBean userSession) |
| 79 | + String someday(Pageable pageable, UserSessionBean userSession) |
| 80 | + String completed(Pageable pageable, UserSessionBean userSession) |
| 81 | + String trash(Pageable pageable, UserSessionBean userSession) |
| 82 | + String deleted(Pageable pageable, UserSessionBean userSession) |
| 83 | + String focus(Pageable pageable, UserSessionBean userSession) |
| 84 | +} |
| 85 | + |
| 86 | +class TaskStateTaskController { |
| 87 | + String addNewTaskToInboxGet(UserSessionBean userSession) |
| 88 | + String addNewTaskToInboxPost(UserSessionBean userSession, Task task) |
| 89 | + String editTaskGet(Task task, UserSessionBean userSession) |
| 90 | + String editTaskPost(long taskId, Task task, UserSessionBean userSession) |
| 91 | + String changeTaskOrderId(Task sourceTask, Task destinationTask, UserSessionBean userSession) |
| 92 | + String moveTaskToAnotherProject(Task task, Project project,UserSessionBean userSession) |
| 93 | + String moveTaskToInbox(Task task, UserSessionBean userSession) |
| 94 | + String moveTaskToToday(Task task, UserSessionBean userSession) |
| 95 | + String moveTaskToNext(Task task, UserSessionBean userSession) |
| 96 | + String moveTaskToWaiting(Task task, UserSessionBean userSession) |
| 97 | + String moveTaskToSomeday(Task task, UserSessionBean userSession) |
| 98 | + String moveTaskToFocus(Task task, UserSessionBean userSession) |
| 99 | + String moveTaskToCompleted(Task task, UserSessionBean userSession) |
| 100 | + String moveTaskToTrash(Task task, UserSessionBean userSession) |
| 101 | + String moveAllCompletedToTrash(Task task, UserSessionBean userSession) |
| 102 | + String emptyTrash(UserSessionBean userSession) |
| 103 | + String deleteTaskGet(Task task, UserSessionBean userSession) |
| 104 | + String undeleteTaskGet(Task task, UserSessionBean userSession) |
| 105 | + String transformTaskIntoProjectGet() |
| 106 | + String setDoneTaskGet(Task task, UserSessionBean userSession) |
| 107 | + String unsetDoneTaskGet(Task task, UserSessionBean userSession) |
| 108 | + String setFocusGet(Task task, UserSessionBean userSession) |
| 109 | + String unsetFocusGet(Task task, UserSessionBean userSession) |
| 110 | +} |
| 111 | + |
| 112 | +class ProjectIdController { |
| 113 | + String projectTaskAddGet(Project thisProject, UserSessionBean userSession) |
| 114 | + String projectTaskAddPost(long projectId, UserSessionBean userSession, Task task) |
| 115 | + String project(long projectId, Pageable pageable, String message, boolean isDeleted, UserSessionBean userSession) |
| 116 | + String projectAddProjectGet(long projectId, UserSessionBean userSession) |
| 117 | + String projectAddProjectPost(long projectId, UserSessionBean userSession, Project project) |
| 118 | + String projectMoveToProjectGet(Project thisProject, long targetProjectId, UserSessionBean userSession) |
| 119 | + String projectEditGet(Project thisProject, UserSessionBean userSession) |
| 120 | + String projectEditPost(long projectId, Project project, UserSessionBean userSession) |
| 121 | + String projectDeleteGet( Project project, Pageable request, UserSessionBean userSession) |
| 122 | + String moveTaskToTaskAndChangeTaskOrderInProject(Project thisProject, Task sourceTask, Task destinationTask,UserSessionBean userSession) |
| 123 | + String moveAllCompletedToTrash(Project thisProject, UserSessionBean userSession) |
| 124 | + String emptyTrash(Project thisProject, UserSessionBean userSession) |
| 125 | + String editTaskGet( Project thisProject, Task task, UserSessionBean userSession) |
| 126 | + String editTaskPost(Project thisProject, long taskId, Task task, UserSessionBean userSession) |
| 127 | + String setDoneTaskGet(Project thisProject, UserSessionBean userSession, Task task) |
| 128 | + String unsetDoneTaskGet( Project thisProject, UserSessionBean userSession, Task task) |
| 129 | + String setFocusGet(Project thisProject, UserSessionBean userSession, Task task, String back) |
| 130 | + String unsetFocusGet(Project thisProject, UserSessionBean userSession, Task task, String back) |
| 131 | + String moveTaskToAnotherProject( Project thisProject, Task task, UserSessionBean userSession) |
| 132 | + String moveTaskToAnotherProject(Project thisProject, Task task, Project otherProject, UserSessionBean userSession) |
| 133 | + String moveTaskToInbox(Project thisProject, UserSessionBean userSession, Task task) |
| 134 | + String moveTaskToToday(Project thisProject, UserSessionBean userSession, Task task) |
| 135 | + String moveTaskToNext(Project thisProject, UserSessionBean userSession, Task task) |
| 136 | + String moveTaskToWaiting(Project thisProject, UserSessionBean userSession, Task task) |
| 137 | + String moveTaskToSomeday(Project thisProject, UserSessionBean userSession, Task task) |
| 138 | + String moveTaskToFocus(Project thisProject, UserSessionBean userSession, Task task) |
| 139 | + String moveTaskToCompleted(Project thisProject, UserSessionBean userSession, Task task) |
| 140 | + String moveTaskToTrash(Project thisProject, UserSessionBean userSession, Task task) |
| 141 | + String transformTaskIntoProjectGet(Project thisProject, Task task, UserSessionBean userSession) |
| 142 | +} |
| 143 | + |
| 144 | +class ProjectRootController { |
| 145 | + String projectRoot( Pageable pageable, String message, boolean isDeleted, UserSessionBean userSession) |
| 146 | + String projectRootAddProjectGet(UserSessionBean userSession) |
| 147 | + String projectRootAddProjectPost(Project project, UserSessionBean userSession) |
| 148 | + String projectRootTaskAddGet(UserSessionBean userSession) |
| 149 | + String projectRootTaskAddPost(UserSessionBean userSession, Task task) |
| 150 | + String editTaskGet(Task task, UserSessionBean userSession) |
| 151 | + String editTaskPost(long taskId,Task task, UserSessionBean userSession) |
| 152 | + String changeTaskOrderId(Task sourceTask, Task destinationTask, UserSessionBean userSession) |
| 153 | + String moveTaskToProjectRoot(Task task, UserSessionBean userSession) |
| 154 | + String moveTaskToProject(Task task, Project targetProject, UserSessionBean userSession) |
| 155 | + String moveTaskToInbox(Task task, UserSessionBean userSession) |
| 156 | + String moveTaskToToday(Task task, UserSessionBean userSession) |
| 157 | + String moveTaskToNext(Task task, UserSessionBean userSession) |
| 158 | + String moveTaskToWaiting(Task task, UserSessionBean userSession) |
| 159 | + String moveTaskToSomeday(Task task, UserSessionBean userSession) |
| 160 | + String moveTaskToFocus(Task task, UserSessionBean userSession) |
| 161 | + String moveTaskToCompleted(Task task, UserSessionBean userSession) |
| 162 | + String moveTaskToTrash(Task task, UserSessionBean userSession) |
| 163 | + String moveAllCompletedToTrash(Task task, UserSessionBean userSession) |
| 164 | + String emptyTrash(Task task, UserSessionBean userSession) |
| 165 | + String deleteTaskGet(Task task, UserSessionBean userSession) |
| 166 | + String undeleteTaskGet(Task task, UserSessionBean userSession) |
| 167 | + String transformTaskIntoProjectGet(Task task, UserSessionBean userSession) |
| 168 | + String setDoneTaskGet(Task task, UserSessionBean userSession) |
| 169 | + String unsetDoneTaskGet(Task task, UserSessionBean userSession) |
| 170 | + String setFocusGet(Task task, UserSessionBean userSession) |
| 171 | + String unsetFocusGet(Task task, UserSessionBean userSession) |
| 172 | +} |
| 173 | + |
| 174 | +class ContextController { |
| 175 | + String switchContxt(Context newContext, UserSessionBean userSession) |
| 176 | +} |
| 177 | + |
| 178 | +class ChatMessageController { |
| 179 | + String getLastMessagesBetweenCurrentAndOtherUser( UserAccount otherUser, Pageable request, UserSessionBean userSession) |
| 180 | + String sendNewMessageToOtherUser(UserAccount otherUser, ChatMessageForm chatMessageForm, BindingResult result, Pageable request, UserSessionBean userSession) |
| 181 | +} |
| 182 | + |
| 183 | +@enduml |
0 commit comments