BO
- public class AuthorizedDeleteButton<BO extends EntityWithSurrogateKey> extends DeleteButton<BO>
Modifier and Type | Field and Description |
---|---|
protected boolean |
isAuthorized |
boId, dao, objName, redirectPage
Constructor and Description |
---|
AuthorizedDeleteButton(DaoForEntityWithSurrogateKey<BO> dao,
AuthoredEntity entity,
String objName,
DeleteConfirmationMessage message,
FrontendPage redirectPage) |
AuthorizedDeleteButton(DaoForEntityWithSurrogateKey<BO> dao,
Integer param,
boolean isAuthorized,
String objName,
DeleteConfirmationMessage message,
FrontendPage redirectPage) |
AuthorizedDeleteButton(DaoForEntityWithSurrogateKey<BO> dao,
Integer param,
boolean isAuthorized,
String compName,
String objName,
DeleteConfirmationMessage message,
FrontendPage redirectPage) |
Modifier and Type | Method and Description |
---|---|
protected void |
delete()
Does the actual deletion operation.
|
boolean |
isVisible() |
createCompName, onClick
appendAnchor, getAnchor, getAutoEnable, getModel, getModelObject, getOnClickScript, getPopupSettings, getStatelessHint, getURL, isEnabled, linksTo, onComponentTag, onLinkClicked, setAnchor, setAutoEnable, setModel, setModelObject, setPopupSettings
disableLink, getAfterDisabledLink, getBeforeDisabledLink, getBody, isLinkEnabled, onBeforeRender, onComponentTagBody, onDetach, setAfterDisabledLink, setBeforeDisabledLink, setBody
getWebPage, getWebRequest
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, hasAssociatedMarkup, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onMarkupAttached, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, 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, getFeedbackMessage, 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, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisibleInHierarchy, locateMarkupStream, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onConfigure, 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, urlFor, urlFor, visitParents, warn, wrap
public AuthorizedDeleteButton(DaoForEntityWithSurrogateKey<BO> dao, AuthoredEntity entity, String objName, DeleteConfirmationMessage message, FrontendPage redirectPage)
dao
- entity
- objName
- message
- redirectPage
- public AuthorizedDeleteButton(DaoForEntityWithSurrogateKey<BO> dao, Integer param, boolean isAuthorized, String objName, DeleteConfirmationMessage message, FrontendPage redirectPage)
dao
- param
- isAuthorized
- objName
- message
- redirectPage
- public AuthorizedDeleteButton(DaoForEntityWithSurrogateKey<BO> dao, Integer param, boolean isAuthorized, String compName, String objName, DeleteConfirmationMessage message, FrontendPage redirectPage)
dao
- param
- isAuthorized
- compName
- objName
- message
- redirectPage
- public boolean isVisible()
isVisible
in class org.apache.wicket.Component
protected void delete() throws Exception
AbstractDeleteButton
delete
in class DeleteButton<BO extends EntityWithSurrogateKey>
Exception
Copyright © 2013. All Rights Reserved.