It is assumed that there are Facade APIs which provide CRUD operations for the user entity, and provide functionalities for associating/disassociating to-do and note entities from users. Equivalent Facade APIs are also available for to-do and note objects. The table below provides details of the operations:
Facade Name |
Operation Name |
Description |
---|---|---|
UserManager |
createUser |
Creates a new user |
editUser |
Modify details on existing user |
|
readUser |
Reads and returns user information |
|
deleteUser |
Removes the user from the system |
|
associateNotes |
Associates note items to a user |
|
disassociateNotes |
Dis-associates note items from a user |
|
readAllNotes |
Fetches all the notes for a user |
|
associateToDos |
Associates to-do items with a user |
|
disassociateToDos |
Disassociates to-do items from a user |
|
readAllToDos |
Fetches all the to-do items for a user |
|
NoteManager |
createNote |
Creates a new note |
editNote |
Edits information from existing note |
|
deleteNote |
Removes the note |
|
readNote |
Reads and returns note information |
|
ToDoManager |
createToDo |
Creates a new to-do |
editToDo |
Edits information from existing to-do |
|
deleteToDo |
Removes the to-do |
|
readToDo |
Reads and returns to-do information |