package com.jwipc.supplier.logic;

import com.jwipc.page.PageView;
import com.jwipc.supplier.dto.SupplierInvitationBaseDTO;
import com.jwipc.supplier.dto.SupplierInvitationSaveDTO;
import com.jwipc.supplier.model.query.SupplierInvitationQuery;

import java.util.List;

/**
 * <p> </p>
 *
 * @author BOGON
 * @version 1.0
 * @since JDK 1.8
 */
public interface SupplierInvitationLogic {
    PageView getList(SupplierInvitationQuery query);

    SupplierInvitationSaveDTO getDetail(Long id);

    List<SupplierInvitationSaveDTO> getListSupplierInvitation(Long supplierId);

    void saveOrUpdate(SupplierInvitationSaveDTO supplierInvitationSaveDTO);

    void updateReviewMethod(Long id, String assessType,String specialRemark);

    String generateUrl(Long supplierId, Long templateId);

    void remove(Long id);

    void forceRemove(Long id);

    void updateTemplate(Long id, Long templateId);

    void agree(Long id, String remark);

    void reject(Long id, String remark);

    void sendEmail(Long id);

    void updateState(Long id);

}