package cn.ibizlab.r7.runtime.runtimemgr.r7rt_base.feign;

import java.util.List;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.cloud.openfeign.FeignClient;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.r7.runtime.runtimemgr.r7rt_base.domain.UserGroupDetail;
import cn.ibizlab.r7.runtime.runtimemgr.r7rt_base.filter.*;


public interface UserGroupDetailFeignClient {



	@RequestMapping(method = RequestMethod.GET, value = "/runtimemgr/usergroupdetails/{usergroupdetail_id}")
    public UserGroupDetail get(@PathVariable("usergroupdetail_id") String usergroupdetail_id) ;

	@RequestMapping(method = RequestMethod.GET, value = "/runtimemgr/usergroupdetails/{usergroupdetail_id}/getdraft")
    public UserGroupDetail getDraft(@PathVariable("usergroupdetail_id") String usergroupdetail_id, @RequestBody UserGroupDetail usergroupdetail) ;

	@RequestMapping(method = RequestMethod.POST, value = "/runtimemgr/usergroupdetails")
    public UserGroupDetail create(@RequestBody UserGroupDetail usergroupdetail) ;

	@RequestMapping(method = RequestMethod.POST, value = "/runtimemgr/usergroupdetails/{usergroupdetail_id}/save")
    public UserGroupDetail save(@PathVariable("usergroupdetail_id") String usergroupdetail_id, @RequestBody UserGroupDetail usergroupdetail) ;

	@RequestMapping(method = RequestMethod.POST, value = "/runtimemgr/usergroupdetails/checkkey")
    public Boolean checkKey(@RequestBody UserGroupDetail usergroupdetail) ;

	@RequestMapping(method = RequestMethod.PUT, value = "/runtimemgr/usergroupdetails/{usergroupdetail_id}")
    public UserGroupDetail update(@PathVariable("usergroupdetail_id") String usergroupdetail_id, @RequestBody UserGroupDetail usergroupdetail) ;

	@RequestMapping(method = RequestMethod.DELETE, value = "/runtimemgr/usergroupdetails/{usergroupdetail_id}")
    public Boolean remove(@PathVariable("usergroupdetail_id") String usergroupdetail_id) ;

    @RequestMapping(method= RequestMethod.GET , value="/runtimemgr/usergroupdetails/fetchdefault")
	public Page<UserGroupDetail> fetchDefault(UserGroupDetailSearchContext searchContext) ;
}
