public class CreateOrOverrideSegmentationProcessAction extends SourceAddDataProcessActionHandler<UserSegmentationSource>
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 and Description |
---|
CreateOrOverrideSegmentationProcessAction() |
Modifier and Type | Method and Description |
---|---|
protected void |
addDefaultResponse()
Sets the default response parameters based on the node specifications.
|
protected void |
doAction()
Executes
Source.addData(Object) and calls SourceAddDataProcessActionHandler.setItemIdAttribute(String) . |
setItemIdAttribute
isSendRenderDataChangedNotificationEnabled, processAction
addResponseParameter, checkServiceInstancePermission, checkServiceInstancePermission, containsParameter, getId, getParameter, getParameter, getResource, getServiceInterfaceHyperLink, getUrl, init, localize, processHyperLinkResponse, processPopupInterfaceResponse, resolveFieldValueNode, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asParameters, emptyParameters
public CreateOrOverrideSegmentationProcessAction()
protected void doAction() throws PortalException
SourceAddDataProcessActionHandler
Source.addData(Object)
and calls SourceAddDataProcessActionHandler.setItemIdAttribute(String)
.doAction
in class SourceAddDataProcessActionHandler<UserSegmentationSource>
PortalException
protected void addDefaultResponse() throws PortalException
ProcessActionHandler
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.
addDefaultResponse
in class ProcessActionHandler<UserSegmentationSource>
PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.