/** * @return the query string for specifying parameters that will be used in the rendered URL or null if no query * string has been specified. Example: "mydata1=5&mydata2=Hello" */ public String getQueryString() { return getParameter(QUERY_STRING); }
/** * @param queryString see {@link #getQueryString()} */ public void setQueryString(String queryString) { if (!StringUtils.isEmpty(queryString)) { setParameter(QUERY_STRING, queryString); } } }
@Override public XDOM createView(AttachmentReference attachmentReference, Map<String, String> parameters) throws Exception { String reference = this.serializer.serialize(attachmentReference); return this.officeViewer.createView(new AttachmentResourceReference(reference), parameters); } }
resourceReference = new AttachmentResourceReference(this.serializer.serialize(attachmentReference));