com.viiyue.plugins.mybatis.mapper.Mapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-mapper Show documentation
Show all versions of mybatis-mapper Show documentation
Mybatis generic mapper plugin for solving most basic operations,
simplifying sql syntax and improving dynamic execution efficiency
/**
* Copyright (C) 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.viiyue.plugins.mybatis.mapper;
import java.io.Serializable;
import com.viiyue.plugins.mybatis.mapper.special.AggregateFunctionMapper;
import com.viiyue.plugins.mybatis.mapper.special.ForUpdateMapper;
import com.viiyue.plugins.mybatis.mapper.special.LogicallyDeleteMapper;
import com.viiyue.plugins.mybatis.mapper.special.RecycleBinMapper;
/**
*
* Basic mapper interface definition with special pessimistic locking operations
* and logically deletion interfaces.
*
*
* Added {@link ForUpdateMapper}, {@link LogicallyDeleteMapper}, and
* {@link RecycleBinMapper} interfaces since 1.1.0
*
*
* BASE
{@link BaseMapper} - Basic mapper interface
* U
{@link ForUpdateMapper} - Pessimistic lock interface
* U
{@link LogicallyDeleteMapper} - Logical delete interface
* U
{@link RecycleBinMapper} - Recycle Bin interface for recovering logically deleted data
*
*
*
* Note: Each api interface can be inherited independently
*
* @author tangxbai
* @since 1.1.0
*
* @param database entity type
* @param query data return entity type
* @param primary key type, must be a {@link Serializable} implementation class.
*/
public interface Mapper
extends Marker,
BaseMapper,
ForUpdateMapper,
LogicallyDeleteMapper,
RecycleBinMapper,
AggregateFunctionMapper {
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy