SourceUpdateDataProcessActionHandler
due to
the encapsulation of update operation on Source
. This class is kept only for backwards compatibility with
custom classes extending it and may not be compatible with new features. If you are extending this process action
handler for customizing some of its behavior on basic update operation, consider extending the Source
and
using the standard process action handlers. If you are extending this process action only for parameter values
adjustments, consider extending SourceUpdateDataProcessActionHandler
instead.@Deprecated @StableMinor(version="12.4", sinceVersion="10.3") public class TableUpdateDataProcessActionHandler extends BaseTableDataProcessActionHandler
Modifier and Type | Field and Description |
---|---|
protected QueryBuilder |
queryBuilder
Deprecated.
|
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 |
---|
TableUpdateDataProcessActionHandler()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected QueryBase |
buildQuery()
Deprecated.
Calls the query build to build an update statement.
|
protected void |
doUpdate()
Deprecated.
Sends pre-notifications, performs the updated followed by post-notifications.
|
protected void |
execute(QueryBase queryBase)
Deprecated.
Actually performs the update statement.
|
protected void |
postUpdate()
Deprecated.
Hook placed for inheriting classes to perform post-update actions.
|
protected void |
preUpdate(QueryBase queryBase)
Deprecated.
Hook placed for inheriting classes to perform pre-update actions.
|
void |
processAction()
Deprecated.
Executes the process action.
|
protected void |
processActionWithoutResponse()
Deprecated.
Simply calls the
doUpdate() method. |
protected void |
sendPostNotifications()
Deprecated.
Sends Update and interface changed notifications.
|
protected void |
sendPreNotifications()
Deprecated.
Hook placed for inheriting classes to send pre-notifications.
|
protected void |
sendRenderDataChangedNotification()
Deprecated.
Notifies observers that the render data may have changed.
|
createQueryBuilder, createRenderDataChangedEvent, getIndexConfig, indexData, isSearchEnabled, readSelectedData, sendRenderDataChangedNotification, shouldSendRenderDataChangedNotification
addDefaultResponse, 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
protected QueryBuilder queryBuilder
public TableUpdateDataProcessActionHandler()
public void processAction() throws PortalException
IProcessActionHandler
This method may execute the process action based on the parameters and node specifications passed to it earlier.
PortalException
protected void processActionWithoutResponse() throws PortalException
doUpdate()
method.PortalException
protected void doUpdate() throws PortalException
PortalException
protected QueryBase buildQuery() throws PortalException
PortalException
protected void sendPreNotifications() throws PortalException
This method currently does not perform any action.
PortalException
protected void execute(QueryBase queryBase) throws PortalException
queryBase
- PortalException
protected void preUpdate(QueryBase queryBase) throws PortalException
queryBase
- PortalException
protected void postUpdate() throws PortalException
PortalException
protected void sendPostNotifications() throws PortalException
PortalException
protected void sendRenderDataChangedNotification() throws PortalException
PortalException
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.