|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.syncope.console.rest.AbstractBaseRestClient
org.syncope.console.rest.ConfigurationRestClient
@Component public class ConfigurationRestClient
Console client for invoking Rest Connectors services.
| Field Summary |
|---|
| Fields inherited from class org.syncope.console.rest.AbstractBaseRestClient |
|---|
baseURL, LOG, restTemplate |
| Constructor Summary | |
|---|---|
ConfigurationRestClient()
|
|
| Method Summary | |
|---|---|
boolean |
createConfiguration(ConfigurationTO configurationTO)
Create a new configuration. |
void |
deleteConfiguration(String key)
Deelete a configuration by key |
List<ConfigurationTO> |
getAllConfigurations()
Get all stored configurations. |
List<LoggerTO> |
getLoggers()
Get all loggers. |
ConfigurationTO |
readConfiguration(String key)
Load an existent configuration. |
boolean |
setLoggerLevel(String name,
String level)
|
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 ConfigurationRestClient()
| Method Detail |
|---|
public List<ConfigurationTO> getAllConfigurations()
throws SyncopeClientCompositeErrorException
SyncopeClientCompositeErrorException
public ConfigurationTO readConfiguration(String key)
throws SyncopeClientCompositeErrorException
SyncopeClientCompositeErrorExceptionpublic boolean createConfiguration(ConfigurationTO configurationTO)
configurationTO -
public boolean updateConfiguration(ConfigurationTO configurationTO)
configurationTO -
public void deleteConfiguration(String key)
throws UnsupportedEncodingException,
org.springframework.web.client.HttpStatusCodeException
UnsupportedEncodingException
org.springframework.web.client.HttpStatusCodeException
public List<LoggerTO> getLoggers()
throws SyncopeClientCompositeErrorException
SyncopeClientCompositeErrorException
public boolean setLoggerLevel(String name,
String level)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||