Class AdminRest
- java.lang.Object
-
- com.artisol.teneo.manager.client.rest.AbstractRest
-
- com.artisol.teneo.manager.client.rest.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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.artisol.teneo.manager.api.entity.Setting>
getSettings()
List<com.artisol.teneo.manager.api.entity.Setting>
updateSettings(List<com.artisol.teneo.manager.api.entity.Setting> pSettings)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.artisol.teneo.manager.client.rest.SettingsRest
getSettingsAsSettings
-
-
-
-
Constructor Detail
-
AdminRest
public AdminRest(javax.ws.rs.client.WebTarget pWebTarget, org.slf4j.Marker pMarker)
Constructs aAdminRest
object used to call the common interface- Parameters:
pWebTarget
- AWebTarget
instance properly configuredpMarker
- AMarker
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 interfacecom.artisol.teneo.manager.api.rest.Admin
- Specified by:
getSettings
in interfaceSettingsRest
- 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 interfacecom.artisol.teneo.manager.api.rest.Admin
- Throws:
com.artisol.teneo.manager.api.exception.RestException
-
-