Class CreateBusinessUnitFragment
java.lang.Object
ch.tocco.nice2.dbrefactoring.spi.liquibase.JdbcHelper
ch.tocco.nice2.dbrefactoring.impl.install.fragments.CreateBusinessUnitFragment
- All Implemented Interfaces:
InstallFragment
creates business units that are defined in ${nice2.dbrefactoring.businessunits} but do not exist in the db
fills non-nullable columns with its default value, empty value or a dummy value if those are null
the created business units need to be configured afterwards by a user
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.dbrefactoring.spi.liquibase.JdbcHelper
JdbcHelper.SqlFunction<A,B> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninstall(InstallParameters params) Executes this fragments install routine and returns a report.voidsetBusinessUnits(String businessUnits) Methods inherited from class ch.tocco.nice2.dbrefactoring.spi.liquibase.JdbcHelper
ddlStatement, tableExists, uniqueIndexExists, withConnection, withResultSet, withStatement
-
Constructor Details
-
CreateBusinessUnitFragment
-
-
Method Details
-
install
Description copied from interface:InstallFragmentExecutes this fragments install routine and returns a report. This will affect all modules.- Specified by:
installin interfaceInstallFragment- Returns:
- a report for this install fragment
-
setBusinessUnits
-