Class PortalClient
java.lang.Object
no.digipost.signature.client.portal.PortalClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel(Cancellable cancellable) voidconfirm(PortalJobStatusChanged receivedStatusChanged) Confirms that the status retrieved fromgetStatusChange()is received and may be discarded by the Signature service and not retrieved again.voiddeleteDocuments(DeleteDocumentsUrl deleteDocumentsUrl) getPAdES(PAdESReference pAdESReference) If there is a job with an updatedstatus, the returned object contains necessary information to act on the status change.getStatusChange(Sender sender) If there is a job with an updatedstatus, the returned object contains necessary information to act on the status change.getXAdES(XAdESReference xAdESReference)
-
Constructor Details
-
PortalClient
-
-
Method Details
-
create
-
getStatusChange
If there is a job with an updatedstatus, the returned object contains necessary information to act on the status change. The returned object can be queried using.is(NO_CHANGES)to determine if there has been a status change. When processing of the status change is complete, (e.g. retrievingPAdESand/orXAdESdocuments for acompletedjob where all signers havesignedtheir documents), the returned status must beconfirmed.- Returns:
- the changed status for a job, or an instance indicating
no changes, nevernull.
-
getStatusChange
If there is a job with an updatedstatus, the returned object contains necessary information to act on the status change. The returned object can be queried using.is(NO_CHANGES)to determine if there has been a status change. When processing of the status change is complete, (e.g. retrievingPAdESand/orXAdESdocuments for acompletedjob where all signers havesignedtheir documents), the returned status must beconfirmed.- Returns:
- the changed status for a job, or an instance indicating
no changes, nevernull.
-
confirm
Confirms that the status retrieved fromgetStatusChange()is received and may be discarded by the Signature service and not retrieved again. Calling this method on a status update with noConfirmationReferencehas no effect.- Parameters:
receivedStatusChanged- the updated status retrieved fromgetStatusChange().
-
cancel
-
getXAdES
-
getPAdES
-
deleteDocuments
-