Interface ProfileWebService

All Superinterfaces:
WebService
All Known Implementing Classes:
ProfileRetrofitWebService

public interface ProfileWebService extends WebService
Available methods for the Profile Web Service.
Since:
4/12/2021
  • Method Details

    • getProfile

      void getProfile(WebServiceResponseHandler<Profile> handler)
      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 profile
      responseHandler - 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 Config
      profile - the mobile app profile object to update or create in the server
      handler - the handler to manage the request status