org.broadleafcommerce.core.store.service
Class StoreServiceImpl

java.lang.Object
  extended by org.broadleafcommerce.core.store.service.StoreServiceImpl
All Implemented Interfaces:
StoreService

@Service(value="blStoreService")
public class StoreServiceImpl
extends Object
implements StoreService


Constructor Summary
StoreServiceImpl()
           
 
Method Summary
 Map<Store,Double> findStoresByAddress(Address searchAddress, double distance)
           
 List<Store> readAllStores()
           
 List<Store> readAllStoresByState(String state)
           
 Store readStoreById(Long id)
           
 Store readStoreByStoreCode(String storeCode)
           
 Store readStoreByStoreName(String storeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreServiceImpl

public StoreServiceImpl()
Method Detail

readStoreById

public Store readStoreById(Long id)
Specified by:
readStoreById in interface StoreService

readStoreByStoreName

public Store readStoreByStoreName(String storeName)
Specified by:
readStoreByStoreName in interface StoreService

readStoreByStoreCode

public Store readStoreByStoreCode(String storeCode)
Specified by:
readStoreByStoreCode in interface StoreService
Returns:

readAllStores

public List<Store> readAllStores()
Specified by:
readAllStores in interface StoreService

readAllStoresByState

public List<Store> readAllStoresByState(String state)
Specified by:
readAllStoresByState in interface StoreService

findStoresByAddress

public Map<Store,Double> findStoresByAddress(Address searchAddress,
                                             double distance)
Specified by:
findStoresByAddress in interface StoreService


Copyright © 2013. All Rights Reserved.