lumis.upgrade
Class DropTableIfExistsStepHandler

Package class diagram package DropTableIfExistsStepHandler
java.lang.Object
  extended by 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

Constructor Summary
DropTableIfExistsStepHandler()
           
 
Method Summary
 Node executeStep(SessionConfig sessionConfig, Node stepNode, ITransaction transaction)
          Executes a step in the upgrade process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DropTableIfExistsStepHandler

public DropTableIfExistsStepHandler()
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 interface IStepHandler
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.


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.