public class XmlIoDataConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
accessoryProducts |
private boolean |
addressFormats |
private boolean |
audit |
private boolean |
bundledProducts |
private boolean |
categories |
private boolean |
categoriesToTagGroups |
private boolean |
configurationGroups |
private boolean |
configurations |
private boolean |
content |
private boolean |
contentTypes |
private boolean |
countries |
private boolean |
coupons |
private boolean |
crossSellProducts |
private boolean |
currencies |
private boolean |
customerGroups |
private boolean |
customers |
private boolean |
customerTags |
private boolean |
customerTagsForCusts |
private java.util.HashMap<java.lang.String,AdminCustomValidator> |
customValidatorsHash |
private boolean |
dependentProducts |
private boolean |
digitalDownloads |
private boolean |
expressions |
private boolean |
geoZones |
private boolean |
ipnHistory |
private boolean |
languages |
private boolean |
manufacturers |
private boolean |
messages |
private boolean |
orders |
private boolean |
orderStatuses |
private boolean |
productCategories |
private boolean |
productOptions |
private boolean |
productOptionValues |
private boolean |
products |
private boolean |
productsToStores |
private boolean |
productTags |
private boolean |
reviews |
private boolean |
subZones |
private boolean |
tagGroups |
private boolean |
tagGroupToTags |
private boolean |
tags |
private boolean |
taxClasses |
private boolean |
taxRates |
private boolean |
upSellProducts |
private AdminCustomValidatorSet |
validatorSet |
private boolean |
wishLists |
private boolean |
zones |
Constructor and Description |
---|
XmlIoDataConfig() |
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.String,AdminCustomValidator> |
getCustomValidatorsHash() |
private boolean |
getPropValue(org.apache.commons.configuration2.PropertiesConfiguration xmlioConf,
java.lang.String key) |
AdminCustomValidatorSet |
getValidatorSet() |
boolean |
isAccessoryProducts() |
boolean |
isAddressFormats() |
boolean |
isAudit() |
boolean |
isBundledProducts() |
boolean |
isCategories() |
boolean |
isCategoriesToTagGroups() |
boolean |
isConfigurationGroups() |
boolean |
isConfigurations() |
boolean |
isContent() |
boolean |
isContentTypes() |
boolean |
isCountries() |
boolean |
isCoupons() |
boolean |
isCrossSellProducts() |
boolean |
isCurrencies() |
boolean |
isCustomerGroups() |
boolean |
isCustomers() |
boolean |
isCustomerTags() |
boolean |
isCustomerTagsForCusts() |
boolean |
isDependentProducts() |
boolean |
isDigitalDownloads() |
boolean |
isExpressions() |
boolean |
isGeoZones() |
boolean |
isIpnHistory() |
boolean |
isLanguages() |
boolean |
isManufacturers() |
boolean |
isMessages() |
boolean |
isOrders() |
boolean |
isOrderStatuses() |
boolean |
isProductCategories() |
boolean |
isProductOptions() |
boolean |
isProductOptionValues() |
boolean |
isProducts() |
boolean |
isProductsToStores() |
boolean |
isProductTags() |
boolean |
isReviews() |
boolean |
isSubZones() |
boolean |
isTagGroups() |
boolean |
isTagGroupToTags() |
boolean |
isTags() |
boolean |
isTaxClasses() |
boolean |
isTaxRates() |
boolean |
isUpSellProducts() |
boolean |
isWishLists() |
boolean |
isZones() |
void |
setAccessoryProducts(boolean accessoryProducts) |
void |
setAddressFormats(boolean addressFormats) |
void |
setAllFalse()
Convenience method to set all the properties to false
|
void |
setAllProperties(boolean val)
Convenience method to set all the properties to the specified value (true or false)
|
void |
setAllTrue()
Convenience method to set all the properties to true
|
void |
setAudit(boolean audit) |
void |
setBundledProducts(boolean bundledProducts) |
void |
setCategories(boolean categories) |
void |
setCategoriesToTagGroups(boolean categoriesToTagGroups) |
void |
setConfigurationGroups(boolean configurationGroups) |
void |
setConfigurations(boolean configurations) |
void |
setContent(boolean content) |
void |
setContentTypes(boolean contentTypes) |
void |
setCountries(boolean countries) |
void |
setCoupons(boolean coupons) |
void |
setCrossSellProducts(boolean crossSellProducts) |
void |
setCurrencies(boolean currencies) |
void |
setCustomerGroups(boolean customerGroups) |
void |
setCustomers(boolean customers) |
void |
setCustomerTags(boolean customerTags) |
void |
setCustomerTagsForCusts(boolean customerTagsForCusts) |
void |
setCustomValidatorsHash(java.util.HashMap<java.lang.String,AdminCustomValidator> customValidatorsHash) |
void |
setDependentProducts(boolean dependentProducts) |
void |
setDigitalDownloads(boolean digitalDownloads) |
void |
setExpressions(boolean expressions) |
void |
setFromFile(java.lang.String confFile)
Set the data objects to import/export from definitions specified in the specified
configuration file.
|
void |
setGeoZones(boolean geoZones) |
void |
setIpnHistory(boolean ipnHistory) |
void |
setLanguages(boolean languages) |
void |
setManufacturers(boolean manufacturers) |
void |
setMessages(boolean messages) |
void |
setOrders(boolean orders) |
void |
setOrderStatuses(boolean orderStatuses) |
void |
setProductCategories(boolean productCategories) |
void |
setProductOptions(boolean productOptions) |
void |
setProductOptionValues(boolean productOptionValues) |
void |
setProducts(boolean products) |
void |
setProductsToStores(boolean productsToStores) |
void |
setProductTags(boolean productTags) |
void |
setReviews(boolean reviews) |
void |
setSubZones(boolean subZones) |
void |
setTagGroups(boolean tagGroups) |
void |
setTagGroupToTags(boolean tagGroupToTags) |
void |
setTags(boolean tags) |
void |
setTaxClasses(boolean taxClasses) |
void |
setTaxRates(boolean taxRates) |
void |
setUpSellProducts(boolean upSellProducts) |
void |
setValidatorSet(AdminCustomValidatorSet validatorSet) |
void |
setWishlists(boolean wishLists) |
void |
setWishLists(boolean wishLists) |
void |
setZones(boolean zones) |
java.lang.String |
toString() |
private boolean accessoryProducts
private boolean addressFormats
private boolean audit
private boolean bundledProducts
private boolean categories
private boolean categoriesToTagGroups
private boolean configurationGroups
private boolean configurations
private boolean content
private boolean contentTypes
private boolean countries
private boolean coupons
private boolean crossSellProducts
private boolean customerGroups
private boolean currencies
private boolean customers
private boolean customerTags
private boolean customerTagsForCusts
private boolean dependentProducts
private boolean digitalDownloads
private boolean expressions
private boolean geoZones
private boolean ipnHistory
private boolean languages
private boolean manufacturers
private boolean messages
private boolean productOptions
private boolean orderStatuses
private boolean orders
private boolean productCategories
private boolean productOptionValues
private boolean products
private boolean productTags
private boolean productsToStores
private boolean reviews
private boolean subZones
private boolean tagGroups
private boolean tagGroupToTags
private boolean tags
private boolean taxClasses
private boolean taxRates
private boolean upSellProducts
private boolean wishLists
private boolean zones
private AdminCustomValidatorSet validatorSet
private java.util.HashMap<java.lang.String,AdminCustomValidator> customValidatorsHash
public void setFromFile(java.lang.String confFile) throws KKAdminException, com.konakart.app.KKException, org.apache.commons.configuration2.ex.ConfigurationException
confFile
- name of the Xml_io configuration fileKKAdminException
- an unexpected exception in the KonaKart Admin enginecom.konakart.app.KKException
- an unexpected KKException exceptionorg.apache.commons.configuration2.ex.ConfigurationException
- an unexpected ConfigurationException exceptionprivate boolean getPropValue(org.apache.commons.configuration2.PropertiesConfiguration xmlioConf, java.lang.String key)
public java.lang.String toString()
toString
in class java.lang.Object
public void setAllTrue()
public void setAllFalse()
public void setAllProperties(boolean val)
val
- the boolean value to set all the properties to - i.e. true or falsepublic boolean isAccessoryProducts()
public void setAccessoryProducts(boolean accessoryProducts)
accessoryProducts
- the accessoryProducts to setpublic boolean isAudit()
public void setAudit(boolean audit)
audit
- the audit to setpublic boolean isBundledProducts()
public void setBundledProducts(boolean bundledProducts)
bundledProducts
- the bundledProducts to setpublic boolean isCategories()
public void setCategories(boolean categories)
categories
- the categories to setpublic boolean isConfigurationGroups()
public void setConfigurationGroups(boolean configurationGroups)
configurationGroups
- the configurationGroups to setpublic boolean isConfigurations()
public void setConfigurations(boolean configurations)
configurations
- the configurations to setpublic boolean isCountries()
public void setCountries(boolean countries)
countries
- the countries to setpublic boolean isCoupons()
public void setCoupons(boolean coupons)
coupons
- the coupons to setpublic boolean isCrossSellProducts()
public void setCrossSellProducts(boolean crossSellProducts)
crossSellProducts
- the crossSellProducts to setpublic boolean isCustomerGroups()
public void setCustomerGroups(boolean customerGroups)
customerGroups
- the customerGroups to setpublic boolean isCurrencies()
public void setCurrencies(boolean currencies)
currencies
- the currencies to setpublic boolean isCustomers()
public void setCustomers(boolean customers)
customers
- the customers to setpublic boolean isDependentProducts()
public void setDependentProducts(boolean dependentProducts)
dependentProducts
- the dependentProducts to setpublic boolean isGeoZones()
public void setGeoZones(boolean geoZones)
geoZones
- the geoZones to setpublic boolean isIpnHistory()
public void setIpnHistory(boolean ipnHistory)
ipnHistory
- the ipnHistory to setpublic boolean isLanguages()
public void setLanguages(boolean languages)
languages
- the languages to setpublic boolean isManufacturers()
public void setManufacturers(boolean manufacturers)
manufacturers
- the manufacturers to setpublic boolean isProductOptions()
public void setProductOptions(boolean productOptions)
productOptions
- the productOptions to setpublic boolean isProductOptionValues()
public void setProductOptionValues(boolean productOptionValues)
productOptionValues
- the productOptionValues to setpublic boolean isProducts()
public void setProducts(boolean products)
products
- the products to setpublic boolean isReviews()
public void setReviews(boolean reviews)
reviews
- the reviews to setpublic boolean isSubZones()
public void setSubZones(boolean subZones)
subZones
- the subZones to setpublic boolean isTagGroups()
public void setTagGroups(boolean tagGroups)
tagGroups
- the tagGroups to setpublic boolean isTagGroupToTags()
public void setTagGroupToTags(boolean tagGroupToTags)
tagGroupToTags
- the tagGroupToTags to setpublic boolean isTags()
public void setTags(boolean tags)
tags
- the tags to setpublic boolean isTaxClasses()
public void setTaxClasses(boolean taxClasses)
taxClasses
- the taxClasses to setpublic boolean isTaxRates()
public void setTaxRates(boolean taxRates)
taxRates
- the taxRates to setpublic boolean isUpSellProducts()
public void setUpSellProducts(boolean upSellProducts)
upSellProducts
- the upSellProducts to setpublic boolean isZones()
public void setZones(boolean zones)
zones
- the zones to setpublic boolean isAddressFormats()
public void setAddressFormats(boolean addressFormats)
addressFormats
- the addressFormats to setpublic boolean isOrderStatuses()
public void setOrderStatuses(boolean orderStatuses)
orderStatuses
- the orderStatuses to setpublic boolean isProductsToStores()
public void setProductsToStores(boolean productsToStores)
productsToStores
- the productsToStores to setpublic boolean isCategoriesToTagGroups()
public void setCategoriesToTagGroups(boolean categoriesToTagGroups)
categoriesToTagGroups
- the categoriesToTagGroups to setpublic boolean isOrders()
public void setOrders(boolean orders)
orders
- the orders to setpublic boolean isProductCategories()
public void setProductCategories(boolean productCategories)
productCategories
- the productCategories to setpublic boolean isWishLists()
public void setWishlists(boolean wishLists)
wishLists
- the wishlists to setpublic AdminCustomValidatorSet getValidatorSet()
public void setValidatorSet(AdminCustomValidatorSet validatorSet)
validatorSet
- the validatorSet to setpublic java.util.HashMap<java.lang.String,AdminCustomValidator> getCustomValidatorsHash()
public void setCustomValidatorsHash(java.util.HashMap<java.lang.String,AdminCustomValidator> customValidatorsHash)
customValidatorsHash
- the customValidatorsHash to setpublic boolean isExpressions()
public void setExpressions(boolean expressions)
expressions
- the expressions to setpublic void setWishLists(boolean wishLists)
wishLists
- the wishLists to setpublic boolean isCustomerTags()
public void setCustomerTags(boolean customerTags)
customerTags
- the customerTags to setpublic boolean isCustomerTagsForCusts()
public void setCustomerTagsForCusts(boolean customerTagsForCusts)
customerTagsForCusts
- the customerTagsForCusts to setpublic boolean isDigitalDownloads()
public void setDigitalDownloads(boolean digitalDownloads)
digitalDownloads
- the digitalDownloads to setpublic boolean isMessages()
public void setMessages(boolean messages)
messages
- the messages to setpublic boolean isProductTags()
public void setProductTags(boolean productTags)
productTags
- the productTags to setpublic boolean isContent()
public void setContent(boolean content)
content
- the content to setpublic boolean isContentTypes()
public void setContentTypes(boolean contentTypes)
contentTypes
- the contentTypes to setCopyright © 2018 DS Data Systems UK Ltd.