Search in sources :

Example 1 with DfOldClassHandler

use of org.dbflute.logic.generate.deletefile.DfOldClassHandler in project dbflute-core by dbflute.

the class Database method deleteOldCustomizeClass.

public void deleteOldCustomizeClass() {
    if (isSuppressDeleteOldClass()) {
        return;
    }
    final DfOldClassHandler handler = createOldClassHandler();
    handler.setCustomizeTableList(getTableList());
    handler.setPmbMetaDataMap(_pmbMetaDataMap);
    handler.deleteOldCustomizeClass();
}
Also used : DfOldClassHandler(org.dbflute.logic.generate.deletefile.DfOldClassHandler)

Example 2 with DfOldClassHandler

use of org.dbflute.logic.generate.deletefile.DfOldClassHandler in project dbflute-core by dbflute.

the class Database method deleteOldSimpleDtoCustomizeClass.

public void deleteOldSimpleDtoCustomizeClass() {
    if (isSuppressDeleteOldClass()) {
        return;
    }
    final DfOldClassHandler handler = createOldClassHandler();
    handler.setCustomizeTableList(getTableList());
    handler.setPmbMetaDataMap(_pmbMetaDataMap);
    handler.deleteOldSimpleDtoCustomizeClass();
}
Also used : DfOldClassHandler(org.dbflute.logic.generate.deletefile.DfOldClassHandler)

Example 3 with DfOldClassHandler

use of org.dbflute.logic.generate.deletefile.DfOldClassHandler in project dbflute-core by dbflute.

the class Database method deleteOldSimpleDtoTableClass.

public void deleteOldSimpleDtoTableClass() {
    if (isSuppressDeleteOldClass()) {
        return;
    }
    final DfOldClassHandler handler = createOldClassHandler();
    handler.deleteOldSimpleDtoTableClass();
}
Also used : DfOldClassHandler(org.dbflute.logic.generate.deletefile.DfOldClassHandler)

Example 4 with DfOldClassHandler

use of org.dbflute.logic.generate.deletefile.DfOldClassHandler in project dbflute-core by dbflute.

the class Database method deleteOldSimpleDtoMapperTableClass.

public void deleteOldSimpleDtoMapperTableClass() {
    if (isSuppressDeleteOldClass()) {
        return;
    }
    final DfOldClassHandler handler = createOldClassHandler();
    handler.deleteOldSimpleDtoMapperTableClass();
}
Also used : DfOldClassHandler(org.dbflute.logic.generate.deletefile.DfOldClassHandler)

Example 5 with DfOldClassHandler

use of org.dbflute.logic.generate.deletefile.DfOldClassHandler in project dbflute-core by dbflute.

the class Database method createOldClassHandler.

protected DfOldClassHandler createOldClassHandler() {
    final DfGenerator generator = getGeneratorInstance();
    final DfLanguageDependency lang = getBasicProperties().getLanguageDependency();
    final DfLanguageClassPackage pkg = lang.getLanguageClassPackage();
    return new DfOldClassHandler(generator, pkg, getTableList());
}
Also used : DfLanguageDependency(org.dbflute.logic.generate.language.DfLanguageDependency) DfLanguageClassPackage(org.dbflute.logic.generate.language.pkgstyle.DfLanguageClassPackage) DfGenerator(org.dbflute.friends.velocity.DfGenerator) DfOldClassHandler(org.dbflute.logic.generate.deletefile.DfOldClassHandler)

Aggregations

DfOldClassHandler (org.dbflute.logic.generate.deletefile.DfOldClassHandler)7 DfGenerator (org.dbflute.friends.velocity.DfGenerator)1 DfLanguageDependency (org.dbflute.logic.generate.language.DfLanguageDependency)1 DfLanguageClassPackage (org.dbflute.logic.generate.language.pkgstyle.DfLanguageClassPackage)1