Package lumis.upgrade.util
Class RunSqlIfNecessary
- java.lang.Object
-
- lumis.upgrade.RunSqlStepHandler
-
- lumis.upgrade.util.RunSqlIfNecessary
-
- All Implemented Interfaces:
IStepHandler
public class RunSqlIfNecessary extends RunSqlStepHandler
Run SQL if necessary- Since:
- 7.1.0
- Version:
- $Revision: 16037 $ $Date: 2013-11-21 20:58:50 -0200 (Thu, 21 Nov 2013) $
-
-
Constructor Summary
Constructors Constructor Description RunSqlIfNecessary()
-
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
- Overrides:
executeStep
in classRunSqlStepHandler
- 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.
-
-