Package lumis.upgrade
Class DropTableIfExistsStepHandler
- java.lang.Object
-
- lumis.upgrade.DropTableIfExistsStepHandler
-
- All Implemented Interfaces:
IStepHandler
public class DropTableIfExistsStepHandler extends Object implements IStepHandler
Drops a table if it exists. The table name should be as the value of the element table inside the step element.- Since:
- 4.2.1
- Version:
- $Revision: 10458 $ $Date: 2009-06-02 15:49:09 -0300 (Tue, 02 Jun 2009) $
-
-
Constructor Summary
Constructors Constructor Description DropTableIfExistsStepHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
executeStep(SessionConfig sessionConfig, Node stepNode, ITransaction transaction)
Executes a step in the upgrade process.
-
-
-
Method Detail
-
executeStep
public Node executeStep(SessionConfig sessionConfig, Node stepNode, ITransaction transaction) throws PortalException
Description copied from interface:IStepHandler
Executes a step in the upgrade process.- Specified by:
executeStep
in interfaceIStepHandler
- Parameters:
sessionConfig
- the user session information.stepNode
- the xml step definition node.transaction
- the transaction for persistence access.- Returns:
- the response xml node.
- Throws:
PortalException
- if it was not possible to execute the step.
-
-