All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.aidensuen.mongo.common.base.find.FindAllDao Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy