com.jalios.jcms.policy
Class BasicImportPolicyFilter
java.lang.Object
com.jalios.jcms.policy.AbstractPolicyFilter
com.jalios.jcms.policy.BasicImportPolicyFilter
- All Implemented Interfaces:
- PluginComponent, ImportPolicyFilter, PolicyFilter, Comparable
public class BasicImportPolicyFilter
- extends AbstractPolicyFilter
- implements ImportPolicyFilter, PluginComponent
This class provides hooks for data export.
- Since:
- jcms-5.7.2
- Version:
- $Revision: 20745 $
- Author:
- Olivier Dedieu
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
BasicImportPolicyFilter
public BasicImportPolicyFilter()
init
public boolean init(Plugin plugin)
- Description copied from interface:
PluginComponent
- Initialize the component with the given plugin configuration
- Specified by:
init
in interface PluginComponent
- Parameters:
plugin
- the calling plugin
- Returns:
- true if the component has been correctly initialized.
- Since:
- jcms-5.7.2
- See Also:
PluginComponent.init(Plugin)
beforeImportData
public boolean beforeImportData(org.jdom.Document doc,
ImportOptions options,
ImportStatus status,
Map context)
- Description copied from interface:
ImportPolicyFilter
- This method is called before an import. If it returns false, the import is rejected.
- Specified by:
beforeImportData
in interface ImportPolicyFilter
- Parameters:
doc
- the JDOM Document to importoptions
- the Import optionsstatus
- the Import statuscontext
- the import context
- Returns:
- If it returns false, the import is rejected.
- See Also:
ImportPolicyFilter.beforeImportData(org.jdom.Document, com.jalios.jcms.mashup.ImportOptions, com.jalios.jcms.mashup.ImportStatus, java.util.Map)
afterImportData
public void afterImportData(org.jdom.Document doc,
ImportOptions options,
ImportStatus status,
Map context)
- Description copied from interface:
ImportPolicyFilter
- This methods is called after an import as been performed.
- Specified by:
afterImportData
in interface ImportPolicyFilter
- Parameters:
doc
- the JDOM Document that has been importedoptions
- the Import optionsstatus
- the Import statuscontext
- the import context- See Also:
ImportPolicyFilter.afterImportData(org.jdom.Document, com.jalios.jcms.mashup.ImportOptions, com.jalios.jcms.mashup.ImportStatus, java.util.Map)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.