package com.yolo.keyboard.service.themes;

import java.util.*;

import com.yolo.keyboard.controller.admin.themes.vo.KeyboardThemesPageReqVO;
import com.yolo.keyboard.controller.admin.themes.vo.KeyboardThemesSaveReqVO;
import com.yolo.keyboard.dal.dataobject.themes.KeyboardThemesDO;
import jakarta.validation.*;

import com.yolo.keyboard.framework.common.pojo.PageResult;
import com.yolo.keyboard.framework.common.pojo.PageParam;

/**
 * 键盘皮肤 Service 接口
 *
 * @author ziin
 */
public interface KeyboardThemesService {

    /**
     * 创建键盘皮肤
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createThemes(@Valid KeyboardThemesSaveReqVO createReqVO);

    /**
     * 更新键盘皮肤
     *
     * @param updateReqVO 更新信息
     */
    void updateThemes(@Valid KeyboardThemesSaveReqVO updateReqVO);

    /**
     * 删除键盘皮肤
     *
     * @param id 编号
     */
    void deleteThemes(Long id);

    /**
    * 批量删除键盘皮肤
    *
    * @param ids 编号
    */
    void deleteThemesListByIds(List<Long> ids);

    /**
     * 获得键盘皮肤
     *
     * @param id 编号
     * @return 键盘皮肤
     */
    KeyboardThemesDO getThemes(Long id);

    /**
     * 获得键盘皮肤分页
     *
     * @param pageReqVO 分页查询
     * @return 键盘皮肤分页
     */
    PageResult<KeyboardThemesDO> getThemesPage(KeyboardThemesPageReqVO pageReqVO);

}