public class PaginationPlugin
extends org.mybatis.generator.api.PluginAdapter
| Constructor and Description |
|---|
PaginationPlugin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
modelExampleClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
Add two fields start and count with default value of -1 into Criteria class.
|
boolean |
providerSelectByExampleWithBLOBsMethodGenerated(org.mybatis.generator.api.dom.java.Method method,
org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
Modify the selectByExampleWithBlobs in sql provider class.
|
boolean |
providerSelectByExampleWithoutBLOBsMethodGenerated(org.mybatis.generator.api.dom.java.Method method,
org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
Modify the selectByExample in sql provider class.
|
boolean |
sqlMapSelectByExampleWithBLOBsElementGenerated(org.mybatis.generator.api.dom.xml.XmlElement element,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
Modify the selectByExampleWithBlobs element in the mapper xml file.
|
boolean |
sqlMapSelectByExampleWithoutBLOBsElementGenerated(org.mybatis.generator.api.dom.xml.XmlElement element,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
Modify the selectByExample element in the mapper xml file.
|
boolean |
validate(List<String> warnings) |
clientBasicCountMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicInsertMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicInsertMultipleMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicUpdateMethodGenerated, clientCountByExampleMethodGenerated, clientDeleteByExampleMethodGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientGeneralCountMethodGenerated, clientGeneralDeleteMethodGenerated, clientGeneralSelectDistinctMethodGenerated, clientGeneralSelectMethodGenerated, clientGeneralUpdateMethodGenerated, clientGenerated, clientInsertMethodGenerated, clientInsertMultipleMethodGenerated, clientInsertSelectiveMethodGenerated, clientSelectAllMethodGenerated, clientSelectByExampleWithBLOBsMethodGenerated, clientSelectByExampleWithoutBLOBsMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectListFieldGenerated, clientSelectOneMethodGenerated, clientUpdateAllColumnsMethodGenerated, clientUpdateByExampleSelectiveMethodGenerated, clientUpdateByExampleWithBLOBsMethodGenerated, clientUpdateByExampleWithoutBLOBsMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateByPrimaryKeyWithBLOBsMethodGenerated, clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated, clientUpdateSelectiveColumnsMethodGenerated, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalXmlFiles, contextGenerateAdditionalXmlFiles, dynamicSqlSupportGenerated, getContext, getProperties, initialized, modelBaseRecordClassGenerated, modelFieldGenerated, modelGetterMethodGenerated, modelPrimaryKeyClassGenerated, modelRecordWithBLOBsClassGenerated, modelSetterMethodGenerated, providerApplyWhereMethodGenerated, providerCountByExampleMethodGenerated, providerDeleteByExampleMethodGenerated, providerGenerated, providerInsertSelectiveMethodGenerated, providerUpdateByExampleSelectiveMethodGenerated, providerUpdateByExampleWithBLOBsMethodGenerated, providerUpdateByExampleWithoutBLOBsMethodGenerated, providerUpdateByPrimaryKeySelectiveMethodGenerated, setContext, setProperties, sqlMapBaseColumnListElementGenerated, sqlMapBlobColumnListElementGenerated, sqlMapCountByExampleElementGenerated, sqlMapDeleteByExampleElementGenerated, sqlMapDeleteByPrimaryKeyElementGenerated, sqlMapDocumentGenerated, sqlMapExampleWhereClauseElementGenerated, sqlMapGenerated, sqlMapInsertElementGenerated, sqlMapInsertSelectiveElementGenerated, sqlMapResultMapWithBLOBsElementGenerated, sqlMapResultMapWithoutBLOBsElementGenerated, sqlMapSelectAllElementGenerated, sqlMapSelectByPrimaryKeyElementGenerated, sqlMapUpdateByExampleSelectiveElementGenerated, sqlMapUpdateByExampleWithBLOBsElementGenerated, sqlMapUpdateByExampleWithoutBLOBsElementGenerated, sqlMapUpdateByPrimaryKeySelectiveElementGenerated, sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated, sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGeneratedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclientBasicCountMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicInsertMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicInsertMultipleMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicUpdateMethodGenerated, clientColumnListPropertyGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientGeneralCountMethodGenerated, clientGeneralDeleteMethodGenerated, clientGeneralSelectDistinctMethodGenerated, clientGeneralSelectMethodGenerated, clientGeneralUpdateMethodGenerated, clientInsertMethodGenerated, clientInsertMultipleMethodGenerated, clientInsertMultipleVarargMethodGenerated, clientInsertSelectiveMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectOneMethodGenerated, clientUpdateAllColumnsMethodGenerated, clientUpdateByPrimaryKeyMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateSelectiveColumnsMethodGenerated, contextGenerateAdditionalKotlinFiles, contextGenerateAdditionalKotlinFiles, dynamicSqlSupportGenerated, kotlinDataClassGenerated, mapperExtensionsGenerated, mapperGeneratedpublic boolean modelExampleClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
modelExampleClassGenerated in interface org.mybatis.generator.api.PluginmodelExampleClassGenerated in class org.mybatis.generator.api.PluginAdaptertopLevelClass - topLevelClass.introspectedTable - current table configurations.public boolean sqlMapSelectByExampleWithoutBLOBsElementGenerated(org.mybatis.generator.api.dom.xml.XmlElement element,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
sqlMapSelectByExampleWithoutBLOBsElementGenerated in interface org.mybatis.generator.api.PluginsqlMapSelectByExampleWithoutBLOBsElementGenerated in class org.mybatis.generator.api.PluginAdapterelement - selectByExample element in xml file.introspectedTable - current table configurations.public boolean sqlMapSelectByExampleWithBLOBsElementGenerated(org.mybatis.generator.api.dom.xml.XmlElement element,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
sqlMapSelectByExampleWithBLOBsElementGenerated in interface org.mybatis.generator.api.PluginsqlMapSelectByExampleWithBLOBsElementGenerated in class org.mybatis.generator.api.PluginAdapterelement - selectByExampleWithBlobs element in xml file.introspectedTable - current table configurations.public boolean providerSelectByExampleWithoutBLOBsMethodGenerated(org.mybatis.generator.api.dom.java.Method method,
org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
providerSelectByExampleWithoutBLOBsMethodGenerated in interface org.mybatis.generator.api.PluginproviderSelectByExampleWithoutBLOBsMethodGenerated in class org.mybatis.generator.api.PluginAdaptermethod - selectByExample method.topLevelClass - topLevelClassintrospectedTable - current table configurations.public boolean providerSelectByExampleWithBLOBsMethodGenerated(org.mybatis.generator.api.dom.java.Method method,
org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
providerSelectByExampleWithBLOBsMethodGenerated in interface org.mybatis.generator.api.PluginproviderSelectByExampleWithBLOBsMethodGenerated in class org.mybatis.generator.api.PluginAdaptermethod - selectByExampleWithBlobs method.topLevelClass - topLevelClassintrospectedTable - current table configurations.Copyright © 2021. All rights reserved.