T - the model object typepublic abstract static class AjaxLink.SecuredAjaxLink<T> extends AjaxLink<T>
AjaxLink, protected by roles. Roles are checked against an IJQuerySecurityProviderWebSession is implementing IJQuerySecurityProvider if not provided.AjaxLink.SecuredAjaxLink<T>ENABLE, FLAG_AFTER_RENDERING, FLAG_INITIALIZED, FLAG_PREPARED_FOR_RENDER, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RENDERING, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING| Constructor and Description |
|---|
SecuredAjaxLink(String id,
com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider,
String[] roles)
Constructor
|
SecuredAjaxLink(String id,
org.apache.wicket.model.IModel<T> model,
com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider,
String[] roles)
Constructor
|
SecuredAjaxLink(String id,
org.apache.wicket.model.IModel<T> model,
String[] roles)
Constructor
|
SecuredAjaxLink(String id,
org.apache.wicket.model.IModel<T> model,
String icon,
com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider,
String[] roles)
Constructor
|
SecuredAjaxLink(String id,
org.apache.wicket.model.IModel<T> model,
String icon,
String[] roles)
Constructor
|
SecuredAjaxLink(String id,
String[] roles)
Constructor
|
SecuredAjaxLink(String id,
String icon,
com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider,
String[] roles)
Constructor
|
SecuredAjaxLink(String id,
String icon,
String[] roles)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getIcon()
Gets the icon being displayed in the button
|
boolean |
isLocked()
Indicates whether the button is locked.
|
protected void |
onConfigure() |
newWidgetBehavior, onBeforeRender, onConfigure, onInitializegetModel, getModelObject, getStatelessHint, newAjaxEventBehavior, onClick, onComponentTag, setModel, setModelObject, updateAjaxAttributesdisableLink, getBody, onComponentTagBody, onDetach, setBodygetWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSessionadd, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, findComponentToDequeue, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, getRegionMarkup, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onAfterRenderChildren, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, canCallListenerInterface, canCallListenerInterfaceAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, createConverter, 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, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onBeforeRender, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, 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, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic SecuredAjaxLink(String id, String[] roles)
id - the markup idroles - list of roles allowed to enable the buttonpublic SecuredAjaxLink(String id, com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider, String[] roles)
id - the markup idprovider - the IJQuerySecurityProvider that will check rolesroles - list of roles allowed to enable the buttonpublic SecuredAjaxLink(String id, String icon, String[] roles)
id - the markup idicon - either a KendoIcon constant or a 'k-i-icon' css classroles - list of roles allowed to enable the buttonpublic SecuredAjaxLink(String id, String icon, com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider, String[] roles)
id - the markup idicon - either a KendoIcon constant or a 'k-i-icon' css classprovider - the IJQuerySecurityProvider that will check rolesroles - list of roles allowed to enable the buttonpublic SecuredAjaxLink(String id, org.apache.wicket.model.IModel<T> model, String[] roles)
id - the markup idmodel - the IModelroles - list of roles allowed to enable the buttonpublic SecuredAjaxLink(String id, org.apache.wicket.model.IModel<T> model, com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider, String[] roles)
id - the markup idmodel - the IModelprovider - the IJQuerySecurityProvider that will check rolesroles - list of roles allowed to enable the buttonpublic SecuredAjaxLink(String id, org.apache.wicket.model.IModel<T> model, String icon, String[] roles)
id - the markup idmodel - the IModelicon - either a KendoIcon constant or a 'k-i-icon' css classroles - list of roles allowed to enable the buttonpublic SecuredAjaxLink(String id, org.apache.wicket.model.IModel<T> model, String icon, com.googlecode.wicket.jquery.core.IJQuerySecurityProvider provider, String[] roles)
id - the markup idmodel - the IModelicon - either a KendoIcon constant or a 'k-i-icon' css classprovider - the IJQuerySecurityProvider that will check rolesroles - list of roles allowed to enable the buttonpublic final boolean isLocked()
IJQuerySecurityProvider.hasRole(String...)protected String getIcon()
AjaxLinkprotected void onConfigure()
onConfigure in class org.apache.wicket.ComponentCopyright © 2021 7thWeb. All rights reserved.