|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.syncope.console.rest.ConfigurationsRestClient
public class ConfigurationsRestClient
Console client for invoking Rest Connectors services.
| Constructor Summary | |
|---|---|
ConfigurationsRestClient()
|
|
| Method Summary | |
|---|---|
boolean |
createConfiguration(ConfigurationTO configurationTO)
Create a new configuration. |
void |
deleteConfiguration(String confKey)
Deelete a configuration by confKey |
List<ConfigurationTO> |
getAllConfigurations()
Get all stored configurations. |
RestClient |
getRestClient()
Getter for restClient attribute. |
ConfigurationTO |
readConfiguration(String confKey)
Load an existent configuration. |
void |
setRestClient(RestClient restClient)
Setter for restClient attribute. |
boolean |
updateConfiguration(ConfigurationTO configurationTO)
Update an existent configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationsRestClient()
| Method Detail |
|---|
public List<ConfigurationTO> getAllConfigurations()
throws org.springframework.web.client.RestClientException
org.springframework.web.client.RestClientException
public ConfigurationTO readConfiguration(String confKey)
throws SyncopeClientCompositeErrorException,
org.springframework.web.client.RestClientException
SyncopeClientCompositeErrorException
org.springframework.web.client.RestClientExceptionpublic boolean createConfiguration(ConfigurationTO configurationTO)
configurationTO -
public boolean updateConfiguration(ConfigurationTO configurationTO)
configurationTO -
public void deleteConfiguration(String confKey)
throws UnsupportedEncodingException,
org.springframework.web.client.HttpStatusCodeException
UnsupportedEncodingException
org.springframework.web.client.HttpStatusCodeExceptionpublic RestClient getRestClient()
public void setRestClient(RestClient restClient)
restClient - instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||