1 package org.simantics.document.server.io;
\r
3 public interface IAbstractRequestInterface {
\r
6 void createSession(String sessionGUID, IConsole console);
\r
7 void deleteSession(String sessionGUID);
\r
8 void setInputURI(String sessionGUID, String inputURI);
\r
9 void setSessionParameter(String sessionGUID, String parameterName, Object value);
\r
10 public IJSONResult requestDocument(String document, int sequenceNumber, int pollingHint, String sessionGUID);
\r
11 public String requestDocumentURI(String alias);
\r
12 String requestCSS(String documentURI);
\r
13 int[] requestLoadingIndicatorDelay(String documentURI);
\r
14 Double requestPollingInterval(String documentURI);
\r
15 Content requestContent(String resourceURI);
\r
16 public CommandResult execute(String id, CommandContext context);
\r
17 public void subscribeDocument(String document, String sessionGUID, IDocumentListener documentListener);
\r
18 public IJSONResult readChanges(String uri, String sessionGUID, int sequenceNumber);
\r
19 public void initializeDocument(String documentURI, String sessionGUID, CommandContext context);
\r
20 public void onPoll(String sessionGUID);
\r