public class PendingPrintJob extends PrintJobStatus
| Constructor and Description |
|---|
PendingPrintJob(java.lang.String referenceId,
java.lang.String appId,
AccessAssertion access)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExtraParameters(org.json.JSONObject metadata)
Add extra information to the metadata object being put in the registry.
|
static PendingPrintJob |
load(org.json.JSONObject metadata,
java.lang.String referenceId,
java.lang.String appId,
AccessAssertion reportAccess)
Construct a new instance from the values provided.
|
getAccess, getAppId, getCompletionDate, getFileName, getReferenceId, load, storepublic PendingPrintJob(java.lang.String referenceId,
java.lang.String appId,
AccessAssertion access)
referenceId - reference of the report.appId - the appId used for loading the configuration.access - the an access control object for downloading this report. Typically this is combined access of the
template and the configuration.public static PendingPrintJob load(org.json.JSONObject metadata, java.lang.String referenceId, java.lang.String appId, AccessAssertion reportAccess) throws org.json.JSONException
metadata - the metadata retrieved from the registry. Only need it to get the extra information that is not stored by
parent class.referenceId - reference of the report.appId - the appId used for loading the configuration.reportAccess - the an access control object for downloading this report. Typically this is combined access of the
template and the configuration.org.json.JSONExceptionprotected void addExtraParameters(org.json.JSONObject metadata)
throws org.json.JSONException
PrintJobStatusaddExtraParameters in class PrintJobStatusmetadata - the json object that contains the metadataorg.json.JSONException