AcctManagement.java
- get all users
- get all positions
- get all units
- create new user
AssignTechnician.java
- get technicians by unit id
- get technicians by ticket id
- assign one or more technicians to a ticket
Cancel.java
- close (i.e. cancel) ticket by requestor
- close by supervisor (require reason for closing the ticket)
CreateTicket.java
- get all units
- create new ticket
CreateUnit.java
- create unit
Details.java
- get all units
- get ticket
EditTicket.java
- get all units
- edit ticket (excluding updates)
FirstLoginUpdate.java
This one is for users who login with their campus Ids. We'll leave this one out for now.
Home.java
Nothing here as tickets are placed in session by Login (not a good design)
Login.java
- get user by username and verify password
- we'll leave AD authentication for later
Logout.java
This one is not need for REST API
Priority.java
- change ticket priority
Search.java
- search tickets by term (depending on user type)
- all tickets (admin)
- tickets submitted to a unit (supervisor or technician)
- tickets submitted by user (regular user)
- get tickets (depending on user type)
- all tickets (admin)
- tickets submitted to a unit (supervisor or technician)
- tickets submitted by user (regular user)
Settings.java
- edit user (either by admin or by self)
Update.java
- change ticket status (require a message)
- add an update without changing ticket status
index.java
Nothing here.