类 LogicalDeletePlugin

  • 所有已实现的接口:
    org.mybatis.generator.api.Plugin

    public class LogicalDeletePlugin
    extends BasePlugin
    --------------------------------------------------------------------------- 逻辑删除插件 --------------------------------------------------------------------------- ---------------------------------------------------------------------------
    • 嵌套类概要

      • 从接口继承的嵌套类/接口 org.mybatis.generator.api.Plugin

        org.mybatis.generator.api.Plugin.ModelClassType
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      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
      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
      • 从类继承的方法 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
      • 从接口继承的方法 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_LOGICAL_DELETE_COLUMN

        public static final String PRO_LOGICAL_DELETE_COLUMN
        另请参阅:
        常量字段值
      • PRO_LOGICAL_DELETE_VALUE

        public static final String PRO_LOGICAL_DELETE_VALUE
        另请参阅:
        常量字段值
      • PRO_LOGICAL_UN_DELETE_VALUE

        public static final String PRO_LOGICAL_UN_DELETE_VALUE
        另请参阅:
        常量字段值
      • 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
        另请参阅:
        常量字段值
      • METHOD_LOGICAL_DELETED

        public static final String METHOD_LOGICAL_DELETED
        逻辑删除查询方法
        另请参阅:
        常量字段值
      • PARAMETER_LOGICAL_DELETED

        public static final String PARAMETER_LOGICAL_DELETED
        增强selectByPrimaryKey是参数名称
        另请参阅:
        常量字段值
      • METHOD_SELECT_BY_PRIMARY_KEY_WITH_LOGICAL_DELETE

        public static final String METHOD_SELECT_BY_PRIMARY_KEY_WITH_LOGICAL_DELETE
        selectByPrimaryKey 的逻辑删除增强
        另请参阅:
        常量字段值
    • 构造器详细资料

      • LogicalDeletePlugin

        public LogicalDeletePlugin()
    • 方法详细资料

      • 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 -
        返回: