Package lumis.content.table
Class ContentTableAddDataProcessActionHandler
- java.lang.Object
-
- lumis.doui.processaction.ProcessActionHandler<TableSource>
-
- lumis.doui.table.BaseTableDataProcessActionHandler
-
- lumis.doui.table.TableAddDataProcessActionHandler
-
- lumis.content.table.ContentTableAddDataProcessActionHandler
-
- All Implemented Interfaces:
IProcessActionHandler
,IParameters
- Direct Known Subclasses:
ContentTableAddFileMultiRowDataProcessActionHandler
@Deprecated @StableMinor(version="14.0", sinceVersion="10.3") public class ContentTableAddDataProcessActionHandler extends TableAddDataProcessActionHandler
Deprecated.Since 10.4.0, this class was replaced byContentTableSourceAddDataProcessActionHandler
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. If you are extending this process action handler for customizing some of its behavior on basic add operation, consider extending theSource
and using the standard process action handlers. If you are extending this process action only for parameter values adjustments, consider extendingContentTableSourceAddDataProcessActionHandler
instead.This class is responsible for the generic inserting process 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.- Since:
- 4.0.4
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
-
-
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 ContentTableAddDataProcessActionHandler()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected QueryBuilder
createQueryBuilder()
Deprecated.creates a content query builder.protected void
indexData()
Deprecated.protected void
postInsert(String primaryKey)
Deprecated.Sets the primary key render parameter.protected void
sendRenderDataChangedNotification(Object primaryKey)
Deprecated.Notifies observers of interfaces that may have changed.-
Methods inherited from class lumis.doui.table.TableAddDataProcessActionHandler
doInsert, execute, preInsert, processAction, processActionWithoutResponse, sendPostNotifications, sendPreNotifications, setPrimaryKeyAttribute, setPrimaryKeyParameter, setPrimaryKeyRenderParameter
-
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, getParameter, getResource, getServiceInterfaceHyperLink, getUrl, init, localize, processHyperLinkResponse, processPopupInterfaceResponse, resolveFieldValueNode, setParameter
-
-
-
-
Method Detail
-
postInsert
protected void postInsert(String primaryKey) throws PortalException
Deprecated.Description copied from class:TableAddDataProcessActionHandler
Sets the primary key render parameter.- Overrides:
postInsert
in classTableAddDataProcessActionHandler
- Throws:
PortalException
-
indexData
protected void indexData() throws PortalException
Deprecated.- Overrides:
indexData
in classBaseTableDataProcessActionHandler
- Throws:
PortalException
-
createQueryBuilder
protected QueryBuilder createQueryBuilder() throws PortalException
Deprecated.creates a content query builder.- Overrides:
createQueryBuilder
in classBaseTableDataProcessActionHandler
- Throws:
PortalException
-
sendRenderDataChangedNotification
protected void sendRenderDataChangedNotification(Object primaryKey) throws PortalException
Deprecated.Notifies observers of interfaces that may have changed.- Overrides:
sendRenderDataChangedNotification
in classBaseTableDataProcessActionHandler
- Throws:
PortalException
- Since:
- 4.1.0
-
-