Interface ProfileWebService
- All Superinterfaces:
WebService
- All Known Implementing Classes:
ProfileRetrofitWebService
Available methods for the Profile Web Service.
- Since:
- 4/12/2021
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getListenerProfile
(String profile_leid, String secretKey, WebServiceResponseHandler<Profile> responseHandler) Method that will retrieve a listener profile for the current venue, represented by json structurevoid
Method that will retrieve the menu with all the listener profiles for the current venue, represented by json structurevoid
getProfile
(WebServiceResponseHandler<Profile> handler) Method that will retrieve the profile for the current venuevoid
updateProfile
(String token, Profile profile, WebServiceResponseHandler<retrofit.client.Response> handler) Method that will create or update the mobile app profile for the current venue, represented by json structure
-
Method Details
-
getProfile
Method that will retrieve the profile for the current venue- Parameters:
handler
- the handler to manage the status of the request
-
getListenerProfilesMenu
void getListenerProfilesMenu(WebServiceResponseHandler<List<ListenerProfileInformation>> response) throws RuntimeException Method that will retrieve the menu with all the listener profiles for the current venue, represented by json structure- Parameters:
response
-- Throws:
RuntimeException
-
getListenerProfile
void getListenerProfile(String profile_leid, String secretKey, WebServiceResponseHandler<Profile> responseHandler) Method that will retrieve a listener profile for the current venue, represented by json structure- Parameters:
secretKey
- the secretKey to authenticate and get the listener profileresponseHandler
- the response that will retrieve the default listener profile for the current venue
-
updateProfile
void updateProfile(String token, Profile profile, WebServiceResponseHandler<retrofit.client.Response> handler) Method that will create or update the mobile app profile for the current venue, represented by json structure- Parameters:
token
- the token to authenticate and post the Profile Configprofile
- the mobile app profile object to update or create in the serverhandler
- the handler to manage the request status
-