public abstract class AbstractBookmarkablePageLink<T>
extends org.apache.wicket.markup.html.link.Link<T>
| Modifier and Type | Field and Description |
|---|---|
protected String |
pageClassName
The page class that this link links to.
|
protected org.apache.wicket.util.collections.MiniMap<String,Object> |
parameters
The parameters to pass to the class constructor when instantiated.
|
| Constructor and Description |
|---|
AbstractBookmarkablePageLink(String id) |
AbstractBookmarkablePageLink(String id,
Class<C> pageClass)
Constructor.
|
AbstractBookmarkablePageLink(String id,
Class<C> pageClass,
org.apache.wicket.PageParameters parameters)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Class<? extends org.apache.wicket.Page> |
getPageClass()
Get tge page class registered with the link
|
org.apache.wicket.PageParameters |
getPageParameters() |
protected boolean |
getStatelessHint() |
protected CharSequence |
getURL()
Gets the url to use for this link.
|
boolean |
linksTo(org.apache.wicket.Page page)
Whether this link refers to the given page.
|
void |
onClick()
THIS METHOD IS NOT USED! Bookmarkable links do not have a click handler.
|
AbstractBookmarkablePageLink<T> |
setParameter(String property,
int value)
Adds a given page property value to this link.
|
AbstractBookmarkablePageLink<T> |
setParameter(String property,
long value)
Adds a given page property value to this link.
|
AbstractBookmarkablePageLink<T> |
setParameter(String property,
String value)
Adds a given page property value to this link.
|
appendAnchor, getAnchor, getAutoEnable, getModel, getModelObject, getOnClickScript, getOnClickScript, getPopupSettings, isEnabled, onComponentTag, onLinkClicked, setAnchor, setAutoEnable, setModel, setModelObject, setPopupSettingsdisableLink, getAfterDisabledLink, getBeforeDisabledLink, isLinkEnabled, onBeforeRender, onComponentTagBody, setAfterDisabledLink, setBeforeDisabledLinkgetMarkupType, getWebPage, getWebRequestadd, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeginRequest, onDetach, onEndRequest, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrapprotected final String pageClassName
public AbstractBookmarkablePageLink(String id, Class<C> pageClass)
C - type of pageid - The name of this componentpageClass - The class of page to link topublic AbstractBookmarkablePageLink(String id)
public AbstractBookmarkablePageLink(String id, Class<C> pageClass, org.apache.wicket.PageParameters parameters)
C - id - See ComponentpageClass - The class of page to link toparameters - The parameters to pass to the new page when the link is clickedpublic org.apache.wicket.PageParameters getPageParameters()
public abstract Class<? extends org.apache.wicket.Page> getPageClass()
public boolean linksTo(org.apache.wicket.Page page)
linksTo in class org.apache.wicket.markup.html.link.Link<T>page - the pageLink.linksTo(org.apache.wicket.Page)protected boolean getStatelessHint()
getStatelessHint in class org.apache.wicket.markup.html.link.Link<T>public final void onClick()
onClick in class org.apache.wicket.markup.html.link.Link<T>Link.onClick()public AbstractBookmarkablePageLink<T> setParameter(String property, int value)
property - The propertyvalue - The valuepublic AbstractBookmarkablePageLink<T> setParameter(String property, long value)
property - The propertyvalue - The valuepublic AbstractBookmarkablePageLink<T> setParameter(String property, String value)
property - The propertyvalue - The valueprotected CharSequence getURL()
getURL in class org.apache.wicket.markup.html.link.Link<T>Link.getURL()