Class MakeColumnNullableOrNot

  • All Implemented Interfaces:
    IStepHandler

    public class MakeColumnNullableOrNot
    extends RunSqlStepHandler
    Changes a column not null or null, but only if it isn't the sames as parameter ().
    Since:
    7.1.0
    Version:
    $Revision: 16037 $ $Date: 2013-11-21 20:58:50 -0200 (Thu, 21 Nov 2013) $
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.w3c.dom.Node executeStep​(SessionConfig sessionConfig, org.w3c.dom.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

      • MakeColumnNullableOrNot

        public MakeColumnNullableOrNot()
    • 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
        Overrides:
        executeStep in class RunSqlStepHandler
        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.