public interface ConnectorServerService
Modifier and Type | Method and Description |
---|---|
ConnectorServer |
create(ConnectorServer cs)
Creates instance of connector server.
|
void |
delete(ConnectorServer cs)
Deletes ConnectorServer instance
Note: ConnectorServer can only be deleted if it has no connectors deployed on it
|
java.util.List |
getAllConnectorServers()
Returns all connector servers configured
|
java.util.List |
getApplicationsConfigured(ConnectorServer cs)
Returns list of applications referencing connector bundles deployed on this connector server
|
java.util.List |
getConnectorsDeployed(ConnectorServer cs)
Refresh cache with list of connectors deployed on a connectorserver.
|
java.util.List |
search(SearchCriteria crit,
java.util.HashMap configParams) |
ConnectorServer |
searchByID(java.lang.String id) |
java.util.List |
searchByName(java.lang.String name) |
void |
testConnection(ConnectorServer cs)
Validate connection to the connector server
|
ConnectorServer |
update(ConnectorServer cs) |
ConnectorServer create(ConnectorServer cs) throws GenericAppConfigException, DuplicateConnectorServerException, AuthorizationFailedException
cs
- -ConnectorServer instanceDuplicateConnectorServerException
AuthorizationFailedException
GenericAppConfigException
ConnectorServer update(ConnectorServer cs) throws GenericAppConfigException, ConnectorServerNotFoundException, AuthorizationFailedException
void delete(ConnectorServer cs) throws GenericAppConfigException, ConnectorServerNotFoundException, AuthorizationFailedException
ConnectorServer
- instance with atleast the id field populatedAuthorizationFailedException
ConnectorServerNotFoundException
GenericAppConfigException
void testConnection(ConnectorServer cs) throws GenericAppConfigException
cs
- - ConnectorServer instanceGenericAppConfigException
java.util.List getAllConnectorServers() throws GenericAppConfigException, AuthorizationFailedException
GenericAppConfigException
AuthorizationFailedException
java.util.List searchByName(java.lang.String name) throws GenericAppConfigException, AuthorizationFailedException
name
- - Connector Server NameGenericAppConfigException
AuthorizationFailedException
ConnectorServer searchByID(java.lang.String id) throws GenericAppConfigException, AuthorizationFailedException
name
- - Connector Server IDGenericAppConfigException
AuthorizationFailedException
java.util.List search(SearchCriteria crit, java.util.HashMap configParams) throws GenericAppConfigException, AuthorizationFailedException
crit
- - Search crtieria can be ConnectorServer.ATTRIBUTE.NAME, ConnectorServer.ATTRIBUTE.ID,
ConnectorServer.ATTRIBUTE.HOSTconfigParams
- -Parameters to further configure the search operation. There
are four configuration parameters. ProvisioningConstants.STARTROW, ENDROW, SORTEDBY
and SORTORDER.GenericAppConfigException
AuthorizationFailedException
java.util.List getConnectorsDeployed(ConnectorServer cs) throws GenericAppConfigException, AuthorizationFailedException
cs
- - ConnectorServer - containing idGenericAppConfigException
AuthorizationFailedException
java.util.List getApplicationsConfigured(ConnectorServer cs) throws GenericAppConfigException, AuthorizationFailedException
cs
- - ConnectorServer - containing idGenericAppConfigException
AuthorizationFailedException