Subversion Repositories SmartDukaan

Rev

Rev 37652 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37652 Rev 37822
Line 1... Line 1...
1
package com.spice.profitmandi.service;
1
package com.spice.profitmandi.service;
2
 
2
 
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
4
import com.spice.profitmandi.common.model.CustomRetailer;
4
import com.spice.profitmandi.common.model.CustomRetailer;
-
 
5
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
5
import org.springframework.stereotype.Service;
6
import org.springframework.stereotype.Service;
6
 
7
 
7
@Service
8
@Service
8
public interface SellerService {
9
public interface SellerService {
9
 
10
 
Line 12... Line 13...
12
	/**
13
	/**
13
	 * Realign every active INTERNAL store on this warehouse with the warehouse's own address.
14
	 * Realign every active INTERNAL store on this warehouse with the warehouse's own address.
14
	 * Returns how many stores were updated.
15
	 * Returns how many stores were updated.
15
	 */
16
	 */
16
	int syncInternalStoreAddresses(int warehouseId) throws ProfitMandiBusinessException;
17
	int syncInternalStoreAddresses(int warehouseId) throws ProfitMandiBusinessException;
-
 
18
 
-
 
19
	/**
-
 
20
	 * Realign one INTERNAL store with the address of the warehouse it is on - used when a store is moved.
-
 
21
	 */
-
 
22
	void syncInternalStoreAddress(FofoStore store) throws ProfitMandiBusinessException;
17
}
23
}