Package com.saperion.ngc.json
Class SapUrlParseResult
java.lang.Object
com.saperion.ngc.json.SapUrlParseResult
This bean is serialized to JSON when a new SAP-Viewer URL was parsed. It contains information
for SAP-Viewer GUI needed to initialize the viewers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAlf()booleanreturns if hyland viewer is to be usedbooleanvoidsetAlf(boolean isAlf) voidsetUseHylandViewer(boolean useHylandViewer) set this if hyland viewer is to be usedvoidsetUsePdfJSViewer(boolean usePdfJSViewer)
-
Constructor Details
-
SapUrlParseResult
public SapUrlParseResult()
-
-
Method Details
-
isAlf
public boolean isAlf()- Returns:
- true if the current document is an ALF document
-
setAlf
public void setAlf(boolean isAlf) - Parameters:
isAlf- whether the current document is an ALF document
-
isUsePdfJSViewer
public boolean isUsePdfJSViewer()- Returns:
- whether the pdfJS viewer is enabled
-
setUsePdfJSViewer
public void setUsePdfJSViewer(boolean usePdfJSViewer) - Parameters:
usePdfJSViewer- whether the pdfJS viewer is enabled
-
isUseHylandViewer
public boolean isUseHylandViewer()returns if hyland viewer is to be used- Returns:
-
setUseHylandViewer
public void setUseHylandViewer(boolean useHylandViewer) set this if hyland viewer is to be used- Parameters:
useHylandViewer-
-