public class ConnectorCredentialsService extends AbstractRestService
Constructor and Description |
---|
ConnectorCredentialsService() |
Modifier and Type | Method and Description |
---|---|
ConnectorCredentialsDTO |
create(ConnectorCredentialsDTO data) |
void |
delete(long id) |
ConnectorCredentialsDTO |
get(long id) |
protected ConnectorCredentials |
getAndFetchConnectorCredentialsById(Long id) |
protected ConnectorCredentials |
getById(long id) |
protected ConnectorConfiguration |
getConnectorConfigurationById(long configurationId) |
protected List<ConnectorCredentialsDTO> |
getConnectorCredentialsByUserId(Long userId) |
List<ConnectorCredentialsDTO> |
list(Long userId) |
ConnectorStatusDTO |
test(ConnectorCredentialsDTO data) |
ConnectorCredentialsDTO |
update(ConnectorCredentialsDTO data) |
badRequest, internalServerError, notAllowed, notFound, redirectTo
public List<ConnectorCredentialsDTO> list(Long userId)
public ConnectorCredentialsDTO get(long id)
@Transactional public ConnectorCredentialsDTO update(ConnectorCredentialsDTO data)
public ConnectorCredentialsDTO create(ConnectorCredentialsDTO data)
@Transactional public void delete(long id)
public ConnectorStatusDTO test(ConnectorCredentialsDTO data)
protected List<ConnectorCredentialsDTO> getConnectorCredentialsByUserId(Long userId)
protected ConnectorCredentials getAndFetchConnectorCredentialsById(Long id)
protected ConnectorConfiguration getConnectorConfigurationById(long configurationId)
protected ConnectorCredentials getById(long id) throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationException
Copyright © 2015. All rights reserved.