public interface StoreMgrIf
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesStoreExist(java.lang.String storeId)
Return true if the store exists.
|
java.lang.String[] |
getActiveStores()
Get a list of the active stores from the database.
|
Address[] |
getAddressesPerStore(java.lang.String storeId)
Returns all of the addresses for the given store.
|
Store |
getStore()
Returns the store that this KonaKart engine is connected to.
|
Store |
getStoreForId(java.lang.String storeId)
Returns the store referenced by the storeId parameter.
|
java.lang.String[] |
getStores()
Get a list of stores from the database
|
Store |
getStoreStatusById(java.lang.String storeId,
boolean forceRefresh)
Return the status elements of the Store object from the database with the specified storeId.
|
boolean doesStoreExist(java.lang.String storeId)
throws org.apache.torque.TorqueException
storeId - store idorg.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)java.lang.String[] getStores()
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException
org.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)java.lang.String[] getActiveStores()
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException
org.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)Store getStoreStatusById(java.lang.String storeId, boolean forceRefresh) throws com.konakart.app.KKException
forceRefresh is set to true.storeId - the storeId of the Store object to retrieve.forceRefresh - When set, the cached data is refreshed from the databasecom.konakart.app.KKException - an unexpected KKException exceptionStore getStore() throws com.konakart.app.KKException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
com.konakart.app.KKException - an unexpected KKException exceptionorg.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)com.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)Store getStoreForId(java.lang.String storeId) throws java.lang.Exception
storeId - the storeIdjava.lang.Exception - an unexpected exceptionAddress[] getAddressesPerStore(java.lang.String storeId) throws java.lang.Exception
storeId parameter is set to null or no addresses exist.storeId - the storeIdjava.lang.Exception - an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.