类 LogicalDeletePlugin
- java.lang.Object
-
- org.mybatis.generator.api.PluginAdapter
-
- pro.leaco.mybatis.generator.plugins.utils.BasePlugin
-
- pro.leaco.mybatis.generator.plugins.LogicalDeletePlugin
-
- 所有已实现的接口:
org.mybatis.generator.api.Plugin
public class LogicalDeletePlugin extends BasePlugin
--------------------------------------------------------------------------- 逻辑删除插件 --------------------------------------------------------------------------- ---------------------------------------------------------------------------
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringDEFAULT_LOGICAL_DELETE_NAME逻辑删除标志位名称(默认)static StringDEFAULT_LOGICAL_UN_DELETE_NAMEstatic StringMETHOD_LOGICAL_DELETE_BY_EXAMPLEstatic StringMETHOD_LOGICAL_DELETE_BY_PRIMARY_KEYstatic StringMETHOD_LOGICAL_DELETED逻辑删除查询方法static StringMETHOD_SELECT_BY_PRIMARY_KEY_WITH_LOGICAL_DELETEselectByPrimaryKey 的逻辑删除增强static StringPARAMETER_LOGICAL_DELETED增强selectByPrimaryKey是参数名称static StringPRO_ENABLE_LOGICAL_DELETE_CONST是否支持不推荐的常量配置方式static StringPRO_LOGICAL_DELETE_COLUMNstatic StringPRO_LOGICAL_DELETE_CONST_NAME逻辑删除常量static StringPRO_LOGICAL_DELETE_VALUEstatic StringPRO_LOGICAL_UN_DELETE_CONST_NAMEstatic StringPRO_LOGICAL_UN_DELETE_VALUE-
从类继承的字段 pro.leaco.mybatis.generator.plugins.utils.BasePlugin
commentGenerator, logger, mybatisVersion, PRO_MYBATIS_VERSION, warnings
-
-
构造器概要
构造器 构造器 说明 LogicalDeletePlugin()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanclientGenerated(org.mybatis.generator.api.dom.java.Interface interfaze, org.mybatis.generator.api.IntrospectedTable introspectedTable)Java Client Methods 生成 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.htmlvoidinitialized(org.mybatis.generator.api.IntrospectedTable introspectedTable)初始化阶段 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.htmlbooleanmodelExampleClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable)ModelExample Methods 生成 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.htmlbooleanmodelFieldGenerated(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.htmlbooleansqlMapDocumentGenerated(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-
从类继承的方法 pro.leaco.mybatis.generator.plugins.utils.BasePlugin
setContext, validate
-
从类继承的方法 org.mybatis.generator.api.PluginAdapter
clientBasicCountMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicInsertMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicInsertMultipleMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicUpdateMethodGenerated, clientCountByExampleMethodGenerated, clientDeleteByExampleMethodGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientGeneralCountMethodGenerated, clientGeneralDeleteMethodGenerated, clientGeneralSelectDistinctMethodGenerated, clientGeneralSelectMethodGenerated, clientGeneralUpdateMethodGenerated, clientInsertMethodGenerated, clientInsertMultipleMethodGenerated, clientInsertSelectiveMethodGenerated, clientSelectAllMethodGenerated, clientSelectByExampleWithBLOBsMethodGenerated, clientSelectByExampleWithoutBLOBsMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectListFieldGenerated, clientSelectOneMethodGenerated, clientUpdateAllColumnsMethodGenerated, clientUpdateByExampleSelectiveMethodGenerated, clientUpdateByExampleWithBLOBsMethodGenerated, clientUpdateByExampleWithoutBLOBsMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateByPrimaryKeyWithBLOBsMethodGenerated, clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated, clientUpdateSelectiveColumnsMethodGenerated, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalXmlFiles, contextGenerateAdditionalXmlFiles, dynamicSqlSupportGenerated, 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, sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.mybatis.generator.api.Plugin
clientBasicCountMethodGenerated, 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, mapperGenerated
-
-
-
-
字段详细资料
-
METHOD_LOGICAL_DELETE_BY_EXAMPLE
public static final String METHOD_LOGICAL_DELETE_BY_EXAMPLE
- 另请参阅:
- 常量字段值
-
METHOD_LOGICAL_DELETE_BY_PRIMARY_KEY
public static final String METHOD_LOGICAL_DELETE_BY_PRIMARY_KEY
- 另请参阅:
- 常量字段值
-
PRO_ENABLE_LOGICAL_DELETE_CONST
public static final String PRO_ENABLE_LOGICAL_DELETE_CONST
是否支持不推荐的常量配置方式- 另请参阅:
- 常量字段值
-
PRO_LOGICAL_DELETE_CONST_NAME
public static final String PRO_LOGICAL_DELETE_CONST_NAME
逻辑删除常量- 另请参阅:
- 常量字段值
-
PRO_LOGICAL_UN_DELETE_CONST_NAME
public static final String PRO_LOGICAL_UN_DELETE_CONST_NAME
- 另请参阅:
- 常量字段值
-
DEFAULT_LOGICAL_DELETE_NAME
public static final String DEFAULT_LOGICAL_DELETE_NAME
逻辑删除标志位名称(默认)- 另请参阅:
- 常量字段值
-
DEFAULT_LOGICAL_UN_DELETE_NAME
public static final String DEFAULT_LOGICAL_UN_DELETE_NAME
- 另请参阅:
- 常量字段值
-
PARAMETER_LOGICAL_DELETED
public static final String PARAMETER_LOGICAL_DELETED
增强selectByPrimaryKey是参数名称- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
initialized
public void initialized(org.mybatis.generator.api.IntrospectedTable introspectedTable)
初始化阶段 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html- 指定者:
initialized在接口中org.mybatis.generator.api.Plugin- 覆盖:
initialized在类中BasePlugin- 参数:
introspectedTable-
-
clientGenerated
public boolean clientGenerated(org.mybatis.generator.api.dom.java.Interface interfaze, org.mybatis.generator.api.IntrospectedTable introspectedTable)Java Client Methods 生成 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html- 指定者:
clientGenerated在接口中org.mybatis.generator.api.Plugin- 覆盖:
clientGenerated在类中org.mybatis.generator.api.PluginAdapter- 参数:
interfaze-introspectedTable-- 返回:
-
sqlMapDocumentGenerated
public 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- 指定者:
sqlMapDocumentGenerated在接口中org.mybatis.generator.api.Plugin- 覆盖:
sqlMapDocumentGenerated在类中org.mybatis.generator.api.PluginAdapter- 参数:
document-introspectedTable-- 返回:
-
modelFieldGenerated
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)具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html- 指定者:
modelFieldGenerated在接口中org.mybatis.generator.api.Plugin- 覆盖:
modelFieldGenerated在类中org.mybatis.generator.api.PluginAdapter- 参数:
field-topLevelClass-introspectedColumn-introspectedTable-modelClassType-- 返回:
-
modelExampleClassGenerated
public 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- 指定者:
modelExampleClassGenerated在接口中org.mybatis.generator.api.Plugin- 覆盖:
modelExampleClassGenerated在类中org.mybatis.generator.api.PluginAdapter- 参数:
topLevelClass-introspectedTable-- 返回:
-
-