|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.doui.processaction.ProcessActionHandler<TableSource>
lumis.doui.table.BaseTableDataProcessActionHandler
lumis.doui.table.TableDeleteDataProcessActionHandler
lumis.content.table.ContentTableDeleteDataProcessActionHandler
lumis.service.comment.DeleteRelationCommentProcessActionHandler
public class DeleteRelationCommentProcessActionHandler
Custom delete process action handler for comment that also
updates the total stored in the lum_CommentTotal
table.
Field Summary |
---|
Fields inherited from class lumis.content.table.ContentTableDeleteDataProcessActionHandler |
---|
primaryKeyFieldId, versionActiveFieldId, versionContentIds |
Fields inherited from class lumis.doui.table.TableDeleteDataProcessActionHandler |
---|
queryBuilder |
Constructor Summary | |
---|---|
DeleteRelationCommentProcessActionHandler()
|
Method Summary | |
---|---|
protected void |
postDelete()
After deleting the information from database it calls SetCommentTotalInfoProcessActionHandler.updateCommentTotal(String, String, lumis.util.ITransaction)
using the targetContentLocaleIds obtained in preDelete(QueryBase) . |
protected void |
preDelete(QueryBase queryBase)
Before deleting the information from database, obtain the affected targetContentLocaleIds, storing them in targetContentLocaleIds ,
so it is possible to do an update in lum_CommentTotal later. |
Methods inherited from class lumis.content.table.ContentTableDeleteDataProcessActionHandler |
---|
buildQuery, createQueryBuilder, deleteRelatedData, indexData, sendRenderDataChangedNotification |
Methods inherited from class lumis.doui.table.TableDeleteDataProcessActionHandler |
---|
createRenderDataChangedEvent, createTableSource, deleteRelatedFiles, execute, processAction, processActionWithoutResponse, sendPostNotifications, sendPreNotifications, sendRenderDataChangedNotification, setParameter |
Methods inherited from class lumis.doui.table.BaseTableDataProcessActionHandler |
---|
addToIndex, getIndexConfig, isSearchEnabled, readSelectedData, removeFromIndex, shouldSendRenderDataChangedNotification |
Methods inherited from class lumis.doui.processaction.ProcessActionHandler |
---|
addDefaultResponse, addResponseParameter, checkServiceInstancePermission, checkServiceInstancePermission, getId, getParameter, getParameter, getResource, getServiceInterfaceHyperLink, getUrl, init, localize, processHyperLinkResponse, processPopupInterfaceResponse, resolveFieldValueNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeleteRelationCommentProcessActionHandler()
Method Detail |
---|
protected void preDelete(QueryBase queryBase) throws PortalException
targetContentLocaleIds
,
so it is possible to do an update in lum_CommentTotal
later.
preDelete
in class TableDeleteDataProcessActionHandler
PortalException
protected void postDelete() throws PortalException
SetCommentTotalInfoProcessActionHandler.updateCommentTotal(String, String, lumis.util.ITransaction)
using the targetContentLocaleIds
obtained in preDelete(QueryBase)
.
postDelete
in class ContentTableDeleteDataProcessActionHandler
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |