Package com.saperion.ngc.json
Class SapViewerResources
- java.lang.Object
-
- com.saperion.ngc.json.SapViewerResources
-
public class SapViewerResources extends java.lang.ObjectThe resources used on the client-side by SAPViewer. This class will be converted to a JSON string and then sent to the client.
-
-
Constructor Summary
Constructors Constructor Description SapViewerResources(javax.servlet.http.HttpServletRequest request, java.lang.String viewerId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCloseWindowParams()java.lang.StringgetControlUrl()java.lang.StringgetDocumentInfoParams()java.lang.StringgetDownloadUrl()java.lang.StringgetHelpUrl()java.lang.StringgetKeepAliveParams()java.lang.StringgetMailDownloadLinkParams()java.lang.StringgetMailShareLinkParams()longgetMaxViewSize()java.lang.StringgetMultiDownloadParams()java.lang.StringgetNewElementParams()java.lang.StringgetNewUrlParams()java.lang.StringgetRotationParams()java.lang.StringgetSapNotesUrl()java.lang.StringgetZipDownloadUrl()
-
-
-
Method Detail
-
getMaxViewSize
public long getMaxViewSize()
- Returns:
- maximum size of a viewable document
-
getControlUrl
public java.lang.String getControlUrl()
- Returns:
- URL of the control-servlet
-
getSapNotesUrl
public java.lang.String getSapNotesUrl()
- Returns:
- URL of the sapnotes-servlet
-
getDownloadUrl
public java.lang.String getDownloadUrl()
- Returns:
- URL of the streaming-servlet for download
-
getZipDownloadUrl
public java.lang.String getZipDownloadUrl()
- Returns:
- URL of the zip-servlet
-
getNewUrlParams
public java.lang.String getNewUrlParams()
- Returns:
- parameters needed when posting a new URL
-
getNewElementParams
public java.lang.String getNewElementParams()
- Returns:
- parameters needed when switching to another element
-
getCloseWindowParams
public java.lang.String getCloseWindowParams()
- Returns:
- parameters needed when notfying about close
-
getRotationParams
public java.lang.String getRotationParams()
- Returns:
- parameters needed when posting a new rotation event
-
getMultiDownloadParams
public java.lang.String getMultiDownloadParams()
- Returns:
- parameters needed when initializing a multi-element-download
-
getKeepAliveParams
public java.lang.String getKeepAliveParams()
- Returns:
- parameters needed by keep-alive post
-
getDocumentInfoParams
public java.lang.String getDocumentInfoParams()
- Returns:
- parameters needed when requesting document infos
-
getMailShareLinkParams
public java.lang.String getMailShareLinkParams()
- Returns:
- parameters needed when requesting mail link infos
-
getMailDownloadLinkParams
public java.lang.String getMailDownloadLinkParams()
- Returns:
- parameters needed when requesting mail link infos
-
getHelpUrl
public java.lang.String getHelpUrl()
- Returns:
- help URL
-
-