Class CreateOrOverrideAutomationFlowProcessAction
- java.lang.Object
-
- lumis.doui.processaction.ProcessActionHandler<S>
-
- lumis.doui.source.processaction.BaseSourceProcessActionHandler<S>
-
- lumis.doui.source.processaction.SourceAddDataProcessActionHandler<AutomationFlowSource>
-
- lumis.service.analytics.automationflow.processaction.CreateOrOverrideAutomationFlowProcessAction
-
- All Implemented Interfaces:
IProcessActionHandler
,IParameters
public class CreateOrOverrideAutomationFlowProcessAction extends SourceAddDataProcessActionHandler<AutomationFlowSource>
The process action call the callback LumisUserSegmentationsRefresh_{uid} defined in parent iframe after to saved with success.- Since:
- 12.0.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
-
Fields inherited from class lumis.doui.processaction.ProcessActionHandler
douiContext, id, localizationManager, parameters, processActionContainer, processActionNode, RESPONSE_TYPE_CLOSE_WINDOW, RESPONSE_TYPE_HYPERLINK, RESPONSE_TYPE_MESSAGE, RESPONSE_TYPE_POPUP_INTERFACE, RESPONSE_TYPE_PREVIEW, RESPONSE_TYPE_REFRESH_PARENT, RESPONSE_TYPE_REQUEST_PROCESS_ACTION_CONFIRMATION_MESSAGE, RESPONSE_TYPE_REQUEST_PROCESS_ACTION_CONFIRMATION_PROCESS_ACTION_ID, RESPONSE_TYPE_RUN_JAVASCRIPT, RESPONSE_TYPE_SET_REQUEST_ATTRIBUTES, RESPONSE_TYPE_SET_REQUEST_PARAMETERS, RESPONSE_TYPE_SET_RESPONSE_PARAMETERS, RESPONSE_TYPE_STANDARD_COMMIT, RESPONSE_TYPE_STANDARD_EMBEDDED, RESPONSE_TYPE_STANDARD_POPUP, RESPONSE_TYPE_VALIDATE_PROCESS_ACTION_ON_RENDER, sessionConfig, source, sourceContainer, transaction
-
-
Constructor Summary
Constructors Constructor Description CreateOrOverrideAutomationFlowProcessAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addDefaultResponse()
Sets the default response parameters based on the node specifications.protected void
doAction()
ExecutesSource.addData(Object)
and callsSourceAddDataProcessActionHandler.setItemIdAttribute(String)
.-
Methods inherited from class lumis.doui.source.processaction.SourceAddDataProcessActionHandler
setItemIdAttribute
-
Methods inherited from class lumis.doui.source.processaction.BaseSourceProcessActionHandler
isSendRenderDataChangedNotificationEnabled, processAction
-
Methods inherited from class lumis.doui.processaction.ProcessActionHandler
addResponseParameter, checkServiceInstancePermission, checkServiceInstancePermission, containsParameter, getId, getParameter, getParameter, getResource, getServiceInterfaceHyperLink, getUrl, init, localize, processHyperLinkResponse, processPopupInterfaceResponse, resolveFieldValueNode, setParameter
-
-
-
-
Method Detail
-
doAction
protected void doAction() throws PortalException
Description copied from class:SourceAddDataProcessActionHandler
ExecutesSource.addData(Object)
and callsSourceAddDataProcessActionHandler.setItemIdAttribute(String)
.- Overrides:
doAction
in classSourceAddDataProcessActionHandler<AutomationFlowSource>
- Throws:
PortalException
-
addDefaultResponse
protected void addDefaultResponse() throws PortalException
Description copied from class:ProcessActionHandler
Sets the default response parameters based on the node specifications.Possible response types.
doui_closeWindow,ProcessActionHandler.RESPONSE_TYPE_CLOSE_WINDOW
: closes the current window.
doui_hyperLink,ProcessActionHandler.RESPONSE_TYPE_HYPERLINK
: Used to redirect the browser to another page / url after the process action. In addition parameters may be passed to the destination page.
doui_message,ProcessActionHandler.RESPONSE_TYPE_MESSAGE
: displays a message to the end user. This type requires a message attribute to be specified. This message will be translated to the users current language.
doui_refreshParen,ProcessActionHandler.RESPONSE_TYPE_REFRESH_PARENT
t: refreshes the parent window.
doui_runJavascript,ProcessActionHandler.RESPONSE_TYPE_RUN_JAVASCRIPT
: runs the javascript specified in the script node within the reponse.
doui_setRequestParameters,ProcessActionHandler.RESPONSE_TYPE_SET_REQUEST_PARAMETERS
: sets all the current parameters values to the following render request to the current interface.
doui_standardPopup,ProcessActionHandler.RESPONSE_TYPE_STANDARD_POPUP
: Used interfaces that are within popup windows. This internally is converted to two responses. One doui_refreshParent response followed by one doui_closeWindow response.
doui_standardEmbedded,ProcessActionHandler.RESPONSE_TYPE_STANDARD_EMBEDDED
: Used in interfaces that are embedded within portal pages. This is equivalent to a doui_setRequestParameters response.
doui_standardCommit,ProcessActionHandler.RESPONSE_TYPE_STANDARD_COMMIT
: Used in standard add and edit administration interfaces. This response detects whether the current interface is a popup or an embedded interface. If popup, this response is equivalent to a doui_refreshParent response followed by a doui_closeWindow response. If embedded, this response detects where the administration list interface is located and redirects the portal to the page that contains that interface.
doui_setResponseParameters,ProcessActionHandler.RESPONSE_TYPE_SET_RESPONSE_PARAMETERS
: Sets the specified parameters to the following render request to the current interface.
doui_setRequestAttributes,ProcessActionHandler.RESPONSE_TYPE_SET_REQUEST_ATTRIBUTES
: Used primarily to share data between different process actions. Sets parameter values in the request attributes. These attributes may be read by subsequent process actions with the same id.- Overrides:
addDefaultResponse
in classProcessActionHandler<AutomationFlowSource>
- Throws:
PortalException
-
-