package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.dto.system.google.SysGoogleGroupEmailListDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.system.google.SysGoogleGroupEmailAddEntity;
import com.crm.rely.backend.core.entity.system.google.SysGoogleGroupEmailDeleteEntitys;
import com.crm.rely.backend.core.entity.system.google.SysGoogleGroupEmailSearchEntity;
import com.crm.rely.backend.core.entity.system.google.SysGoogleGroupEmailUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface SysGoogleGroupEmailService {

    void add(SysGoogleGroupEmailAddEntity entity) throws ServiceException;

    void delete(SysGoogleGroupEmailDeleteEntitys entitys) throws ServiceException;

    void update(SysGoogleGroupEmailUpdateEntity entity) throws ServiceException;

    ResultWithPagerDto<SysGoogleGroupEmailListDto> searchPageList(SysGoogleGroupEmailSearchEntity entity) throws ServiceException;

    SysGoogleGroupEmailListDto searchSingle(SingleLongEntity entity) throws ServiceException;

    BaseResultDto getAllList(SysGoogleGroupEmailSearchEntity entity) throws ServiceException ;
}
