Subversion Repositories SmartDukaan

Rev

Rev 26842 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
26785 amit.gupta 1
package com.spice.profitmandi.service;
2
 
3
import org.springframework.stereotype.Service;
4
 
5
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
6
import com.spice.profitmandi.dao.entity.fofo.Customer;
7
 
8
@Service
9
public interface CustomerService {
10
	boolean authenticate(String mobile, String passowrd);
11
 
34190 aman.kumar 12
	void resetPassword(String mobileNumber, String newPassword) throws ProfitMandiBusinessException;
26785 amit.gupta 13
 
26817 amit.gupta 14
	Customer addCustomer(Customer customer);
26785 amit.gupta 15
 
34190 aman.kumar 16
	boolean changePassword(String mobileNumber, String oldPassword, String newPassword)
26785 amit.gupta 17
			throws ProfitMandiBusinessException;
18
 
19
}