public class LoadProductsToSolr
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
adminEngineClassname |
private static boolean |
categoriesShared |
private static boolean |
customersShared |
private static KKAdminIf |
eng |
private static int |
engineMode |
static org.apache.commons.logging.Log |
log
logger
|
private static java.lang.String |
password |
private static boolean |
productsShared |
(package private) static java.lang.String |
propsFileName |
private static java.lang.String |
storeId |
(package private) static java.lang.String |
usage |
private static java.lang.String |
username |
Constructor and Description |
---|
LoadProductsToSolr() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getAdminEngineClassname() |
private static KKAdminIf |
getAnEng() |
static KKAdminIf |
getEng() |
static int |
getEngineMode() |
static java.lang.String |
getPassword() |
static java.lang.String |
getStoreId() |
static java.lang.String |
getUsername() |
static boolean |
isCategoriesShared() |
static boolean |
isCustomersShared() |
static boolean |
isMultiStoreSingleDB() |
static boolean |
isProductsShared() |
static void |
loadProducts(java.lang.String[] args)
Check the Integrity of the KonaKart Data.
|
static void |
loadProductsIntoSolr()
Load Products Into Solr
|
static void |
main(java.lang.String[] args) |
static void |
setAdminEngineClassname(java.lang.String adminEngineClassname) |
static void |
setCategoriesShared(boolean categoriesShared) |
static void |
setCustomersShared(boolean customersShared) |
static void |
setEng(KKAdminIf eng) |
static void |
setEngineMode(int engineMode) |
static void |
setPassword(java.lang.String password) |
static void |
setProductsShared(boolean productsShared) |
static void |
setStoreId(java.lang.String storeId) |
static void |
setUsername(java.lang.String username) |
public static org.apache.commons.logging.Log log
static final java.lang.String usage
static java.lang.String propsFileName
private static java.lang.String storeId
private static java.lang.String username
private static java.lang.String password
private static java.lang.String adminEngineClassname
private static int engineMode
private static boolean customersShared
private static boolean productsShared
private static boolean categoriesShared
private static KKAdminIf eng
public static void main(java.lang.String[] args)
args
- the argspublic static void loadProducts(java.lang.String[] args)
args
- command line argumentspublic static void loadProductsIntoSolr() throws KKAdminException, org.apache.torque.TorqueException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException, java.lang.reflect.InvocationTargetException
KKAdminException
- an unexpected exception in the KonaKart Admin engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)java.lang.reflect.InvocationTargetException
- an unexpected InvocationTargetException exceptionjava.lang.ClassNotFoundException
- an unexpected ClassNotFoundException exceptionjava.lang.IllegalAccessException
- an unexpected IllegalAccessException exceptionjava.lang.InstantiationException
- an unexpected InstantiationException exceptionjava.lang.IllegalArgumentException
- an unexpected IllegalArgumentException exceptionprivate static KKAdminIf getAnEng() throws KKAdminException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException, java.lang.reflect.InvocationTargetException
KKAdminException
java.lang.IllegalArgumentException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.reflect.InvocationTargetException
public static boolean isMultiStoreSingleDB()
public static boolean isCustomersShared()
public static void setCustomersShared(boolean customersShared)
customersShared
- the customersShared to setpublic static boolean isProductsShared()
public static void setProductsShared(boolean productsShared)
productsShared
- the productsShared to setpublic static java.lang.String getStoreId()
public static void setStoreId(java.lang.String storeId)
storeId
- the storeId to setpublic static java.lang.String getUsername()
public static void setUsername(java.lang.String username)
username
- the username to setpublic static java.lang.String getPassword()
public static void setPassword(java.lang.String password)
password
- the password to setpublic static int getEngineMode()
public static void setEngineMode(int engineMode)
engineMode
- the engineMode to setpublic static java.lang.String getAdminEngineClassname()
public static void setAdminEngineClassname(java.lang.String adminEngineClassname)
adminEngineClassname
- the adminEngineClassname to setpublic static KKAdminIf getEng()
public static void setEng(KKAdminIf eng)
eng
- the eng to setpublic static boolean isCategoriesShared()
public static void setCategoriesShared(boolean categoriesShared)
categoriesShared
- the categoriesShared to setCopyright © 2018 DS Data Systems UK Ltd.