package com.wecloud.im.biz.module.message.service;

import com.wecloud.im.biz.module.message.controller.param.ImIosApnsQueryVo;
import com.wecloud.im.biz.module.message.entity.ImIosApns;
import com.wecloud.im.core.common.service.BaseService;

/**
 * apns配置表 服务类
 *
 * @author wei
 * @since 2021-09-18
 */
public interface ImIosApnsService extends BaseService<ImIosApns> {

    /**
     * 保存
     *
     * @param imIosApns
     * @return
     * @throws Exception
     */
    boolean saveImIosApns(ImIosApns imIosApns) throws Exception;

    /**
     * 修改
     *
     * @param imIosApns
     * @return
     * @throws Exception
     */
    boolean updateImIosApns(ImIosApns imIosApns) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteImIosApns(Long id) throws Exception;

    /**
     * 根据ID获取查询对象
     *
     * @param id
     * @return
     * @throws Exception
     */
    ImIosApnsQueryVo getImIosApnsById(Long id) throws Exception;

    ImIosApns getImIosApnsByAppId(Long appId);


    /**
     * 获取分页对象
     *
     * @param imIosApnsPageParam
     * @return
     * @throws Exception
     */
//        Paging<ImIosApnsQueryVo> getImIosApnsPageList(ImIosApnsPageParam imIosApnsPageParam) throws Exception;

}
