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

group.rober.dataform.handler.DataOneHandler Maven / Gradle / Ivy

package group.rober.dataform.handler;

import group.rober.dataform.model.DataForm;
import group.rober.dataform.validator.ValidateResult;

import java.util.Map;

/**
 * 单一记录的查询,保存处理
 * Created by tisir on 2017-05-29
 */
public interface DataOneHandler extends DataObjectHandler {


    T createDataObject(DataForm dataForm);


    T query(DataForm dataForm, Map queryParameters);


    int insert(DataForm dataForm, T object);


    int update(DataForm dataForm, T object);


    int save(DataForm dataForm, T object);


    int delete(DataForm dataForm,T object);


    ValidateResult validate(DataForm dataForm, T object);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy