Package lumis.upgrade
Class RunSqlStepHandler
- java.lang.Object
-
- lumis.upgrade.RunSqlStepHandler
-
- All Implemented Interfaces:
IStepHandler
- Direct Known Subclasses:
MakeColumnNullableOrNot
,RunSqlIfNecessary
public class RunSqlStepHandler extends Object implements IStepHandler
Step handler that executes a sql statement.
-
-
Constructor Summary
Constructors Constructor Description RunSqlStepHandler()
-
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.
-
-