public class DisableInsertPlugin extends PluginAdapter
Plugin.ModelClassType
context, properties
Constructor and Description |
---|
DisableInsertPlugin() |
Modifier and Type | Method and Description |
---|---|
boolean |
clientBasicInsertMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable)
This method is called when the insert function has been generated for the mapper interface.
|
boolean |
clientBasicInsertMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert method has been generated for the mapper interface.
|
boolean |
clientBasicInsertMultipleMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable)
This method is called when the insert multiple method has been generated for the mapper interface.
|
boolean |
clientBasicInsertMultipleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert multiple method has been generated for the mapper interface.
|
boolean |
clientInsertMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientInsertMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert method has been generated in the
client interface.
|
boolean |
clientInsertMultipleMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientInsertMultipleMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert multiple method has been generated in the
client interface.
|
boolean |
clientInsertMultipleVarargMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientInsertSelectiveMethodGenerated(KotlinFunction kotlinFunction,
KotlinFile kotlinFile,
IntrospectedTable introspectedTable) |
boolean |
clientInsertSelectiveMethodGenerated(Method method,
Interface interfaze,
IntrospectedTable introspectedTable)
This method is called when the insert selective method has been generated
in the client interface.
|
boolean |
validate(List<String> warnings)
This method is called after all the setXXX methods are called, but before
any other method is called.
|
setContext, setProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clientBasicCountMethodGenerated, clientBasicCountMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicUpdateMethodGenerated, clientBasicUpdateMethodGenerated, clientColumnListPropertyGenerated, clientCountByExampleMethodGenerated, clientDeleteByExampleMethodGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientGeneralCountMethodGenerated, clientGeneralCountMethodGenerated, clientGeneralDeleteMethodGenerated, clientGeneralDeleteMethodGenerated, clientGeneralSelectDistinctMethodGenerated, clientGeneralSelectDistinctMethodGenerated, clientGeneralSelectMethodGenerated, clientGeneralSelectMethodGenerated, clientGeneralUpdateMethodGenerated, clientGeneralUpdateMethodGenerated, clientGenerated, clientSelectAllMethodGenerated, clientSelectByExampleWithBLOBsMethodGenerated, clientSelectByExampleWithoutBLOBsMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectListFieldGenerated, clientSelectOneMethodGenerated, clientSelectOneMethodGenerated, clientUpdateAllColumnsMethodGenerated, clientUpdateAllColumnsMethodGenerated, clientUpdateByExampleSelectiveMethodGenerated, clientUpdateByExampleWithBLOBsMethodGenerated, clientUpdateByExampleWithoutBLOBsMethodGenerated, clientUpdateByPrimaryKeyMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateByPrimaryKeyWithBLOBsMethodGenerated, clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated, clientUpdateSelectiveColumnsMethodGenerated, clientUpdateSelectiveColumnsMethodGenerated, contextGenerateAdditionalFiles, contextGenerateAdditionalFiles, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalKotlinFiles, contextGenerateAdditionalKotlinFiles, contextGenerateAdditionalXmlFiles, contextGenerateAdditionalXmlFiles, dynamicSqlSupportGenerated, dynamicSqlSupportGenerated, initialized, kotlinDataClassGenerated, mapperExtensionsGenerated, mapperGenerated, modelBaseRecordClassGenerated, modelExampleClassGenerated, modelFieldGenerated, modelGetterMethodGenerated, modelPrimaryKeyClassGenerated, modelRecordWithBLOBsClassGenerated, modelSetterMethodGenerated, providerApplyWhereMethodGenerated, providerCountByExampleMethodGenerated, providerDeleteByExampleMethodGenerated, providerGenerated, providerInsertSelectiveMethodGenerated, providerSelectByExampleWithBLOBsMethodGenerated, providerSelectByExampleWithoutBLOBsMethodGenerated, providerUpdateByExampleSelectiveMethodGenerated, providerUpdateByExampleWithBLOBsMethodGenerated, providerUpdateByExampleWithoutBLOBsMethodGenerated, providerUpdateByPrimaryKeySelectiveMethodGenerated, sqlMapBaseColumnListElementGenerated, sqlMapBlobColumnListElementGenerated, sqlMapCountByExampleElementGenerated, sqlMapDeleteByExampleElementGenerated, sqlMapDeleteByPrimaryKeyElementGenerated, sqlMapDocumentGenerated, sqlMapExampleWhereClauseElementGenerated, sqlMapGenerated, sqlMapInsertElementGenerated, sqlMapInsertSelectiveElementGenerated, sqlMapResultMapWithBLOBsElementGenerated, sqlMapResultMapWithoutBLOBsElementGenerated, sqlMapSelectAllElementGenerated, sqlMapSelectByExampleWithBLOBsElementGenerated, sqlMapSelectByExampleWithoutBLOBsElementGenerated, sqlMapSelectByPrimaryKeyElementGenerated, sqlMapUpdateByExampleSelectiveElementGenerated, sqlMapUpdateByExampleWithBLOBsElementGenerated, sqlMapUpdateByExampleWithoutBLOBsElementGenerated, sqlMapUpdateByPrimaryKeySelectiveElementGenerated, sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated, sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated
public boolean validate(List<String> warnings)
Plugin
warnings
- add strings to this list to specify warnings. For example, if
the plugin is invalid, you should specify why. Warnings are
reported to users after the completion of the run.public boolean clientBasicInsertMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
method
- the generated insert methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as introspected from the databasepublic boolean clientBasicInsertMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
Plugin
kotlinFunction
- the generated insert functionkotlinFile
- the partially generated fileintrospectedTable
- The class containing information about the table as introspected from the databasepublic boolean clientBasicInsertMultipleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
method
- the generated insert methodinterfaze
- the partially generated mapper interfacesintrospectedTable
- The class containing information about the table as introspected from the databasepublic boolean clientBasicInsertMultipleMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
Plugin
kotlinFunction
- the generated insert functionkotlinFile
- the partially generated fileintrospectedTable
- The class containing information about the table as introspected from the databasepublic boolean clientInsertMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
method
- the generated insert methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasepublic boolean clientInsertMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
public boolean clientInsertMultipleMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
method
- the generated insert multiple methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasepublic boolean clientInsertMultipleMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
public boolean clientInsertSelectiveMethodGenerated(Method method, Interface interfaze, IntrospectedTable introspectedTable)
Plugin
method
- the generated insert methodinterfaze
- the partially implemented client interface. You can add
additional imported classes to the interface if
necessary.introspectedTable
- The class containing information about the table as
introspected from the databasepublic boolean clientInsertSelectiveMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
public boolean clientInsertMultipleVarargMethodGenerated(KotlinFunction kotlinFunction, KotlinFile kotlinFile, IntrospectedTable introspectedTable)
Copyright © 2006–2023 MyBatis.org. All rights reserved.