@StableMinor(version="10.1", sinceVersion="8.0") public class TableUpdateDataProcessActionHandler extends BaseTableDataProcessActionHandler implements IDocumentation
Modifier and Type | Field and Description |
---|---|
protected QueryBuilder |
queryBuilder |
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() |
Modifier and Type | Method and Description |
---|---|
protected QueryBase |
buildQuery()
Calls the query build to build an update statement.
|
protected void |
doUpdate()
Sends pre-notifications, performs the updated followed by post-notifications.
|
protected void |
execute(QueryBase queryBase)
Actually performs the update statement.
|
String |
getDescription()
Returns an HTML description.
|
String |
getName()
Returns the name of the current object that will be displayed for documentation.
|
protected void |
postUpdate()
Hook placed for inheriting classes to perform post-update actions.
|
protected void |
preUpdate(QueryBase queryBase)
Hook placed for inheriting classes to perform pre-update actions.
|
void |
processAction()
Executes the process action.
|
protected void |
processActionWithoutResponse()
Simply calls the
doUpdate() method. |
protected void |
sendPostNotifications()
Sends Update and interface changed notifications.
|
protected void |
sendPreNotifications()
Hook placed for inheriting classes to send pre-notifications.
|
protected void |
sendRenderDataChangedNotification()
Notifies observers that the render data may have changed.
|
createQueryBuilder, createRenderDataChangedEvent, getIndexConfig, indexData, isSearchEnabled, readSelectedData, sendRenderDataChangedNotification, shouldSendRenderDataChangedNotification
addDefaultResponse, addResponseParameter, checkServiceInstancePermission, checkServiceInstancePermission, getId, getParameter, getParameter, getResource, getServiceInterfaceHyperLink, getUrl, init, localize, processHyperLinkResponse, processPopupInterfaceResponse, resolveFieldValueNode, setParameter
protected QueryBuilder queryBuilder
public void processAction() throws PortalException
IProcessActionHandler
This method may execute the process action based on the parameters and node specifications passed to it earlier.
processAction
in interface IProcessActionHandler
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
public String getName()
IDocumentation
getName
in interface IDocumentation
public String getDescription()
IDocumentation
getDescription
in interface IDocumentation
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.