public class SapViewerResponse extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SapViewerResponse.StructureRow
This class represents a row in the structure-view of the SAPViewer.
|
Constructor and Description |
---|
SapViewerResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getDocumentId() |
SapViewerResponse.StructureRow[] |
getDocumentRows() |
int |
getFirstViewableElement() |
String |
getMailingUrl() |
int |
getPagecount() |
String |
getRevisionId() |
String |
getSimpleDocumentId() |
String |
getUrlMailingUrl() |
boolean |
isDownloadAllowed() |
boolean |
isShowStructure() |
void |
setDocumentId(String documentId) |
void |
setDocumentRows(SapViewerResponse.StructureRow[] documentRows) |
void |
setDownloadAllowed(boolean downloadAllowed) |
void |
setFirstViewableElement(int firstViewableElement) |
void |
setMailingUrl(String mailingUrl) |
void |
setPagecount(int pagecount) |
void |
setShowStructure(boolean showStructure) |
void |
setSimpleDocumentId(String simpleDocumentId) |
void |
setUrlMailingUrl(String urlMailingUrl) |
public String getDocumentId()
public void setDocumentId(String documentId)
documentId
- the JSON ID of the documentpublic SapViewerResponse.StructureRow[] getDocumentRows()
public void setDocumentRows(SapViewerResponse.StructureRow[] documentRows)
documentRows
- the rows of the structurepublic boolean isDownloadAllowed()
public void setDownloadAllowed(boolean downloadAllowed)
downloadAllowed
- true if the document can be downloadedpublic String getRevisionId()
public int getFirstViewableElement()
public void setFirstViewableElement(int firstViewableElement)
firstViewableElement
- the number of the first element in the structure that can be viewedpublic String getMailingUrl()
public void setMailingUrl(String mailingUrl)
mailingUrl
- the URL used for mailing with attachmentpublic String getUrlMailingUrl()
public void setUrlMailingUrl(String urlMailingUrl)
urlMailingUrl
- the URL used for mailing with linkpublic boolean isShowStructure()
public void setShowStructure(boolean showStructure)
showStructure
- true if the structure is shownpublic int getPagecount()
public void setPagecount(int pagecount)
pagecount
- the count of pages of the documentpublic String getSimpleDocumentId()
public void setSimpleDocumentId(String simpleDocumentId)
simpleDocumentId
- the simple string ID of the documentCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.