org.camunda.bpm.cycle.web.service.resource
Class ConnectorCredentialsService

java.lang.Object
  extended by org.camunda.bpm.cycle.web.service.AbstractRestService
      extended by org.camunda.bpm.cycle.web.service.resource.ConnectorCredentialsService

public class ConnectorCredentialsService
extends AbstractRestService

FIXME this class is untested!


Constructor Summary
ConnectorCredentialsService()
           
 
Method Summary
 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)
           
 
Methods inherited from class org.camunda.bpm.cycle.web.service.AbstractRestService
badRequest, internalServerError, notAllowed, notFound, redirectTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorCredentialsService

public ConnectorCredentialsService()
Method Detail

list

public List<ConnectorCredentialsDTO> list(Long userId)

get

public ConnectorCredentialsDTO get(long id)

update

@Transactional
public ConnectorCredentialsDTO update(ConnectorCredentialsDTO data)

create

public ConnectorCredentialsDTO create(ConnectorCredentialsDTO data)

delete

@Transactional
public void delete(long id)

test

public ConnectorStatusDTO test(ConnectorCredentialsDTO data)

getConnectorCredentialsByUserId

protected List<ConnectorCredentialsDTO> getConnectorCredentialsByUserId(Long userId)

getAndFetchConnectorCredentialsById

protected ConnectorCredentials getAndFetchConnectorCredentialsById(Long id)

getConnectorConfigurationById

protected ConnectorConfiguration getConnectorConfigurationById(long configurationId)

getById

protected ConnectorCredentials getById(long id)
                                throws javax.ws.rs.WebApplicationException
Throws:
javax.ws.rs.WebApplicationException


Copyright © 2014 camunda services GmbH. All rights reserved.