Package lumis.content.table
Class ContentTableAddFileMultiRowDataProcessActionHandler
- java.lang.Object
-
- lumis.doui.processaction.ProcessActionHandler<TableSource>
-
- lumis.doui.table.BaseTableDataProcessActionHandler
-
- lumis.doui.table.TableAddDataProcessActionHandler
-
- lumis.content.table.ContentTableAddDataProcessActionHandler
-
- lumis.content.table.ContentTableAddFileMultiRowDataProcessActionHandler
-
- All Implemented Interfaces:
IProcessActionHandler
,IParameters
@Deprecated @StableMinor(version="16.1", sinceVersion="10.3") public class ContentTableAddFileMultiRowDataProcessActionHandler extends ContentTableAddDataProcessActionHandler
Deprecated.Since 10.4.0, this class was replaced bySourceAddFileMultiRowDataProcessActionHandler
due to the encapsulation of add operation onSource
. This class is kept only for backwards compatibility with custom classes extending it and may not be compatible with new features.This class is responsible for the generic inserting process of multiple files in the Content context. It executes the insert query generated byContentQueryBuilder
and callsMetaDataController
so it will handle meta data information appropriately. It also is responsible for adding the new content to search index.This process action handler should have the following nodes in its definition:
multiFileUploadControlId
: the id of the multiFileUploadControl that the process action will process the informations.
Example use of this process action:
image - Since:
- 6.1.0
- Version:
- $Revision: 26157 $ $Date: 2024-01-13 11:35:03 -0300 (Sat, 13 Jan 2024) $
-
-
Field Summary
-
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 ContentTableAddFileMultiRowDataProcessActionHandler()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IMultiFileUploadParameterItem
getFileItem()
Deprecated.Returns the current FileItem that is being processed.java.lang.Object
getParameter(java.lang.String name)
Deprecated.This method overrides the parent method returning the appropriate value for the current row being inserted.protected void
processActionWithoutResponse()
Deprecated.Performs the process action.void
setParameter(java.lang.String name, java.lang.Object value)
Deprecated.This method overrides the parent method including the current row number id in the parameter name.protected void
setPrimaryKeyAttribute(java.lang.String primaryKey)
Deprecated.There exists multiple primary keys.protected void
setPrimaryKeyRenderParameter(java.lang.String primaryKey)
Deprecated.-
Methods inherited from class lumis.content.table.ContentTableAddDataProcessActionHandler
createQueryBuilder, indexData, postInsert, sendRenderDataChangedNotification
-
Methods inherited from class lumis.doui.table.TableAddDataProcessActionHandler
doInsert, execute, preInsert, processAction, sendPostNotifications, sendPreNotifications, setPrimaryKeyParameter
-
Methods inherited from class lumis.doui.table.BaseTableDataProcessActionHandler
createRenderDataChangedEvent, getIndexConfig, isSearchEnabled, readSelectedData, shouldSendRenderDataChangedNotification
-
Methods inherited from class lumis.doui.processaction.ProcessActionHandler
addDefaultResponse, addResponseParameter, checkServiceInstancePermission, checkServiceInstancePermission, containsParameter, getId, getParameter, getResource, getServiceInterfaceHyperLink, getUrl, init, localize, processHyperLinkResponse, processPopupInterfaceResponse, resolveFieldValueNode
-
-
-
-
Method Detail
-
processActionWithoutResponse
protected void processActionWithoutResponse() throws PortalException
Deprecated.Performs the process action. This method simply calls the doInsert method ofTableAddDataProcessActionHandler.doInsert()
for each row.- Overrides:
processActionWithoutResponse
in classTableAddDataProcessActionHandler
- Throws:
PortalException
-
getParameter
public java.lang.Object getParameter(java.lang.String name)
Deprecated.This method overrides the parent method returning the appropriate value for the current row being inserted.- Specified by:
getParameter
in interfaceIParameters
- Specified by:
getParameter
in interfaceIProcessActionHandler
- Overrides:
getParameter
in classProcessActionHandler<TableSource>
-
setPrimaryKeyRenderParameter
@Deprecated protected void setPrimaryKeyRenderParameter(java.lang.String primaryKey) throws PortalException
Deprecated.There exists multiple primary keys. Therefore do not set any primary key here.- Overrides:
setPrimaryKeyRenderParameter
in classTableAddDataProcessActionHandler
- Throws:
PortalException
-
setPrimaryKeyAttribute
protected void setPrimaryKeyAttribute(java.lang.String primaryKey) throws PortalException
Deprecated.There exists multiple primary keys. Therefore do not set any primary key here.- Overrides:
setPrimaryKeyAttribute
in classTableAddDataProcessActionHandler
- Parameters:
primaryKey
- the primary key value. Ifnull
this method does nothing.- Throws:
PortalException
-
setParameter
public void setParameter(java.lang.String name, java.lang.Object value)
Deprecated.This method overrides the parent method including the current row number id in the parameter name.- Specified by:
setParameter
in interfaceIProcessActionHandler
- Overrides:
setParameter
in classProcessActionHandler<TableSource>
-
getFileItem
public IMultiFileUploadParameterItem getFileItem()
Deprecated.Returns the current FileItem that is being processed.- Returns:
- the current fileItem
- Since:
- 6.1.0
-
-