Package lumis.upgrade

Class DropTableIfExistsStepHandler

  • All Implemented Interfaces:
    IStepHandler

    public class DropTableIfExistsStepHandler
    extends java.lang.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$ $Date$
    • Constructor Detail

      • DropTableIfExistsStepHandler

        public DropTableIfExistsStepHandler()
    • Method Detail

      • executeStep

        public org.w3c.dom.Node executeStep​(SessionConfig sessionConfig,
                                            org.w3c.dom.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.