Subversion Repositories SmartDukaan

Rev

Rev 22931 | Rev 35434 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22931 Rev 23568
Line 5... Line 5...
5
import java.util.List;
5
import java.util.List;
6
import java.util.Set;
6
import java.util.Set;
7
 
7
 
8
import javax.servlet.http.HttpServletRequest;
8
import javax.servlet.http.HttpServletRequest;
9
 
9
 
10
import org.slf4j.Logger;
10
import org.apache.logging.log4j.Logger;
11
import org.slf4j.LoggerFactory;
11
import org.apache.logging.log4j.LogManager;
12
import org.springframework.beans.factory.annotation.Autowired;
12
import org.springframework.beans.factory.annotation.Autowired;
13
import org.springframework.http.ResponseEntity;
13
import org.springframework.http.ResponseEntity;
14
import org.springframework.stereotype.Controller;
14
import org.springframework.stereotype.Controller;
15
import org.springframework.transaction.annotation.Transactional;
15
import org.springframework.transaction.annotation.Transactional;
16
import org.springframework.web.bind.annotation.RequestMapping;
16
import org.springframework.web.bind.annotation.RequestMapping;
Line 29... Line 29...
29
public class BrandController {
29
public class BrandController {
30
 
30
 
31
	@Autowired
31
	@Autowired
32
	private ResponseSender<?> responseSender;
32
	private ResponseSender<?> responseSender;
33
	
33
	
34
	private static final Logger LOGGER=LoggerFactory.getLogger(BrandController.class);
34
	private static final Logger LOGGER=LogManager.getLogger(BrandController.class);
35
	
35
	
36
	@Autowired
36
	@Autowired
37
	private BrandRepository brandRepository;
37
	private BrandRepository brandRepository;
38
	
38
	
39
	@RequestMapping(value = ProfitMandiConstants.URL_BRAND_ALL, method=RequestMethod.GET)
39
	@RequestMapping(value = ProfitMandiConstants.URL_BRAND_ALL, method=RequestMethod.GET)