public class JSONViewoneBootstrapResponse extends JSONResponse
There are two ways to use this class:
JSONViewoneBootstrapResponse jsonViewoneBootstrapResponse = (JSONViewoneBootstrapResponse) jsonResponse;The bootstrap response can be modified through its accessors before being returned to the client.
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
currentSecurityToken |
protected com.ibm.json.java.JSONObject |
viewOneBootstrap |
protected com.ibm.json.java.JSONObject |
viewOneParameters |
| Constructor and Description |
|---|
JSONViewoneBootstrapResponse()
Deprecated.
- Use JSONViewoneBootstrapResponse(HttpServletRequest request).
|
JSONViewoneBootstrapResponse(javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
void |
disableEditingAnnotations() |
void |
disablePrinting() |
java.lang.String |
getColdTemplateUrl() |
java.lang.String |
getGetAnnotationUrl() |
java.lang.String |
getGetContentUrl()
Returns the currently specified content URL.
|
java.lang.String |
getUpdateAnnotationUrl() |
java.lang.String |
getVirtualViewerId() |
void |
setAnnotationHideButtons(java.lang.String annotationHideButtons)
Set the ViewONE annotationHideButtons parameter.
|
void |
setAnnotationHideContextButtonIds(java.lang.String annotationHideContextButtonIds)
Set the ViewONE annotationHideContextButtonIds parameter.
|
void |
setAnnotationHideContextButtons(java.lang.String annotationHideContextButtons)
Set the ViewONE annotationHideContextButtons parameter.
|
void |
setColdTemplateUrl(java.lang.String coldTemplateUrl)
For FileNet COLD documents, specify URL used to retrieve the COLD template corresponding to the document.
|
void |
setContentElementList(java.util.List<java.lang.Integer> contentElementList)
Specify a list of document parts to Daeja ViewONE.
|
void |
setContentElementTypeList(java.util.List<java.lang.String> contentElementTypeList)
Specify a list of document part types to Daeja ViewONE.
|
void |
setCustomAnnotationToolTip(java.lang.String customAnnotationToolTip)
Sets the customAnnotationTooltip parameter of Daeja ViewONE.
|
void |
setDocumentAddMode(java.lang.String value) |
void |
setDocumentId(java.lang.String documentId) |
void |
setEditRedactionReasons(java.util.List<RedactionReasonConfig> editRedactionReasonList)
Specify the list of redaction reasons that the current user has edit access for.
|
void |
setFilenetSystem(int value)
This parameter is FileNet-specific, and is used to specify the system/application that Daeja ViewONE is working
with.
|
void |
setFileNetUG(java.lang.String fileNetUG)
For FileNet Image Services systems only, specifies the URL used to retrieve User Group information.
|
void |
setFnSecURL(java.lang.String fnSecURL)
For FileNet P8 systems, specifies the URL used to access the security dialog when a user clicks the padlock on
the annotation toolbar to open the extended security dialog.
|
void |
setGetAnnotationUrl(java.lang.String getAnnotationUrl)
Specify the service URL that Daeja ViewONE should call to retrieve document annotations.
|
void |
setGetContentUrl(java.lang.String getContentUrl)
Specify the service URL that Daeja ViewONE should call to retrieve document content.
|
protected void |
setIfNotNull(java.lang.String key,
java.lang.String value) |
void |
setPartFileName(java.lang.String value) |
void |
setRedactionSaveMode(java.lang.String value) |
void |
setSkipCustomTooltip(boolean value) |
void |
setUpdateAnnotationUrl(java.lang.String updateAnnotationUrl)
Specify the service URL that Daeja ViewONE should call to store annotation changes.
|
void |
setUserDisplayNameMap(java.util.Map<java.lang.String,java.lang.String> userDisplayNameMap)
Specify a map containing mappings of user symbolic names to user display names.
|
protected void |
setV1IfNotNull(java.lang.String key,
java.lang.String value) |
void |
setVersionCheckoutAvailable(boolean value)
Flag this document as being available for checkout.
|
void |
setVersioningAvailable(boolean value) |
void |
setViewOneParameter(java.lang.String parameter,
java.lang.String value)
Set any Daeja ViewONE parameter by specifying the parameter name and value.
|
void |
setVirtualViewerId(java.lang.String viewerId) |
addErrorMessage, addInfoMessage, addWarningMessage, hasErrorsisValidObject, isValidType, parse, parse, parse, put, serialize, serialize, serialize, serialize, serialize, serialize, toStringclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesprotected com.ibm.json.java.JSONObject viewOneBootstrap
protected com.ibm.json.java.JSONObject viewOneParameters
protected java.lang.String currentSecurityToken
public JSONViewoneBootstrapResponse()
public JSONViewoneBootstrapResponse(javax.servlet.http.HttpServletRequest request)
public void setGetAnnotationUrl(java.lang.String getAnnotationUrl)
getAnnotationUrl - public java.lang.String getGetAnnotationUrl()
public void setUpdateAnnotationUrl(java.lang.String updateAnnotationUrl)
updateAnnotationUrl - public java.lang.String getUpdateAnnotationUrl()
public void setGetContentUrl(java.lang.String getContentUrl)
getContentUrl - public java.lang.String getGetContentUrl()
public void setVirtualViewerId(java.lang.String viewerId)
viewerId - public java.lang.String getVirtualViewerId()
public void setEditRedactionReasons(java.util.List<RedactionReasonConfig> editRedactionReasonList) throws java.lang.Exception
editRedactionReasonList - java.lang.Exceptionpublic void setUserDisplayNameMap(java.util.Map<java.lang.String,java.lang.String> userDisplayNameMap)
userDisplayNameMap - public void setContentElementList(java.util.List<java.lang.Integer> contentElementList)
contentElementList - public void setContentElementTypeList(java.util.List<java.lang.String> contentElementTypeList)
contentElementTypeList - public void setColdTemplateUrl(java.lang.String coldTemplateUrl)
coldTemplateUrl - public java.lang.String getColdTemplateUrl()
public void setAnnotationHideButtons(java.lang.String annotationHideButtons)
annotationHideButtons - public void setAnnotationHideContextButtons(java.lang.String annotationHideContextButtons)
annotationHideContextButtons - public void setAnnotationHideContextButtonIds(java.lang.String annotationHideContextButtonIds)
annotationHideContextButtonIds - public void setFilenetSystem(int value)
value - public void setFileNetUG(java.lang.String fileNetUG)
fileNetUG - public void setFnSecURL(java.lang.String fnSecURL)
fnSecURL - public void setCustomAnnotationToolTip(java.lang.String customAnnotationToolTip)
customAnnotationToolTip - public void setVersionCheckoutAvailable(boolean value)
value - true or falsepublic void setVersioningAvailable(boolean value)
public void setPartFileName(java.lang.String value)
public void setRedactionSaveMode(java.lang.String value)
public void setDocumentAddMode(java.lang.String value)
public void setSkipCustomTooltip(boolean value)
public void setDocumentId(java.lang.String documentId)
public void disableEditingAnnotations()
public void disablePrinting()
public void setViewOneParameter(java.lang.String parameter,
java.lang.String value)
parameter - value - protected void setIfNotNull(java.lang.String key,
java.lang.String value)
protected void setV1IfNotNull(java.lang.String key,
java.lang.String value)