Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- getAcceptedMatchRequests(long) - Method in class restapi.services.MatchRequestService
-
Returns list of accepted matches for user whit userId
- getAcceptedRequests(long) - Method in class restapi.services.RequestService
-
Return list of requests that have userID as sender or receiver and state == accepted
- getAcceptedRequests(LoggedUser) - Method in class restapi.controllers.RequestController
-
Returns a list of accepted friendship requests and a list of received friendship requests.
- getActiveMatches(long) - Method in class restapi.services.MatchService
-
Returns list of active matches with user
- getActiveMatches(LoggedUser) - Method in class restapi.controllers.MatchController
-
Returns sent and received match requests with the details of the contact in the match, and a list of matches not requested endpoint /matches/active
- getActiveRequests(long) - Method in class restapi.services.RequestService
-
Return list of requests that have userID as sender or receiver and state == active
- getAuthenticatedOrFail(String, String) - Method in class restapi.utils.websocket.WebSocketAuthenticatorService
- getAuthorities() - Method in class restapi.utils.security.auth.LoggedUser
- getByMatchId(long) - Method in class restapi.services.MatchRequestService
-
Get MatchRequestEntity By Match Id
- getContactDTO(long, long) - Method in class restapi.services.ContactPreferencesService
-
Returns Contact DTO corresponding to preferences of user for contact
- getContactDTOFromEntity(ContactPreferencesEntity) - Method in class restapi.services.ContactPreferencesService
-
Transforms Contact Entity to Contact DTO
- getContactPreferences(LoggedUser, long) - Method in class restapi.controllers.ContactPreferencesController
-
Endpoint to get the details of specific contact endpoint /contact/details
- getContacts(long) - Method in class restapi.services.ContactPreferencesService
-
Get all contacts' parameters and personal info
- getContacts(LoggedUser) - Method in class restapi.controllers.ContactPreferencesController
-
Endpoint to get all contacts for User endpoint /contact/all
- getContacts(LoggedUser) - Method in class restapi.controllers.ContactsController
-
Returns all contacts the user has in the app.
- getContent() - Method in class restapi.Greeting
- getCurrent(LoggedUser) - Method in class restapi.controllers.UsersControllerSecured
-
Get user's details endpoint /users/current
- getDtoById(long) - Method in class restapi.services.UserService
-
Get UserDTO of user with id == id
- getDtoFromEntity(UserEntity) - Method in class restapi.services.UserService
-
Translates UserEntity to UserDTO
- getDtoFromEntityAndSenderId(MatchRequestEntity, long) - Method in class restapi.services.MatchRequestService
-
Translates MatchRequestEntity to MatchRequestDTO with userId as contact (not user)
- getDtoFromEntityAndUserId(MatchEntity, long) - Method in class restapi.services.MatchService
- getDtoFromEntityAndUserId(MatchRequestEntity, long) - Method in class restapi.services.MatchRequestService
-
Translates MatchRequestEntity to MatchRequestDTO with userId as user (not contact)
- getDtoFromMatchEntityAndSenderId(MatchEntity, long, String) - Method in class restapi.services.MatchRequestService
-
Constructs MatchRequestDTO with matchId from match, contact = user in match with id == userId, and state == state
- getDtoFromMatchEntityAndUserId(MatchEntity, long, String) - Method in class restapi.services.MatchRequestService
-
Constructs MatchRequestDTO with matchId from match, contact = user in match id !
- getDtoFromOptional(Optional<UserEntity>) - Method in class restapi.services.UserService
-
Translates Optional of UserEntity to UserDTO
- getDtoFromUserId(long) - Method in class restapi.services.UserService
-
Get UserDTO of user with id == id
- getDtoFromUserId(String) - Method in class restapi.services.UserService
-
Get UserDTO of user with username == username
- getE164FormattedMobileNumber(String, String) - Method in class restapi.utils.services.phone.PhoneNumberService
- getFormattedNumber(String) - Method in class restapi.utils.services.phone.PhoneNumberService
- getFormattedNumberWithCountry(String, String) - Method in class restapi.utils.services.phone.PhoneNumberService
- getFulfilledMatches(LoggedUser) - Method in class restapi.controllers.MatchController
-
Get user's match requests that have been accepted by both users endpoint /matches/fulfilled
- getIamReceiverDtoFromEntity(MatchRequestEntity) - Method in class restapi.services.MatchRequestService
-
Translates MatchRequestEntity into MatchRequestDTO with user == receiver and contact == sender
- getIamSenderActiveMatchRequests(long) - Method in class restapi.services.MatchRequestService
-
Returns a list of matches that have user as sender and are active
- getIamSenderDtoFromEntity(MatchRequestEntity) - Method in class restapi.services.MatchRequestService
-
Translates MatchRequestEntity into MatchRequestDTO with user == sender and contact == receiver
- getIamSenderMatchRequests(long) - Method in class restapi.services.MatchRequestService
-
Returns a list of matches that have user as sender
- getId() - Method in class restapi.Greeting
- getIdByUsername(String) - Method in class restapi.services.UserService
-
Returns id of user with username == username
- getLocation(long) - Method in class restapi.services.LocationService
-
Get location saved on the database for user with id = id
- getMatchById(long) - Method in class restapi.services.MatchService
-
Get Match By Id
- getMatchRequests(long) - Method in class restapi.services.MatchRequestService
-
Get match request the user is in (as sender or receiver)
- getNearMe(long, HashMap<Long, Long>, LocationDTO) - Method in class restapi.services.LocationService
-
Returns a map of contacts that are near the user and made from the map passed by parameter
- getOutdatedMatches(long) - Method in class restapi.services.MatchService
- getPassword() - Method in class restapi.utils.security.auth.LoggedUser
- getPhoneFromFireAuth(String) - Method in class restapi.services.FirebaseService
-
Retrieves phone number corresponding to auth UID from Firebase
- getReceivedActiveMatchRequests(long) - Method in class restapi.services.MatchRequestService
-
Returns a list of matches that have user as receiver and are active
- getReceivedMatchRequests(long) - Method in class restapi.services.MatchRequestService
-
Returns a list of matches that have user as receiver
- getRecentMatchBetweenUsers(long, long) - Method in class restapi.services.MatchService
-
Returns list of active matches between u1 and u2
- getRejectedRequests(long) - Method in class restapi.services.RequestService
-
Return list of requests that have userID as sender or receiver and state == rejected and is not older than 30 days
- getRequest(long, long) - Method in class restapi.services.RequestService
-
Return list of requests that have sender as sender and receiver as receiver
- getRequests(long) - Method in class restapi.services.RequestService
-
Return list of requests that have userID as sender or receiver
- getRequests(String, int) - Method in class restapi.controllers.RequestController
- getRequests(LoggedUser) - Method in class restapi.controllers.RequestController
-
Returns a list of sent friendship requests and a list of received friendship requests.
- getUser(long) - Method in class restapi.services.UserService
-
Retrieves user from DB with id == id
- getUser(String) - Method in class restapi.services.UserService
-
Retrieves user from DB with username == username
- getUserDtoByPhone(String, String) - Method in class restapi.services.UserService
-
Get UserDTO of user with phone == phone
- getUsernameByFireAuth(String) - Method in class restapi.services.FirebaseService
-
Returns Username with phone number corresponding to the authUID on Firebase
- getUsernameById(long) - Method in class restapi.services.UserService
-
Returns username of user with id == id
- getUsers10LastMatches(long) - Method in class restapi.services.MatchService
- getValidPhoneFromFireAuth(String) - Method in class restapi.services.FirebaseService
-
Returns phone number corresponding to the authUID on Firebase if the phone is not already used by a user
- getValidSession(UserEntity, String) - Method in class restapi.services.UserSessionService
-
Returns a LoggedUser if the token is valid, null otherwise
- greeting(String) - Method in class restapi.GreetingController
- Greeting - Class in restapi
- Greeting(long, String) - Constructor for class restapi.Greeting
- GreetingController - Class in restapi
- GreetingController() - Constructor for class restapi.GreetingController
- GreetingTest - Class in restapi
- GreetingTest() - Constructor for class restapi.GreetingTest
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form