package com.jwipc.supplier.logic;

import com.jwipc.supplier.dto.*;
import com.jwipc.sys.client.dto.ValidationRuleSettingInfoClientDTO;

import java.util.List;

/**
 * <p> </p>
 *
 * @author BOGON
 * @version 1.0
 * @since JDK 1.8
 */
public interface RegisterLogic {
    RegisterPageDTO renderRegisterPage(RegisterParamDTO registerParamDTO);

    RegisterDictDataDTO registerDictData(SupplierRegisterQueryDTO registerQuery);

    void autoSave(RegisterAutoSaveDTO autoSaveDTO);

    String followTableSave(RegisterSaveDTO followTable, Integer step);

    RegisterBaseDTO followTableByTemplate(SupplierRegisterQueryDTO registerQuery);

    void agreement(String id, String version);

    void followTableRemove(Long id, String tableType);

    List<ValidationRuleSettingInfoClientDTO> getFieldValidationList(String templateId, Integer type);
}