Package lumis.upgrade

Class 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 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.