package com.bio.bio_backend.domain.base.authgroupresource.service;

import com.bio.bio_backend.domain.base.authgroupresource.dto.AuthGroupResourceDto;
import java.util.List;

public interface AuthGroupResourceService {
    AuthGroupResourceDto create(AuthGroupResourceDto dto);

    AuthGroupResourceDto getById(Long id);

    List<AuthGroupResourceDto> getAll();

    AuthGroupResourceDto update(Long id, AuthGroupResourceDto dto);

    void delete(Long id);

    /**
     * 특정 authGroupOid의 기존 매핑을 모두 삭제하고, 전달된 resourceOid 목록으로 재등록
     */
    void replaceAuthGroupResources(Long authGroupOid, List<Long> resourceOids);
}
