public class MediaAddMultipleProcessActionHandler extends TableAddFileMultiRowDataProcessActionHandler
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 |
---|
MediaAddMultipleProcessActionHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
doInsert()
The process of insertion in the database is done in this method.
|
Object |
getParameter(String name)
This method overrides the parent method returning the appropriate value for the current row being inserted.
|
void |
processAction()
Processes the required action calling
TableAddDataProcessActionHandler.processActionWithoutResponse() and subsequently calls the ProcessActionHandler.addDefaultResponse() method. |
protected void |
validateParameters(IMultiFileUploadParameter multiFileUploadParameter)
Validates the parameters, showing the correct error message if necessary.
|
getFileItem, processActionWithoutResponse, setParameter, setPrimaryKeyAttribute, setPrimaryKeyRenderParameter
execute, getDescription, getName, postInsert, preInsert, sendPostNotifications, sendPreNotifications, setPrimaryKeyParameter
createQueryBuilder, createRenderDataChangedEvent, getIndexConfig, indexData, isSearchEnabled, readSelectedData, sendRenderDataChangedNotification, shouldSendRenderDataChangedNotification
addDefaultResponse, addResponseParameter, checkServiceInstancePermission, checkServiceInstancePermission, getId, getParameter, getResource, getServiceInterfaceHyperLink, getUrl, init, localize, processHyperLinkResponse, processPopupInterfaceResponse, resolveFieldValueNode
public MediaAddMultipleProcessActionHandler()
public void processAction() throws PortalException
TableAddDataProcessActionHandler
TableAddDataProcessActionHandler.processActionWithoutResponse()
and subsequently calls the ProcessActionHandler.addDefaultResponse()
method.processAction
in interface IProcessActionHandler
processAction
in class TableAddDataProcessActionHandler
PortalException
public Object getParameter(String name)
TableAddFileMultiRowDataProcessActionHandler
getParameter
in interface IProcessActionHandler
getParameter
in interface IParameters
getParameter
in class TableAddFileMultiRowDataProcessActionHandler
protected void doInsert() throws PortalException
TableAddDataProcessActionHandler
This method sends pre notifications, performs the insert, sends post notifications and finally indexes the data.
doInsert
in class TableAddDataProcessActionHandler
PortalException
protected void validateParameters(IMultiFileUploadParameter multiFileUploadParameter) throws PortalException
multiFileUploadParameter
- the multi file upload parameter.PortalException
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.