ProjectsController
The ProjectsController
class is useful to manage all the project operations
Author
N7ghtm4r3 - Tecknobit
See also
Constructors
Link copied to clipboard
Constructor to init the ProjectsController controller
Properties
Link copied to clipboard
currentProject
the current project in useLink copied to clipboard
Link copied to clipboard
Link copied to clipboard
projectsHelper
helper to manage the project database operationsLink copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
usersHelper
helper to manage the users database operationsLink copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
@PutMapping(path = ""/{" + IDENTIFIER_KEY + "}/" + PROJECTS_KEY + "/{" + PROJECT_IDENTIFIER_KEY + "}" + ADD_MEMBERS_ENDPOINT", headers = [])
Method to add members in a project
Link copied to clipboard
@PostMapping(path = ""/{" + IDENTIFIER_KEY + "}/" + PROJECTS_KEY", headers = [])
Method to add a project
Link copied to clipboard
Method to get whether the user who made a request on server is an authorized member of a project
Link copied to clipboard
@DeleteMapping(path = "/{" + IDENTIFIER_KEY + "}/" + PROJECTS_KEY + "/{" + PROJECT_IDENTIFIER_KEY + "}", headers = [])
Method to delete a project
Link copied to clipboard
@PostMapping(path = "/{" + IDENTIFIER_KEY + "}/" + PROJECTS_KEY + "/{" + PROJECT_IDENTIFIER_KEY + "}", headers = [])
Method to update a project
Link copied to clipboard
Link copied to clipboard
Method to get a joining code from the database No-any params required
Link copied to clipboard
Link copied to clipboard
@GetMapping(path = "/{" + IDENTIFIER_KEY + "}/" + PROJECTS_KEY + "/{" + PROJECT_IDENTIFIER_KEY + "}", headers = [])
Method to get a project
Link copied to clipboard
Link copied to clipboard
Method to get whether the user who made a request on server is an authorized member to make operations on the checked project such upload asset or promote releases, so is the author or a Vendor
Link copied to clipboard
Method to get whether the user who made a request on server is the author of the checked project
Link copied to clipboard
Method to get whether the user who made a request on server is a qualified member to make operations on the checked project such comment release, so is a Customer
Link copied to clipboard
@DeleteMapping(path = ""/{" + IDENTIFIER_KEY + "}/" + PROJECTS_KEY + "/{" + PROJECT_IDENTIFIER_KEY + "}" + LEAVE_ENDPOINT", headers = [])
Method to leave from a project
Link copied to clipboard
Link copied to clipboard
@PatchMapping(path = ""/{" + IDENTIFIER_KEY + "}/" + PROJECTS_KEY + "/{" + PROJECT_IDENTIFIER_KEY + "}" +
MARK_MEMBER_AS_TESTER_ENDPOINT", headers = [])
Method to mark a member as Tester of the project
Link copied to clipboard
@PatchMapping(path = ""/{" + IDENTIFIER_KEY + "}/" + PROJECTS_KEY + "/{" + PROJECT_IDENTIFIER_KEY + "}" + REMOVE_MEMBER_ENDPOINT", headers = [])
Method to remove a member from a project
Link copied to clipboard