-
Notifications
You must be signed in to change notification settings - Fork 2
CRC Cards
bostonecb edited this page Oct 15, 2024
·
35 revisions
USER
| Responsibility | Collaborators |
|---|---|
| Manages user details like name, email, phone, device_id, as well as type of user i.e. role(s)... | Class named 'Role' which the classes 'Entrant', 'Organizer', & 'Admin' each extend & that have their own unique methods / functionalities |
| Generates and manage user profiles (profile updatable details such as automatically generated / uploaded profile pictures / editable user fields such as name, email...) | ProfilePic |
| When a User is instantiated, they have an attribute called roles which is an ArrayList - this is a list of the different roles User can take on / access methods from (at least one role, i.e. they can be just an Entrant, or have access to Entrant & Organizer role, etc...) |
Entrant, Organizer, Admin classes |
ENTRANT
| Responsibility | Collaborators |
|---|---|
| Can join & leave events (unique Entrant methods) plus keeps track of an EventList for the HomePage (visual list of Events they have registered in) | Event, EventList (part of Event class) |
| Manages notifications related to event participation (allows them to accept & decline them) | Notification |
| Scans QR codes to pull up event details / event pages | QRCode |
ORGANIZER
| Responsibility | Collaborators |
|---|---|
| Creates and manages (updates) events & event details | Event, EventList |
| Generates QR codes for events | QRCode |
| Creates & manages their facility profile | Facility |
ADMIN
| Responsibility | Collaborators |
|---|---|
| Manages admin-specific tasks (removing events, profiles, images, hashed QR code data) | |
| Can browse all events, profiles, and images | Event, EventList, User, Image & Poster classes (Poster extends Image) |
| Can remove facilities that violate app policy | Facility |
EVENT
| Responsibility | Collaborators |
|---|---|
| Manages event details like facility, date, registration deadline, etc. | Facility |
| Tracks entrants and manages their participation | Entrant |
| Assigns a poster to the event | Poster |
EVENTLIST
| Responsibility | Collaborators |
|---|---|
| Maintains lists of event participants like waiting list, selected list final list etc. | Entrant |
| Manages event lists for users | User |
FACILITY
| Responsibility | Collaborators |
|---|---|
| Maintains facility details such as location, name, pictures | Event |
NOTIFICATION
| Responsibility | Collaborators |
|---|---|
| Sends and receives event-related notifications | Entrant |
ACCEPTEDNOTIF
| Responsibility | Collaborators |
|---|---|
| Notifies the users about event participation acceptance | Notification |
NOTACCEPTEDNOTIF
| Responsibility | Collaborators |
|---|---|
| Notifies the users about event participation rejection | Notification |
ACCEPTEDRESPONSENOTIF
| Responsibility | Collaborators |
|---|---|
| Handles acceptance or rejection responses | Notification |
POSTER
| Responsibility | Collaborators |
|---|---|
| Represents promotional poster for events | Event |
PROFILEPIC
| Responsibility | Collaborators |
|---|---|
| Manages user's profile picture | User |
FACILITYPIC
| Responsibility | Collaborators |
|---|---|
| Manages pictures of the facility | Facility |
IMAGE
| Responsibility | Collaborators |
|---|---|
| Manages pictures for user's profile, posters and facilities | ProfilePic, Poster, FacilityPic |
QRCODE
| Responsibility | Collaborators |
|---|---|
| Generates a QR code for an event | Organizer |
| Links specific event details with a unique code | Entrant |