public class LogicalDeletePlugin extends BasePlugin
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DEFAULT_LOGICAL_DELETE_NAME
逻辑删除标志位名称(默认)
|
static String |
DEFAULT_LOGICAL_UN_DELETE_NAME |
static String |
METHOD_LOGICAL_DELETE_BY_EXAMPLE |
static String |
METHOD_LOGICAL_DELETE_BY_PRIMARY_KEY |
static String |
METHOD_LOGICAL_DELETED
逻辑删除查询方法
|
static String |
METHOD_SELECT_BY_PRIMARY_KEY_WITH_LOGICAL_DELETE
selectByPrimaryKey 的逻辑删除增强
|
static String |
PARAMETER_LOGICAL_DELETED
增强selectByPrimaryKey是参数名称
|
static String |
PRO_ENABLE_LOGICAL_DELETE_CONST
是否支持不推荐的常量配置方式
|
static String |
PRO_LOGICAL_DELETE_COLUMN |
static String |
PRO_LOGICAL_DELETE_CONST_NAME
逻辑删除常量
|
static String |
PRO_LOGICAL_DELETE_VALUE |
static String |
PRO_LOGICAL_UN_DELETE_CONST_NAME |
static String |
PRO_LOGICAL_UN_DELETE_VALUE |
commentGenerator, logger, mybatisVersion, PRO_MYBATIS_VERSION, warnings| 构造器和说明 |
|---|
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 |
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 |
modelFieldGenerated(org.mybatis.generator.api.dom.java.Field field,
org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedColumn introspectedColumn,
org.mybatis.generator.api.IntrospectedTable introspectedTable,
org.mybatis.generator.api.Plugin.ModelClassType modelClassType)
具体执行顺序 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
|
setContext, validateclientBasicCountMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicInsertMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicUpdateMethodGenerated, clientCountByExampleMethodGenerated, 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, modelBaseRecordClassGenerated, modelGetterMethodGenerated, modelPrimaryKeyClassGenerated, modelRecordWithBLOBsClassGenerated, modelSetterMethodGenerated, providerApplyWhereMethodGenerated, providerCountByExampleMethodGenerated, providerDeleteByExampleMethodGenerated, providerGenerated, providerInsertSelectiveMethodGenerated, providerSelectByExampleWithBLOBsMethodGenerated, providerSelectByExampleWithoutBLOBsMethodGenerated, providerUpdateByExampleSelectiveMethodGenerated, providerUpdateByExampleWithBLOBsMethodGenerated, providerUpdateByExampleWithoutBLOBsMethodGenerated, providerUpdateByPrimaryKeySelectiveMethodGenerated, 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 static final String PRO_ENABLE_LOGICAL_DELETE_CONST
public static final String PRO_LOGICAL_DELETE_CONST_NAME
public static final String PRO_LOGICAL_UN_DELETE_CONST_NAME
public static final String DEFAULT_LOGICAL_DELETE_NAME
public static final String DEFAULT_LOGICAL_UN_DELETE_NAME
public static final String PARAMETER_LOGICAL_DELETED
public void initialized(org.mybatis.generator.api.IntrospectedTable introspectedTable)
initialized 在接口中 org.mybatis.generator.api.Plugininitialized 在类中 BasePluginintrospectedTable - 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 modelFieldGenerated(org.mybatis.generator.api.dom.java.Field field,
org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
org.mybatis.generator.api.IntrospectedColumn introspectedColumn,
org.mybatis.generator.api.IntrospectedTable introspectedTable,
org.mybatis.generator.api.Plugin.ModelClassType modelClassType)
modelFieldGenerated 在接口中 org.mybatis.generator.api.PluginmodelFieldGenerated 在类中 org.mybatis.generator.api.PluginAdapterfield - topLevelClass - introspectedColumn - introspectedTable - modelClassType - 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 © 2019. All rights reserved.