public abstract class Connector extends Object
| Constructor and Description |
|---|
Connector() |
public abstract List<ConnectorNode> getChildren(ConnectorNode parent)
public abstract ConnectorNode getRoot()
public abstract ConnectorNode getNode(String id)
ConnectorNode to the assigned id. If
a ConnectorNode could not be found, the value null
will be returned.id - Represents the id of a ConnectorNode to search.ConnectorNode to the assigned id or null if no
ConnectorNode found.public abstract InputStream getContent(ConnectorNode node)
ConnectorNode.getType().node - public abstract ContentInformation getContentInformation(ConnectorNode node)
ContentInformation for the given connector node.
May never return null or throw an exception.node - public abstract ConnectorNode createNode(String parentId, String label, ConnectorNodeType type, String message)
public abstract void deleteNode(ConnectorNode node, String message)
public abstract ContentInformation updateContent(ConnectorNode node, InputStream newContent, String message) throws Exception
Exceptionpublic void dispose()
public abstract boolean needsLogin()
public ConnectorConfiguration getConfiguration()
public void setConfiguration(ConnectorConfiguration configuration)
public void init(ConnectorConfiguration config)
public void init()
public Long getId()
public abstract boolean isSupportsCommitMessage()
Copyright © 2015. All rights reserved.