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.UserRoleDatas;
import cn.ibizlab.r7.runtime.runtimemgr.r7rt_base.filter.*;


public interface UserRoleDatasFeignClient {



	@RequestMapping(method = RequestMethod.POST, value = "/runtimemgr/userroledatas/{userroledatas_id}/save")
    public UserRoleDatas save(@PathVariable("userroledatas_id") String userroledatas_id, @RequestBody UserRoleDatas userroledatas) ;

	@RequestMapping(method = RequestMethod.POST, value = "/runtimemgr/userroledatas")
    public UserRoleDatas create(@RequestBody UserRoleDatas userroledatas) ;

	@RequestMapping(method = RequestMethod.PUT, value = "/runtimemgr/userroledatas/{userroledatas_id}")
    public UserRoleDatas update(@PathVariable("userroledatas_id") String userroledatas_id, @RequestBody UserRoleDatas userroledatas) ;

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

	@RequestMapping(method = RequestMethod.GET, value = "/runtimemgr/userroledatas/{userroledatas_id}")
    public UserRoleDatas get(@PathVariable("userroledatas_id") String userroledatas_id) ;

	@RequestMapping(method = RequestMethod.GET, value = "/runtimemgr/userroledatas/{userroledatas_id}/getdraft")
    public UserRoleDatas getDraft(@PathVariable("userroledatas_id") String userroledatas_id, @RequestBody UserRoleDatas userroledatas) ;

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

    @RequestMapping(method= RequestMethod.GET , value="/runtimemgr/userroledatas/fetchdefault")
	public Page<UserRoleDatas> fetchDefault(UserRoleDatasSearchContext searchContext) ;
}
