Uses of Class
in.cs699.tensors.delagram.auth_service.exception.InternalServerException
-
-
Uses of InternalServerException in in.cs699.tensors.delagram.auth_service.controller
Methods in in.cs699.tensors.delagram.auth_service.controller that throw InternalServerException Modifier and Type Method Description User
AuthController. getUserForToken(String authorizationToken)
An API end-point that gives back the logged-in user for the authorization token -
Uses of InternalServerException in in.cs699.tensors.delagram.auth_service.service
Methods in in.cs699.tensors.delagram.auth_service.service that throw InternalServerException Modifier and Type Method Description User
AuthService. verifyTokenAndGetUser(String authorizationToken)
This method is a wrapper for verifying the Firebase token, and returning the associated user object -
Uses of InternalServerException in in.cs699.tensors.delagram.content_upload_service.controller
Methods in in.cs699.tensors.delagram.content_upload_service.controller that throw InternalServerException Modifier and Type Method Description boolean
UploadController. uploadMemory(String authorizationToken, Map<String,Object> payload)
API end-point to upload memory. -
Uses of InternalServerException in in.cs699.tensors.delagram.content_upload_service.repository
Methods in in.cs699.tensors.delagram.content_upload_service.repository that throw InternalServerException Modifier and Type Method Description User
UploadDataAccess. fetchUserByID(String currentUserID)
An abstraction that allows to fetch the currently logged in user, by the user idUser
UploadDataAccessFirebase. fetchUserByID(String currentUserID)
The implementation of the abstraction, based on Firebase Firestore database -
Uses of InternalServerException in in.cs699.tensors.delagram.content_upload_service.service
Methods in in.cs699.tensors.delagram.content_upload_service.service that throw InternalServerException Modifier and Type Method Description User
UploadService. fetchUser(String currentUserID)
This service is used to fetch the currently logged in userUser
UploadServiceImpl. fetchUser(String currentUserID)
The implementation that helps in fetching the current logged in user from the database -
Uses of InternalServerException in in.cs699.tensors.delagram.content_view_service.controller
Methods in in.cs699.tensors.delagram.content_view_service.controller that throw InternalServerException Modifier and Type Method Description void
ContentViewController. commentOnMemory(String authorizationToken, Map<String,Object> payload)
The end-point that allows users to comment on a memory in the feed.List<Feed>
ContentViewController. fetchFeed(String authorizationToken, Map<String,Object> payload)
The end-point that provides the web-service of fetching the recent feed for the currently logged in user.void
ContentViewController. reactOnMemory(String authorizationToken, Map<String,Object> payload)
The end-point that allows users to add a star to a memory in the feed. -
Uses of InternalServerException in in.cs699.tensors.delagram.content_view_service.repository
Methods in in.cs699.tensors.delagram.content_view_service.repository that throw InternalServerException Modifier and Type Method Description User
ContentViewRepository. fetchUserByID(String currentUserID)
An abstraction that allows to fetch the user associated with a certain user id.User
ContentViewRepositoryFirebase. fetchUserByID(String currentUserID)
An implementation for fetching the user given by the id. -
Uses of InternalServerException in in.cs699.tensors.delagram.content_view_service.service
Methods in in.cs699.tensors.delagram.content_view_service.service that throw InternalServerException Modifier and Type Method Description List<Feed>
ContentViewService. fetchRecentFeed(String currentUserID)
A service that lets the currently logged-in user fetch the recent feed for them.List<Feed>
ContentViewServiceImpl. fetchRecentFeed(String currentUserID)
An implementation for the logic of fetching feed for a user.void
ContentViewService. updateMemoryWithComment(String memoryID, String currentUserID, String reactedUserID, String commentText)
A service that lets the currently logged-in user persist their comment on the database.void
ContentViewServiceImpl. updateMemoryWithComment(String memoryID, String currentUserID, String reactedUserID, String commentText)
An implementation of updating a memory with the newly added comment.void
ContentViewService. updateMemoryWithReact(String memoryID, String currentUserID, String reactedUserID)
A service that lets the currently logged-in user persist their star on the database.void
ContentViewServiceImpl. updateMemoryWithReact(String memoryID, String currentUserID, String reactedUserID)
An implementation of updating a memory with the newly added star. -
Uses of InternalServerException in in.cs699.tensors.delagram.profile_search_service.controller
Methods in in.cs699.tensors.delagram.profile_search_service.controller that throw InternalServerException Modifier and Type Method Description boolean
ProfileSearchController. bindUsersInCircle(String authorizationToken, Map<String,Object> payload)
This end-point lets a user add another user in their circle. -
Uses of InternalServerException in in.cs699.tensors.delagram.profile_search_service.service
Methods in in.cs699.tensors.delagram.profile_search_service.service that throw InternalServerException Modifier and Type Method Description boolean
ProfileSearchService. makeCircleAndPersist(Map<String,Object> payload)
This service is used to add the users in each others' circles.boolean
ProfileSearchServiceImpl. makeCircleAndPersist(Map<String,Object> payload)
An implementation for the logic of adding users in each others' circle.
-