org.syncope.console.rest
Class ConnectorRestClient

java.lang.Object
  extended by org.syncope.console.rest.AbstractBaseRestClient
      extended by org.syncope.console.rest.ConnectorRestClient

@Component
public class ConnectorRestClient
extends AbstractBaseRestClient

Console client for invoking Rest Connectors services.


Field Summary
 
Fields inherited from class org.syncope.console.rest.AbstractBaseRestClient
baseURL, LOG, restTemplate
 
Constructor Summary
ConnectorRestClient()
           
 
Method Summary
 void create(ConnInstanceTO connectorTO)
          Create new connector.
 void delete(Long id)
          Delete an already existent connector by its name.
 List<ConnBundleTO> getAllBundles()
           
 List<ConnInstanceTO> getAllConnectors()
          Get all connectors.
 ConnInstanceTO read(String name)
          Load an already existent connector by its name.
 void update(ConnInstanceTO connectorTO)
          Update an already existent connector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorRestClient

public ConnectorRestClient()
Method Detail

getAllConnectors

public List<ConnInstanceTO> getAllConnectors()
Get all connectors.

Returns:
ConnectorInstanceTOs

create

public void create(ConnInstanceTO connectorTO)
Create new connector.

Parameters:
schemaTO -

read

public ConnInstanceTO read(String name)
Load an already existent connector by its name.

Parameters:
name - (e.g.:surname)
Returns:
schemaTO

update

public void update(ConnInstanceTO connectorTO)
Update an already existent connector.

Parameters:
schemaTO - updated

delete

public void delete(Long id)
Delete an already existent connector by its name.

Parameters:
name - (e.g.:surname)

getAllBundles

public List<ConnBundleTO> getAllBundles()


Copyright © 2011. All Rights Reserved.