Package lumis.doui.table
Class TableUpdateDataProcessActionHandler
- java.lang.Object
-
- lumis.doui.processaction.ProcessActionHandler<TableSource>
-
- lumis.doui.table.BaseTableDataProcessActionHandler
-
- lumis.doui.table.TableUpdateDataProcessActionHandler
-
- All Implemented Interfaces:
IProcessActionHandler
,IParameters
- Direct Known Subclasses:
ContentTableUpdateDataProcessActionHandler
,FileListEditProcessActionHandler
,MediaUpdateProcessActionHandler
,TableUpdateMultiRowDataProcessActionHandler
@Deprecated @StableMinor(version="17.0", sinceVersion="10.3") public class TableUpdateDataProcessActionHandler extends BaseTableDataProcessActionHandler
Deprecated.Since 10.4.0, this class was replaced bySourceUpdateDataProcessActionHandler
due to the encapsulation of update operation onSource
. 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 theSource
and using the standard process action handlers. If you are extending this process action only for parameter values adjustments, consider extendingSourceUpdateDataProcessActionHandler
instead.Process Action Handler to update table data- Since:
- 4.0.6
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description protected QueryBuilder
queryBuilder
Deprecated.-
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 TableUpdateDataProcessActionHandler()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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 thedoUpdate()
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.-
Methods inherited from class lumis.doui.table.BaseTableDataProcessActionHandler
createQueryBuilder, createRenderDataChangedEvent, getIndexConfig, indexData, isSearchEnabled, readSelectedData, sendRenderDataChangedNotification, shouldSendRenderDataChangedNotification
-
Methods inherited from class lumis.doui.processaction.ProcessActionHandler
addDefaultResponse, addResponseParameter, checkServiceInstancePermission, checkServiceInstancePermission, containsParameter, getId, getParameter, getParameter, getResource, getServiceInterfaceHyperLink, getUrl, init, localize, processHyperLinkResponse, processPopupInterfaceResponse, resolveFieldValueNode, setParameter
-
-
-
-
Field Detail
-
queryBuilder
protected QueryBuilder queryBuilder
Deprecated.
-
-
Method Detail
-
processAction
public void processAction() throws PortalException
Deprecated.Description copied from interface:IProcessActionHandler
Executes the process action.This method may execute the process action based on the parameters and node specifications passed to it earlier.
- Throws:
PortalException
-
processActionWithoutResponse
protected void processActionWithoutResponse() throws PortalException
Deprecated.Simply calls thedoUpdate()
method.- Throws:
PortalException
- Since:
- 4.0.11
-
doUpdate
protected void doUpdate() throws PortalException
Deprecated.Sends pre-notifications, performs the updated followed by post-notifications.- Throws:
PortalException
- Since:
- 4.0.11
-
buildQuery
protected QueryBase buildQuery() throws PortalException
Deprecated.Calls the query build to build an update statement.- Returns:
- Throws:
PortalException
- Since:
- 4.0.11
-
sendPreNotifications
protected void sendPreNotifications() throws PortalException
Deprecated.Hook placed for inheriting classes to send pre-notifications.This method currently does not perform any action.
- Throws:
PortalException
- Since:
- 4.0.11
-
execute
protected void execute(QueryBase queryBase) throws PortalException
Deprecated.Actually performs the update statement.- Parameters:
queryBase
-- Throws:
PortalException
- Since:
- 4.0.11
-
preUpdate
protected void preUpdate(QueryBase queryBase) throws PortalException
Deprecated.Hook placed for inheriting classes to perform pre-update actions.- Parameters:
queryBase
-- Throws:
PortalException
- Since:
- 4.0.11
-
postUpdate
protected void postUpdate() throws PortalException
Deprecated.Hook placed for inheriting classes to perform post-update actions.- Throws:
PortalException
- Since:
- 4.0.11
-
sendPostNotifications
protected void sendPostNotifications() throws PortalException
Deprecated.Sends Update and interface changed notifications.- Throws:
PortalException
- Since:
- 4.0.11
-
sendRenderDataChangedNotification
protected void sendRenderDataChangedNotification() throws PortalException
Deprecated.Notifies observers that the render data may have changed.- Throws:
PortalException
- Since:
- 4.1.0
-
-