Uses of Class
com.inesm.KeyManager.exceptions.ObjectNotFoundException
Packages that use ObjectNotFoundException
Package
Description
-
Uses of ObjectNotFoundException in com.inesm.KeyManager.controller
Methods in com.inesm.KeyManager.controller that throw ObjectNotFoundExceptionModifier and TypeMethodDescriptionvoidRequestController.acceptRequest(javax.servlet.http.HttpServletRequest requestz) Accepts a request inside the station.KeysController.deleteKey(javax.servlet.http.HttpServletRequest request) Deletes a key from the station.MissionController.deleteMission(javax.servlet.http.HttpServletRequest request) Deletes a mission from the station.voidRequestController.deleteRequest(javax.servlet.http.HttpServletRequest request) Deletes a request from the station.voidRolesController.deleteRole(javax.servlet.http.HttpServletRequest request) Deletes a role from the station.UserController.deleteSelf(javax.servlet.http.HttpServletRequest request) Deletes the current user.voidStationController.deleteStation(javax.servlet.http.HttpServletRequest request) UserController.deleteUser(javax.servlet.http.HttpServletRequest request) Deletes a user in the station.voidRequestController.denyRequest(javax.servlet.http.HttpServletRequest requestz) Denies a request inside the station.MessageController.exportMessage(javax.servlet.http.HttpServletRequest request) Exports a messages from the station.KeysController.getKey(javax.servlet.http.HttpServletRequest request) Gets a key from the station.MissionController.getMission(javax.servlet.http.HttpServletRequest request) Gets a mission from the station.StationController.getStation(javax.servlet.http.HttpServletRequest request) Gets a station from the station.UserController.getUser(javax.servlet.http.HttpServletRequest request) Gets a user from the station.UserController.login(javax.servlet.http.HttpServletRequest request) Logs a user into the station.KeysController.missionKeys(javax.servlet.http.HttpServletRequest request) Gets all keys belonging to a specific mission inside the station.voidRequestController.requestPassword(javax.servlet.http.HttpServletRequest request) Creates a password request inside the station.KeysController.updateKey(javax.servlet.http.HttpServletRequest request) Updates a key inside a the station.KeysController.updateKeyState(javax.servlet.http.HttpServletRequest request) Updates a key's state inside a the station.MissionController.updateMission(javax.servlet.http.HttpServletRequest request) Update a mission in a station.RolesController.updateRole(javax.servlet.http.HttpServletRequest request) Updates a role in the station.UserController.updateSelfUserPassword(javax.servlet.http.HttpServletRequest request) Updates the current user's password in the station.StationController.updateStation(javax.servlet.http.HttpServletRequest request) UserController.updateUser(javax.servlet.http.HttpServletRequest request) Updates a user in the station.UserController.updateUserPassword(javax.servlet.http.HttpServletRequest request) Updates a user's password in the station. -
Uses of ObjectNotFoundException in com.inesm.KeyManager.repositories
Methods in com.inesm.KeyManager.repositories that throw ObjectNotFoundExceptionModifier and TypeMethodDescriptionvoidDeletes a key from the database by key_id.voidKeyRepository.deleteKeyByUUID(String uuid) Deletes a key from the database by key_uuid.voidKeyRepository.deleteMission(long id) Removes a mission from the database.voidUserRepository.deleteRequest(long requestID) Deletes a request from the database.voidUserRepository.deleteRole(long roleID) Deletes a role from the database.voidKeyRepository.deleteStationbyPath(String path) Removes a station from the database by path.voidUserRepository.deleteUser(String username) Deletes a user from the database.KeyRepository.getCurrentStation()Gets the current station from the database.KeyRepository.getKeyByID(long id) Gets a key from the database by key_id.KeyRepository.getKeyByUUID(String uuid) Gets key from the database by key_uuid.LogRepository.getLogByID(long id) Gets a log from the database.MessagesRepository.getMessagebyIDSource(long id, String source) Gets a message from the database, using its messageID and source.KeyRepository.getMissionByID(long id) Gets a mission from the database.KeyRepository.getMissionByUUID(String uuid) Gets a mission from the database.UserRepository.getOperationByID(int id) Gets an operation from the database.MessagesRepository.getReceiptByMessage(Message message, String station) Gets a receipt associated with a given message, and issued by a given station.UserRepository.getRequestByID(long id) Gets a requests from the database by requestID.UserRepository.getRoleByID(long id) Gets a role from the database by roleID.UserRepository.getRoleByName(String name) Gets a role from the database by name.KeyRepository.getStationByID(long id) Gets a station from the database.KeyRepository.getStationByName(String name) Gets a station by name from the database.KeyRepository.getStationByPath(String path) Gets a station by path.UserRepository.getUserByID(long id) Gets a user from the database by userID.UserRepository.getUserByUsermame(String username) Gets a user from the database by username.voidUpdates a key in the database.voidUpdates a existent log instance from the database with extra information.voidMessagesRepository.updateMessageStatus(Receipt receipt) Updates the status of a message with the received receipt.voidKeyRepository.updateMission(Mission mission) Updates a mission in the database.voidMessagesRepository.updateReceipt(Receipt receipt, boolean waiting) Updates the waiting status of a receipt.voidUserRepository.updateRequestStatus(Request request) Updates the status of a request in the database.voidUserRepository.updateRole(Role role) Updates a role in the database.voidKeyRepository.updateStation(Station station) Updates a station in database.voidUserRepository.updateUser(User user) Updates a user in the database.voidUserRepository.updateUserLoginStatus(User user) Updates the user login status.voidUserRepository.updateUserPassword(User user) Updates a user password in the database. -
Uses of ObjectNotFoundException in com.inesm.KeyManager.services
Methods in com.inesm.KeyManager.services that throw ObjectNotFoundExceptionModifier and TypeMethodDescriptionvoidRequestService.acceptRequest(Request req, User currentUser, boolean intercepted) Accepts a Request.voidUserManager.changePassword(User user) Updates a user password in the database.voidRequestService.createPasswordRequest(Request req, int operationID) Creates a password request.voidDeletes a key from the database.voidKeyManager.deleteMission(String missionUUID) Deletes a mission from the database.voidRequestService.deleteRequest(long requestID) Deletes a request from the database.voidUserManager.deleteRequest(long requestID) Deletes a request from the database.voidUserManager.deleteRole(long roleID) Deletes a role from the database.voidKeyManager.deleteStation(String path) Deletes a station from the database.voidUserManager.deleteUser(String username) Deletes a user from the database.voidRequestService.denyRequest(Request req, User currentUser) Denies a request.voidSessionService.distribute(int operationID, Mission mission, List<Station> added, List<Station> removed) Distributes the results of an operation.MessageManager.exportMessage(Message message, User user) Exports a message for manual distribution.Gets a key and related information from the database.KeyManager.getKeysForMission(String missionUUID) Gets all keys and key related information regarding a specific mission.MessageManager.getMessageByIDSource(long id, String source) Gets a message from the database.KeyManager.getMission(String missionUUID) Gets a mission and all related information from the database.RequestService.getRequestByID(long requestID) Gets a request from the database.KeyManager.getStationbyPath(String path) Gets a station from the database.RequestService.getUpdatedRequest(Request update) Gets a request from the database and updates the reason field (if provided).UserManager.getUserByUsername(String username) Gets a user from the database.Performs a login operation using password authentication.UserManager.loginUser2FA(String username, String password) Performs a login operation using password authentication and smartcard authentication.Patches a key object.Patches a mission.KeyManager.patchStation(Station update) Patches a station.Patches a user.voidCommunicationService.process(ObjectInputStream objIn) Process a network resource from an input stream.voidMessageManager.process(NetworkResource resource) Processes a network resource.KeyManager.updateKeyState(Key key) Updates the state of a key object in the database.UserManager.updateRole(Role role) Updates a role in the database.