public class LogicalDeletePlugin extends BasePlugin
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DEL_FLAG_NAME |
static String |
LOGICAL_DELETE_COLUMN_KEY |
static String |
LOGICAL_DELETE_VALUE_KEY |
static String |
LOGICAL_UN_DELETE_VALUE_KEY |
static String |
METHOD_LOGICAL_DELETE |
static String |
METHOD_LOGICAL_DELETE_BY_EXAMPLE |
static String |
METHOD_LOGICAL_DELETE_BY_PRIMARY_KEY |
static String |
UN_DEL_FLAG_NAME |
commentGenerator, logger| 构造器和说明 |
|---|
LogicalDeletePlugin() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
clientGenerated(org.mybatis.generator.api.dom.java.Interface interfaze,
org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
Java Client Methods 生成
具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
|
void |
initialized(org.mybatis.generator.api.IntrospectedTable introspectedTable)
初始化阶段
具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
|
boolean |
modelBaseRecordClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
Model 生成
具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
|
boolean |
modelExampleClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
ModelExample Methods 生成
具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
|
boolean |
sqlMapDocumentGenerated(org.mybatis.generator.api.dom.xml.Document document,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
SQL Map Methods 生成
具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
|
validateclientCountByExampleMethodGenerated, clientCountByExampleMethodGenerated, clientDeleteByExampleMethodGenerated, clientDeleteByExampleMethodGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientInsertMethodGenerated, clientInsertMethodGenerated, clientInsertSelectiveMethodGenerated, clientInsertSelectiveMethodGenerated, clientSelectAllMethodGenerated, clientSelectAllMethodGenerated, clientSelectByExampleWithBLOBsMethodGenerated, clientSelectByExampleWithBLOBsMethodGenerated, clientSelectByExampleWithoutBLOBsMethodGenerated, clientSelectByExampleWithoutBLOBsMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientUpdateByExampleSelectiveMethodGenerated, clientUpdateByExampleSelectiveMethodGenerated, clientUpdateByExampleWithBLOBsMethodGenerated, clientUpdateByExampleWithBLOBsMethodGenerated, clientUpdateByExampleWithoutBLOBsMethodGenerated, clientUpdateByExampleWithoutBLOBsMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateByPrimaryKeyWithBLOBsMethodGenerated, clientUpdateByPrimaryKeyWithBLOBsMethodGenerated, clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated, clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalXmlFiles, contextGenerateAdditionalXmlFiles, getContext, getProperties, modelFieldGenerated, modelGetterMethodGenerated, modelPrimaryKeyClassGenerated, modelRecordWithBLOBsClassGenerated, modelSetterMethodGenerated, providerApplyWhereMethodGenerated, providerCountByExampleMethodGenerated, providerDeleteByExampleMethodGenerated, providerGenerated, providerInsertSelectiveMethodGenerated, providerSelectByExampleWithBLOBsMethodGenerated, providerSelectByExampleWithoutBLOBsMethodGenerated, providerUpdateByExampleSelectiveMethodGenerated, providerUpdateByExampleWithBLOBsMethodGenerated, providerUpdateByExampleWithoutBLOBsMethodGenerated, providerUpdateByPrimaryKeySelectiveMethodGenerated, setContext, setProperties, sqlMapBaseColumnListElementGenerated, sqlMapBlobColumnListElementGenerated, sqlMapCountByExampleElementGenerated, sqlMapDeleteByExampleElementGenerated, sqlMapDeleteByPrimaryKeyElementGenerated, sqlMapExampleWhereClauseElementGenerated, sqlMapGenerated, sqlMapInsertElementGenerated, sqlMapInsertSelectiveElementGenerated, sqlMapResultMapWithBLOBsElementGenerated, sqlMapResultMapWithoutBLOBsElementGenerated, sqlMapSelectAllElementGenerated, sqlMapSelectByExampleWithBLOBsElementGenerated, sqlMapSelectByExampleWithoutBLOBsElementGenerated, sqlMapSelectByPrimaryKeyElementGenerated, sqlMapUpdateByExampleSelectiveElementGenerated, sqlMapUpdateByExampleWithBLOBsElementGenerated, sqlMapUpdateByExampleWithoutBLOBsElementGenerated, sqlMapUpdateByPrimaryKeySelectiveElementGenerated, sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated, sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGeneratedpublic static final String METHOD_LOGICAL_DELETE_BY_EXAMPLE
public static final String METHOD_LOGICAL_DELETE_BY_PRIMARY_KEY
public void initialized(org.mybatis.generator.api.IntrospectedTable introspectedTable)
initialized 在接口中 org.mybatis.generator.api.Plugininitialized 在类中 org.mybatis.generator.api.PluginAdapterintrospectedTable - public boolean clientGenerated(org.mybatis.generator.api.dom.java.Interface interfaze,
org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
clientGenerated 在接口中 org.mybatis.generator.api.PluginclientGenerated 在类中 org.mybatis.generator.api.PluginAdapterinterfaze - topLevelClass - introspectedTable - public boolean sqlMapDocumentGenerated(org.mybatis.generator.api.dom.xml.Document document,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
sqlMapDocumentGenerated 在接口中 org.mybatis.generator.api.PluginsqlMapDocumentGenerated 在类中 org.mybatis.generator.api.PluginAdapterdocument - introspectedTable - public boolean modelBaseRecordClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
modelBaseRecordClassGenerated 在接口中 org.mybatis.generator.api.PluginmodelBaseRecordClassGenerated 在类中 org.mybatis.generator.api.PluginAdaptertopLevelClass - introspectedTable - public boolean modelExampleClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedTable introspectedTable)
modelExampleClassGenerated 在接口中 org.mybatis.generator.api.PluginmodelExampleClassGenerated 在类中 org.mybatis.generator.api.PluginAdaptertopLevelClass - introspectedTable - Copyright © 2017. All rights reserved.