public abstract class StdWorkflow<T extends Workflow> extends ActionDescription
ActionDescription.ActionDisplay
Constructor and Description |
---|
StdWorkflow(String id,
org.apache.wicket.model.IModel<String> name) |
StdWorkflow(String id,
org.apache.wicket.model.IModel<String> name,
IPluginContext pluginContext,
WorkflowDescriptorModel model) |
StdWorkflow(String id,
org.apache.wicket.model.IModel<String> name,
org.apache.wicket.request.resource.ResourceReference iconReference,
IPluginContext pluginContext,
WorkflowDescriptorModel model) |
StdWorkflow(String id,
org.apache.wicket.model.IModel<String> name,
org.apache.wicket.request.resource.ResourceReference iconReference,
WorkflowDescriptorModel model) |
StdWorkflow(String id,
org.apache.wicket.model.IModel<String> name,
WorkflowDescriptorModel model) |
StdWorkflow(String id,
String name) |
StdWorkflow(String id,
String name,
IPluginContext pluginContext,
RenderPlugin<? extends WorkflowDescriptor> enclosingPlugin)
Deprecated.
Old-style constructor
Use a constructor with explicit model argument.
The WorkflowDescriptorModel is available in workflow plugin constructor..
|
StdWorkflow(String id,
org.apache.wicket.model.StringResourceModel name,
IPluginContext pluginContext,
RenderPlugin<? extends WorkflowDescriptor> enclosingPlugin)
Deprecated.
Old-style constructor
Use a constructor with explicit model argument.
The WorkflowDescriptorModel is available in workflow plugin constructor..
|
StdWorkflow(String id,
org.apache.wicket.model.StringResourceModel name,
org.apache.wicket.request.resource.ResourceReference iconReference,
IPluginContext pluginContext,
RenderPlugin<? extends WorkflowDescriptor> enclosingPlugin)
Deprecated.
Old-style constructor
Use a constructor with explicit model argument.
The WorkflowDescriptorModel is available in workflow plugin constructor..
|
StdWorkflow(String id,
String name,
org.apache.wicket.request.resource.ResourceReference iconReference,
IPluginContext pluginContext,
RenderPlugin<? extends WorkflowDescriptor> enclosingPlugin)
Deprecated.
Old-style constructor
Use a constructor with explicit model argument.
The WorkflowDescriptorModel is available in workflow plugin constructor..
|
Modifier and Type | Method and Description |
---|---|
protected IDialogService.Dialog |
createRequestDialog() |
protected IDialogService.Dialog |
createResponseDialog(Exception ex) |
protected IDialogService.Dialog |
createResponseDialog(String message) |
protected void |
execute() |
protected String |
execute(T workflow) |
protected void |
execute(WorkflowDescriptorModel model) |
protected org.apache.wicket.request.resource.ResourceReference |
getIcon()
Deprecated.
This method is deprecated in favor of
getIcon(String id) which gives the
developer the freedom to return a component like a HippoIcon if desired. |
protected org.apache.wicket.Component |
getIcon(String id) |
WorkflowDescriptorModel |
getModel() |
protected String |
getName() |
protected org.apache.wicket.model.IModel<String> |
getTitle() |
protected org.apache.wicket.model.IModel<String> |
getTooltip() |
protected void |
invoke() |
void |
invokeWorkflow() |
protected void |
onDetach() |
add, add, getFragment, getSubMenu, isFormSubmitted, run
getWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSession
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, 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, 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, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onEvent, onInitialize, onModelChanged, onModelChanging, onReAdd, 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, visitParents, visitParents, warn, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
@Deprecated public StdWorkflow(String id, String name, IPluginContext pluginContext, RenderPlugin<? extends WorkflowDescriptor> enclosingPlugin)
@Deprecated public StdWorkflow(String id, org.apache.wicket.model.StringResourceModel name, IPluginContext pluginContext, RenderPlugin<? extends WorkflowDescriptor> enclosingPlugin)
@Deprecated public StdWorkflow(String id, org.apache.wicket.model.StringResourceModel name, org.apache.wicket.request.resource.ResourceReference iconReference, IPluginContext pluginContext, RenderPlugin<? extends WorkflowDescriptor> enclosingPlugin)
@Deprecated public StdWorkflow(String id, String name, org.apache.wicket.request.resource.ResourceReference iconReference, IPluginContext pluginContext, RenderPlugin<? extends WorkflowDescriptor> enclosingPlugin)
public StdWorkflow(String id, org.apache.wicket.model.IModel<String> name, WorkflowDescriptorModel model)
public StdWorkflow(String id, org.apache.wicket.model.IModel<String> name, IPluginContext pluginContext, WorkflowDescriptorModel model)
public StdWorkflow(String id, org.apache.wicket.model.IModel<String> name, org.apache.wicket.request.resource.ResourceReference iconReference, WorkflowDescriptorModel model)
public StdWorkflow(String id, org.apache.wicket.model.IModel<String> name, org.apache.wicket.request.resource.ResourceReference iconReference, IPluginContext pluginContext, WorkflowDescriptorModel model)
public WorkflowDescriptorModel getModel()
protected final String getName()
protected org.apache.wicket.model.IModel<String> getTitle()
protected org.apache.wicket.model.IModel<String> getTooltip()
@Deprecated protected org.apache.wicket.request.resource.ResourceReference getIcon()
getIcon(String id)
which gives the
developer the freedom to return a component like a HippoIcon
if desired.protected org.apache.wicket.Component getIcon(String id)
protected IDialogService.Dialog createRequestDialog()
protected IDialogService.Dialog createResponseDialog(String message)
protected IDialogService.Dialog createResponseDialog(Exception ex)
protected void invoke()
invoke
in class ActionDescription
protected void execute(WorkflowDescriptorModel model) throws Exception
Exception
public void invokeWorkflow() throws Exception
invokeWorkflow
in interface IWorkflowInvoker
invokeWorkflow
in class ActionDescription
Exception
protected void onDetach()
onDetach
in class org.apache.wicket.Component
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.