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. when it will be referenced
If the Category.getName() is the same than computed category then the category will be referenced (not duplicated)
|
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration
|
compareTo, equals, getOrder, setOrderpublic static final java.lang.String REVISION
public boolean init(Plugin plugin)
PluginComponentinit in interface PluginComponentplugin - the calling pluginPluginComponent.init(Plugin)public boolean beforeWizard(WizardContext ctxt)
WizardPolicyFilterbeforeWizard in interface WizardPolicyFilterctxt - the WizardContextWizardPolicyFilter.beforeWizard(WizardContext)public void afterWizard(WizardContext ctxt)
WizardPolicyFilterafterWizard in interface WizardPolicyFilterctxt - the WizardContextWizardPolicyFilter.afterWizard(WizardContext)public java.lang.String handleCategoryName(java.lang.String computedName,
Category cat,
WizardContext ctxt)
WizardPolicyFilterhandleCategoryName in interface WizardPolicyFiltercomputedName - the target computed category namecat - the working category to duplicatectxt - the WizardContextWizardPolicyFilter.handleCategoryName(String, Category, WizardContext)Copyright © 2001-2010 Jalios SA. All Rights Reserved.