package com.sinosig.web.external.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 com.sinosig.web.external.domain.JQXBJ;
import com.sinosig.web.external.filter.*;


public interface JQXBJFeignClient {



	@RequestMapping(method = RequestMethod.PUT, value = "/web/jqxbjs/{jqxbj_id}")
    public JQXBJ update(@PathVariable("jqxbj_id") String jqxbj_id, @RequestBody JQXBJ jqxbj) ;

	@RequestMapping(method = RequestMethod.GET, value = "/web/jqxbjs/{jqxbj_id}")
    public JQXBJ get(@PathVariable("jqxbj_id") String jqxbj_id) ;

	@RequestMapping(method = RequestMethod.DELETE, value = "/web/jqxbjs/{jqxbj_id}")
    public Boolean remove(@PathVariable("jqxbj_id") String jqxbj_id) ;

	@RequestMapping(method = RequestMethod.POST, value = "/web/jqxbjs/{jqxbj_id}/save")
    public JQXBJ save(@PathVariable("jqxbj_id") String jqxbj_id, @RequestBody JQXBJ jqxbj) ;

	@RequestMapping(method = RequestMethod.POST, value = "/web/jqxbjs")
    public JQXBJ create(@RequestBody JQXBJ jqxbj) ;

	@RequestMapping(method = RequestMethod.POST, value = "/web/jqxbjs/checkkey")
    public Boolean checkKey(@RequestBody JQXBJ jqxbj) ;

	@RequestMapping(method = RequestMethod.GET, value = "/web/jqxbjs/{jqxbj_id}/getdraft")
    public JQXBJ getDraft(@PathVariable("jqxbj_id") String jqxbj_id, @RequestBody JQXBJ jqxbj) ;

    @RequestMapping(method= RequestMethod.GET , value="/web/jqxbjs/fetchdefault")
	public Page<JQXBJ> fetchDefault(JQXBJSearchContext searchContext) ;
}
