Package com.jalios.jcms.policy
Interface WizardPolicyFilter
-
- All Superinterfaces:
java.lang.Comparable
,PluginComponent
,PolicyFilter
- All Known Implementing Classes:
BasicWizardPolicyFilter
public interface WizardPolicyFilter extends PolicyFilter
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
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface com.jalios.jcms.plugin.PluginComponent
init
-
-
-
-
Method Detail
-
beforeWizard
boolean beforeWizard(WizardContext ctxt)
Performs actions before the Wizard process.- Parameters:
ctxt
- the WizardContext- Returns:
- boolean true to stop the Wizard process
-
afterWizard
void afterWizard(WizardContext ctxt)
Performs actions after the Wizard process.- Parameters:
ctxt
- the WizardContext
-
handleCategoryName
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)- 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
-
-