public abstract class DirectLink extends AbstractLinkComponent implements IDirect
| Constructor and Description |
|---|
DirectLink() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object[] |
constructServiceParameters(java.lang.Object parameterValue)
Converts a service parameters value to an array of objects.
|
ILink |
getLink(IRequestCycle cycle)
Invoked by the
ILinkRenderer (if the link is not disabled)
to provide a EngineServiceLink that the renderer can
convert into a URL. |
abstract IActionListener |
getListener() |
abstract ListenerInvoker |
getListenerInvoker()
Injected.
|
abstract java.lang.Object |
getParameters() |
abstract boolean |
isStateful()
Returns true if the stateful parameter is bound to a true value.
|
void |
trigger(IRequestCycle cycle)
Invoked by the direct service to trigger the application-specific action by notifying the
listener. |
addEventHandler, cleanupAfterRender, finishLoad, getAnchor, getLink, getRenderer, isDisabled, renderAdditionalAttributes, renderComponent, setRenderer, writeEventHandler, writeEventHandlersaddAsset, addBody, addComponent, checkActiveLock, enterActiveState, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setPropertygetPort, getScheme, getTargetpublic DirectLink()
public abstract IActionListener getListener()
public abstract boolean isStateful()
isStateful in interface IDirectpublic ILink getLink(IRequestCycle cycle)
ILinkComponentILinkRenderer (if the link is not disabled)
to provide a EngineServiceLink that the renderer can
convert into a URL.getLink in interface ILinkComponentgetLink in class AbstractLinkComponentpublic static java.lang.Object[] constructServiceParameters(java.lang.Object parameterValue)
DirectLink,ServiceLinkand ExternalLinkcomponents.parameterValue - the input value which may be
List(returns an array of the values in the List})
public void trigger(IRequestCycle cycle)
listener.trigger in interface IDirectStaleSessionException - if the component is stateful, and the session is new.public abstract java.lang.Object getParameters()
public abstract ListenerInvoker getListenerInvoker()