public class ConnectorService extends AbstractRestService
Modifier and Type | Field and Description |
---|---|
protected ConnectorRegistry |
connectorRegistry |
Constructor and Description |
---|
ConnectorService() |
Modifier and Type | Method and Description |
---|---|
List<ConnectorNodeDTO> |
children(long connectorId,
String nodeId,
List<ConnectorNodeType> connectorNodeTypes) |
protected Connector |
getConnector(long connectorId) |
ContentInformation |
getContentInfo(long connectorId,
String nodeId,
ConnectorNodeType type) |
javax.ws.rs.core.Response |
getTypedContent(long connectorId,
String nodeId,
ConnectorNodeType type) |
String |
getXmlContent(long connectorId,
String nodeId) |
List<ConnectorDTO> |
list() |
List<ConnectorNodeDTO> |
root(long connectorId) |
badRequest, internalServerError, notAllowed, notFound, redirectTo
@Inject protected ConnectorRegistry connectorRegistry
public List<ConnectorDTO> list()
public List<ConnectorNodeDTO> root(long connectorId)
public List<ConnectorNodeDTO> children(long connectorId, String nodeId, List<ConnectorNodeType> connectorNodeTypes)
public javax.ws.rs.core.Response getTypedContent(long connectorId, String nodeId, ConnectorNodeType type)
public ContentInformation getContentInfo(long connectorId, String nodeId, ConnectorNodeType type)
protected Connector getConnector(long connectorId)
Copyright © 2015. All rights reserved.