diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-04-01 23:17:27 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-04-01 23:17:27 +0200 |
commit | a19b85723223dbefff7f34a59421c2d2edf3261f (patch) | |
tree | 1de017b7eaa12038a8c23663520fab1780dfc1b2 /eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java | |
parent | a6539d2b881f1567d77fbc87e3676ffb9ffb9dcb (diff) | |
download | EAAF-Components-a19b85723223dbefff7f34a59421c2d2edf3261f.tar.gz EAAF-Components-a19b85723223dbefff7f34a59421c2d2edf3261f.tar.bz2 EAAF-Components-a19b85723223dbefff7f34a59421c2d2edf3261f.zip |
update process-engine support HTTP POST and GET error forwarting.
This is needed for processes in IFrames
Diffstat (limited to 'eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java')
-rw-r--r-- | eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java index 384446b8..05b7784e 100644 --- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java +++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IRequest.java @@ -263,5 +263,24 @@ public interface IRequest extends Serializable { * otherwise false */ void setAbortedByUser(boolean isAborted); + + /** + * Indicates, if the current process stage is in iFrame. + * + * <p>If the current state is marked as 'in iFrame', + * than the process engine will perform an target=_parent hope in case of an error</p> + * + * @return true, if the process is in iFrame, otherwise false + */ + boolean isProcessInIframe(); + + /** + * Set the 'isProcessInIframe' flag to this pending-request. + * + * @param flag true, if the process is in iFrame and needs a target=_parent hope in case of an error + */ + void setProcessInFrame(boolean flag); + + } |