com.konakartadmin.blif
Interface AdminMultiStoreMgrIf

All Known Implementing Classes:
AdminMultiStoreMgr

public interface AdminMultiStoreMgrIf

AdminMultiStoreMgrIf


Method Summary
 com.konakart.bl.KKCriteria getNewCriteria()
          Gets a new KKCriteria object based on the mode of the engine.
 com.konakart.bl.KKCriteria getNewCriteria(boolean allStores)
          Gets a new KKCriteria object based on the mode of the engine
 AdminStore[] getStores(org.apache.commons.configuration.Configuration kkConfig)
          Get the stores supported by the server.
 AdminStore[] getStores(java.lang.String configFile)
          Get the stores supported by the server.
 

Method Detail

getNewCriteria

com.konakart.bl.KKCriteria getNewCriteria()
Gets a new KKCriteria object based on the mode of the engine. It calls getNewCriteria(boolean allStores) with allStores set to false.

Returns:
Returns a new KKCriteria object based on the mode of the engine

getNewCriteria

com.konakart.bl.KKCriteria getNewCriteria(boolean allStores)
Gets a new KKCriteria object based on the mode of the engine

Parameters:
allStores -
Returns:
Returns a new KKCriteria object based on the mode of the engine

getStores

AdminStore[] getStores(java.lang.String configFile)
                       throws KKAdminException
Get the stores supported by the server. This is a public method that (for MultiStore Multi-DB) always re-reads the properties file so that the admin app can have the latest list, just in case a new store has been added. For Multi-Store Single DB it just returns a list of one admin Store here if we can't get the real list yet because we don't have a torque connection.

Parameters:
configFile - the name of the properties file
Returns:
an array of AdminStore objects
Throws:
KKAdminException

getStores

AdminStore[] getStores(org.apache.commons.configuration.Configuration kkConfig)
Get the stores supported by the server. This is a public method that uses a KonaKart Configuration that has already been read.

Parameters:
kkConfig - A configuration that has already been read
Returns:
an array of AdminStore objects


Copyright © 2011 DS Data Systems UK Ltd.