public abstract class ActionDescription extends org.apache.wicket.markup.html.panel.Panel implements IWorkflowInvoker
Modifier and Type | Class and Description |
---|---|
class |
ActionDescription.ActionDisplay |
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 |
---|
ActionDescription(String id) |
ActionDescription(String id,
org.apache.wicket.model.IModel<?> model) |
Modifier and Type | Method and Description |
---|---|
org.apache.wicket.MarkupContainer |
add(ActionDescription.ActionDisplay component) |
org.apache.wicket.MarkupContainer |
add(org.apache.wicket.markup.html.panel.Fragment component) |
String |
getCssClass() |
org.apache.wicket.Component |
getFragment(String id) |
String |
getSubMenu() |
protected abstract void |
invoke() |
void |
invokeAsPromise() |
void |
invokeWorkflow() |
boolean |
isFormSubmitted() |
void |
reject(String reason)
If a workflow invocation has failed it can be rejected.
|
void |
resolve(String result)
After a workflow invocation has finished successfully it can be resolved.
|
void |
run() |
getRegionMarkup, newMarkupSourcingStrategy
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSession
add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, findComponentToDequeue, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onAfterRenderChildren, onComponentTagBody, onDetach, onInitialize, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, 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, getStatelessHint, 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, onAfterRender, onBeforeRender, onComponentTag, onConfigure, 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, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public ActionDescription(String id)
public ActionDescription(String id, org.apache.wicket.model.IModel<?> model)
public String getSubMenu()
public final org.apache.wicket.MarkupContainer add(org.apache.wicket.markup.html.panel.Fragment component)
public final org.apache.wicket.MarkupContainer add(ActionDescription.ActionDisplay component)
public org.apache.wicket.Component getFragment(String id)
public String getCssClass()
public boolean isFormSubmitted()
public void run()
protected abstract void invoke()
public void invokeWorkflow() throws Exception
invokeWorkflow
in interface IWorkflowInvoker
Exception
public void invokeAsPromise()
public void resolve(String result)
IWorkflowInvoker
resolve
in interface IWorkflowInvoker
result
- The result of a workflow call. Can be null.public void reject(String reason)
IWorkflowInvoker
reject
in interface IWorkflowInvoker
reason
- The reason the workflow invocation failed. Can be null.Copyright © 2007–2021 Hippo B.V. (http://www.onehippo.com). All rights reserved.