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
There is 2 methods to perform action on WizardContext before and after the
deep copy.
Otherwise DataControllers receives WizardContext in context Map during Wizard Process
- Since:
- jcms-5.7.0
- Version:
- $Revision: 21265 $
- Author:
- Olivier Dedieu
|
Field Summary |
static java.lang.String |
REVISION
|
|
Method Summary |
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) |
| Methods inherited from interface java.lang.Comparable |
compareTo |
REVISION
static final java.lang.String REVISION
- See Also:
- Constant Field Values
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
Copyright © 2001-2010 Jalios SA. All Rights Reserved.