public class RecordActionTable.RecordActionTableDelete extends DeleteRecordAction<R>
configPage, parentPanel
Constructor and Description |
---|
RecordActionTableDelete(java.lang.String id,
IConfigPage configPage,
ConfigPanel parentPanel,
R record) |
Modifier and Type | Method and Description |
---|---|
void |
canDelete(R record)
Provides subclasses a chance to determine whether or not an object can be deleted.
|
protected void |
doDeleteRelatedRecords(PersistenceSession session,
R record)
Provides a chance for subclasses to delete any related records before this record is deleted.
|
void |
onDelete(R record)
Called after the record is successfully deleted
|
createPanel, doDelete, execute, getCssClass, getLabel, getRecordTypeNoun, getRecordTypeNoun
getModelObjectAsRecord, getPanel
getConfigPage, getParentPanel, initComponents, isEscapeMarkup
getWebPage, getWebRequest, getWebResponse, getWebSession
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onDetach, onEvent, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrap
public RecordActionTableDelete(java.lang.String id, IConfigPage configPage, ConfigPanel parentPanel, R record)
public void canDelete(R record) throws ConfirmedTaskVetoException
DeleteRecordAction
canDelete
in class DeleteRecordAction<R extends PersistentRecord>
ConfirmedTaskVetoException
public void onDelete(R record)
DeleteRecordAction
onDelete
in class DeleteRecordAction<R extends PersistentRecord>
protected void doDeleteRelatedRecords(PersistenceSession session, R record)
DeleteRecordAction
doDeleteRelatedRecords
in class DeleteRecordAction<R extends PersistentRecord>