public class BasicWizardPolicyFilter extends AbstractPolicyFilter implements WizardPolicyFilter, PluginComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
order
Constructor and Description |
---|
BasicWizardPolicyFilter() |
Modifier and Type | Method and Description |
---|---|
void |
afterWizard(WizardContext ctxt)
Performs actions after the Wizard process.
|
boolean |
beforeWizard(WizardContext ctxt)
Performs actions before the Wizard process.
|
java.lang.String |
handleCategoryName(java.lang.String computedName,
Category cat,
WizardContext ctxt)
Handle custom name for the given category.
|
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration
|
compareTo, equals, getOrder, setOrder
public static final java.lang.String REVISION
public boolean init(Plugin plugin)
PluginComponent
init
in interface PluginComponent
plugin
- the calling pluginPluginComponent.init(Plugin)
public boolean beforeWizard(WizardContext ctxt)
WizardPolicyFilter
beforeWizard
in interface WizardPolicyFilter
ctxt
- the WizardContextWizardPolicyFilter.beforeWizard(WizardContext)
public void afterWizard(WizardContext ctxt)
WizardPolicyFilter
afterWizard
in interface WizardPolicyFilter
ctxt
- the WizardContextWizardPolicyFilter.afterWizard(WizardContext)
public java.lang.String handleCategoryName(java.lang.String computedName, Category cat, WizardContext ctxt)
WizardPolicyFilter
handleCategoryName
in interface WizardPolicyFilter
computedName
- the target computed category namecat
- the working category to duplicatectxt
- the WizardContextWizardPolicyFilter.handleCategoryName(String, Category, WizardContext)
Copyright © 2001-2017 Jalios SA. All Rights Reserved.