package com.bcxin.api.interfaces.tenants;

import com.bcxin.api.interfaces.tenants.requests.externalGroups.ExternalGroupRequest;
import com.bcxin.api.interfaces.tenants.requests.externalGroups.ExternalGroupSearchRequest;
import com.bcxin.api.interfaces.tenants.responses.ExternalGroupResponse;

import java.util.Collection;

public interface ExternalGroupRpcProvider {
    void create(ExternalGroupRequest request);

    void update(String id, ExternalGroupRequest request);

    void delete(String id);

    Collection<ExternalGroupResponse> search(ExternalGroupSearchRequest request);
}
