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

com.github.fosin.cdp.mvc.service.ICrudBatchService Maven / Gradle / Ivy

package com.github.fosin.cdp.mvc.service;


import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * 2017/12/29.
 * Time:12:37
 *
 * @author fosin
 */
public interface ICrudBatchService {
    /**
     * 批量创建
     *
     * @param entities
     * @return the saved entity
     */
    Collection createInBatch(Collection entities);

    /**
     * 根据实体集合批量删除
     *
     * @param entities
     */
    void deleteInBatch(Collection entities);

    /**
     * 根据实体集合批量更新
     *
     * @param entities
     * @return the saved entity
     */
    Collection updateInBatch(Collection entities);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy