Package lumis.doui.table
Class BaseTableDataProcessActionHandler
- java.lang.Object
-
- lumis.doui.processaction.ProcessActionHandler<TableSource>
-
- lumis.doui.table.BaseTableDataProcessActionHandler
-
- All Implemented Interfaces:
IProcessActionHandler
,IParameters
- Direct Known Subclasses:
TableAddDataProcessActionHandler
,TableDeleteDataProcessActionHandler
,TableUpdateDataProcessActionHandler
,WidgetSelectProcessActionHandler
,WikiArticleSelectProcessActionHandler
@Deprecated @StableMinor(version="17.0", sinceVersion="8.0") public abstract class BaseTableDataProcessActionHandler extends ProcessActionHandler<TableSource>
Deprecated.Since 10.4.0, this class was replaced byBaseSourceProcessActionHandler
due to the encapsulation of add, update and delete operations 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/update/delete operations, consider extending theSource
and using the standard process action handlers.Base class for table data process action handlers. This class offers some utility methods for the table data process action handlers implementations.- Since:
- 4.0.0
- Version:
- $Revision$ $Date$
-
-
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 BaseTableDataProcessActionHandler()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected QueryBuilder
createQueryBuilder()
Deprecated.protected IPortalEvent
createRenderDataChangedEvent(java.lang.Object itemId)
Deprecated.Creates a render data changed event.protected DouiIndexConfig
getIndexConfig()
Deprecated.Since 8.1.0, lumis.search is deprecated and this method is no longer used.protected void
indexData()
Deprecated.protected boolean
isSearchEnabled()
Deprecated.Since 8.1.0, lumis.search is deprecated and this method is no longer used.protected TabularData
readSelectedData()
Deprecated.Reads the data selected by the user from the persistence and returns it.protected void
sendRenderDataChangedNotification(java.lang.Object itemId)
Deprecated.Notifies observers that the render data may have changed.protected boolean
shouldSendRenderDataChangedNotification()
Deprecated.Indicates if this process action should send render data changed notification.-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.doui.processaction.IProcessActionHandler
processAction
-
-
-
-
Method Detail
-
createQueryBuilder
protected QueryBuilder createQueryBuilder() throws PortalException
Deprecated.- Throws:
PortalException
-
readSelectedData
protected TabularData readSelectedData() throws PortalException
Deprecated.Reads the data selected by the user from the persistence and returns it. The data selected by the user is identified by the primary key field parameter values.- Returns:
- the data selected by the user.
- Throws:
PortalException
- Since:
- 4.0.3
-
createRenderDataChangedEvent
protected IPortalEvent createRenderDataChangedEvent(java.lang.Object itemId) throws PortalException
Deprecated.Creates a render data changed event. Called bysendRenderDataChangedNotification(Object)
.- Parameters:
itemId
- the itemId parameter value for the event.- Returns:
- the event.
- Throws:
PortalException
- Since:
- 4.1.0
-
sendRenderDataChangedNotification
protected void sendRenderDataChangedNotification(java.lang.Object itemId) throws PortalException
Deprecated.Notifies observers that the render data may have changed.- Throws:
PortalException
- Since:
- 4.1.0
-
isSearchEnabled
@Deprecated protected boolean isSearchEnabled()
Deprecated.Since 8.1.0, lumis.search is deprecated and this method is no longer used.
-
getIndexConfig
@Deprecated protected DouiIndexConfig getIndexConfig() throws PortalException
Deprecated.Since 8.1.0, lumis.search is deprecated and this method is no longer used.- Throws:
PortalException
-
indexData
protected void indexData() throws PortalException
Deprecated.- Throws:
PortalException
-
shouldSendRenderDataChangedNotification
protected boolean shouldSendRenderDataChangedNotification() throws PortalException
Deprecated.Indicates if this process action should send render data changed notification.- Returns:
- true if it should, false otherwise.
- Throws:
PortalException
- Since:
- 4.1.0
-
-