public class RemoteContext extends Object
Modifier and Type | Field and Description |
---|---|
protected HttpAutomationClient |
client |
protected Document |
doc |
protected DocumentService |
ds |
protected AutomationFeature |
feature |
protected String |
host |
protected Session |
session |
protected Shell |
shell |
protected List<Document> |
stack |
protected String |
userName |
Constructor and Description |
---|
RemoteContext(AutomationFeature feature,
HttpAutomationClient client,
Session session,
String dir) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
HttpAutomationClient |
getClient() |
Document |
getDocument() |
DocumentService |
getDocumentService() |
AutomationFeature |
getFeature() |
String |
getHost() |
Session |
getSession() |
Shell |
getShell() |
List<Document> |
getStack() |
String |
getUserName() |
Document |
peekDocument() |
Document |
popDocument() |
Document |
pushDocument(Document doc) |
Document |
resolveDocument(String path) |
Document |
resolveDocument(String path,
String schemas) |
Path |
resolvePath(String path) |
DocRef |
resolveRef(String path) |
void |
setDocument(Document doc) |
protected AutomationFeature feature
protected HttpAutomationClient client
protected DocumentService ds
public RemoteContext(AutomationFeature feature, HttpAutomationClient client, Session session, String dir) throws Exception
Exception
public String getUserName()
public void dispose()
public AutomationFeature getFeature()
public HttpAutomationClient getClient()
public Session getSession()
public Document getDocument()
public Path resolvePath(String path)
public DocRef resolveRef(String path)
public Document resolveDocument(String path)
public Document resolveDocument(String path, String schemas)
public void setDocument(Document doc)
public Document peekDocument()
public Document pushDocument(Document doc)
public Document popDocument()
public DocumentService getDocumentService()
Copyright © 2015 Nuxeo SA. All rights reserved.