Package com.jalios.jcms.policy
Interface WizardPolicyFilter
- All Superinterfaces:
Comparable,PluginComponent,PolicyFilter
- All Known Implementing Classes:
BasicWizardPolicyFilter
This class provides hooks for wizard actions:
- Deep duplicate of a Workspace Model
- Deep duplicate of a Portal
- Since:
- jcms-5.7.0
- Author:
- Olivier Dedieu
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterWizard(WizardContext ctxt) Performs actions after the Wizard process.booleanbeforeWizard(WizardContext ctxt) Performs actions before the Wizard process.handleCategoryName(String computedName, Category cat, WizardContext ctxt) Handle custom name for the given category.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.jalios.jcms.plugin.PluginComponent
init
-
Method Details
-
beforeWizard
Performs actions before the Wizard process.- Parameters:
ctxt- the WizardContext- Returns:
- boolean true to stop the Wizard process
-
afterWizard
Performs actions after the Wizard process.- Parameters:
ctxt- the WizardContext
-
handleCategoryName
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)- Parameters:
computedName- the target computed category namecat- the working category to duplicatectxt- the WizardContext- Returns:
- String the modified computed category name
- Since:
- jcms-5.7.5
-