Class FileUploadStatus
java.lang.Object
com.aquima.web.components.fileupload.service.FileUploadStatus
- All Implemented Interfaces:
com.aquima.interactions.portal.IActionResult
,Serializable
public final class FileUploadStatus
extends Object
implements com.aquima.interactions.portal.IActionResult
File upload status result.
- Author:
- N. van Noorloos
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFileUploadStatus
(boolean isUploadSucceeded, boolean isUploadAuthorized) FileUploadStatus
(boolean isUploadSucceeded, boolean isUploadAuthorized, com.aquima.interactions.portal.IDisposableContent disposableObject, List<String> fileIds) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteRequestScopedContent
(com.blueriq.component.api.IAquimaSession session) Returns the runtime key of the button which determines how to continue the flow.boolean
boolean
boolean
void
setButtonKey
(String buttonKey) Sets the runtime key of the button which controls how to continue the flow.
-
Constructor Details
-
Method Details
-
isUploadAuthorized
public boolean isUploadAuthorized() -
isUploadSucceeded
public boolean isUploadSucceeded() -
getFileIds
-
getButtonKey
Returns the runtime key of the button which determines how to continue the flow. This could be the runtime key of the FileUploaded button or of the Unauthorized button. If the upload failed, this button key is null.- Returns:
- the runtime key of the button containing the exit event or null if the upload failed
-
setButtonKey
Sets the runtime key of the button which controls how to continue the flow. This could be the runtime key of the FileUploaded button (emits the FileUploaded event) or the Unauthorized button (emits the Unauthorized event).- Parameters:
buttonKey
- the runtime key of a button inside the upload container
-
hasRequestScopedContent
public boolean hasRequestScopedContent() -
deleteRequestScopedContent
public void deleteRequestScopedContent(com.blueriq.component.api.IAquimaSession session)
-