Class AdminRest

  • All Implemented Interfaces:
    com.artisol.teneo.manager.api.rest.Admin, SettingsRest

    public class AdminRest
    extends AbstractRest
    implements com.artisol.teneo.manager.api.rest.Admin, SettingsRest
    • Field Summary

      • Fields inherited from interface com.artisol.teneo.manager.api.rest.Admin

        GET_SETTINGS_PATH, GET_SETTINGS_PRODUCES, GET_SETTINGS_SUMMARY, PATH, PUT_SETTINGS_CONSUMES, PUT_SETTINGS_PATH, PUT_SETTINGS_PRODUCES, PUT_SETTINGS_SUMMARY
    • Constructor Summary

      Constructors 
      Constructor Description
      AdminRest​(javax.ws.rs.client.WebTarget pWebTarget, org.slf4j.Marker pMarker)
      Constructs a AdminRest object used to call the common interface
    • Constructor Detail

      • AdminRest

        public AdminRest​(javax.ws.rs.client.WebTarget pWebTarget,
                         org.slf4j.Marker pMarker)
        Constructs a AdminRest object used to call the common interface
        Parameters:
        pWebTarget - A WebTarget instance properly configured
        pMarker - A Marker to fine tuning logging
    • Method Detail

      • getSettings

        public List<com.artisol.teneo.manager.api.entity.Setting> getSettings()
                                                                       throws com.artisol.teneo.manager.api.exception.RestException
        Specified by:
        getSettings in interface com.artisol.teneo.manager.api.rest.Admin
        Specified by:
        getSettings in interface SettingsRest
        Throws:
        com.artisol.teneo.manager.api.exception.RestException
      • updateSettings

        public List<com.artisol.teneo.manager.api.entity.Setting> updateSettings​(List<com.artisol.teneo.manager.api.entity.Setting> pSettings)
                                                                          throws com.artisol.teneo.manager.api.exception.RestException
        Specified by:
        updateSettings in interface com.artisol.teneo.manager.api.rest.Admin
        Throws:
        com.artisol.teneo.manager.api.exception.RestException