public class ConnectorConfigurationService extends AbstractRestService
Modifier and Type | Field and Description |
---|---|
protected ConnectorConfigurationRepository |
connectorConfigurationRepository |
protected ConnectorRegistry |
connectorRegistry |
protected EncryptionService |
encryptionService |
Constructor and Description |
---|
ConnectorConfigurationService() |
Modifier and Type | Method and Description |
---|---|
ConnectorConfigurationDTO |
create(ConnectorConfigurationDTO data) |
void |
delete(long id) |
protected ConnectorConfiguration |
findConfigurationById(long id) |
ConnectorConfigurationDTO |
get(long id) |
List<ConnectorConfigurationDTO> |
list() |
List<ConnectorConfigurationDTO> |
listDefaults() |
ConnectorStatusDTO |
test(ConnectorConfigurationDTO data) |
ConnectorConfigurationDTO |
update(ConnectorConfigurationDTO data) |
badRequest, internalServerError, notAllowed, notFound, redirectTo
@Inject protected ConnectorRegistry connectorRegistry
@Inject protected EncryptionService encryptionService
@Inject protected ConnectorConfigurationRepository connectorConfigurationRepository
public List<ConnectorConfigurationDTO> listDefaults()
public List<ConnectorConfigurationDTO> list()
public ConnectorConfigurationDTO get(long id)
@Transactional public ConnectorConfigurationDTO update(ConnectorConfigurationDTO data)
public ConnectorConfigurationDTO create(ConnectorConfigurationDTO data)
@Transactional public void delete(long id)
public ConnectorStatusDTO test(ConnectorConfigurationDTO data)
protected ConnectorConfiguration findConfigurationById(long id)
Copyright © 2015. All rights reserved.