com.github.aidensuen.mongo.common.base.find.FindAllDao Maven / Gradle / Ivy
package com.github.aidensuen.mongo.common.base.find;
import com.github.aidensuen.mongo.annotation.RegisterMongoDao;
import com.github.aidensuen.mongo.annotation.FindProvider;
import com.github.aidensuen.mongo.command.OperationType;
import com.github.aidensuen.mongo.provider.base.BaseFindProvider;
import java.util.List;
/**
* Generic Dao query interface
*
* @param Can not be null
* @author aidensuen
*/
@RegisterMongoDao
public interface FindAllDao {
/**
* Return all results.
*
* @return
*/
@FindProvider(type = BaseFindProvider.class, operationType = OperationType.FIND)
List findAll();
}