|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.configuration.Configuration
org.torweg.pulse.component.util.admin.EditorConfiguration
org.torweg.pulse.component.util.retailer.admin.RetailerEditorConfiguration
public class RetailerEditorConfiguration
The JAXB-able Configuration of the RetailerEditor.
| Nested Class Summary | |
|---|---|
static class |
RetailerEditorConfiguration.Countries
Configures the countriesAvailable for the RetailerEditor. |
static class |
RetailerEditorConfiguration.Exporter
Configures the exporters for the RetailerEditor. |
static class |
RetailerEditorConfiguration.FilterSizeConfiguration
Configures the filter-sizes per country. |
| Field Summary | |
|---|---|
static int |
DEFAULT_FILTER_SIZE
16. |
| Constructor Summary | |
|---|---|
protected |
RetailerEditorConfiguration()
Default constructor. |
| Method Summary | |
|---|---|
XSLHandle |
getAjaxRetailerXSLHandle()
Returns the (main) XSLHandle for the (single)
retailer-editor. |
RetailerEditorConfiguration.Countries |
getCountries()
Returns the countriesAvailable available for the RetailerEditor. |
AbstractRetailerExporter |
getExporter(java.lang.String extension)
Returns an AbstractRetailerExporter for the given
extension if exists and enabled. |
java.lang.String |
getExportFileName()
Returns the exportFileName. |
java.lang.String |
getLogoFolderPath()
Returns the path to the folder containing the retailer-logos. |
int |
getRetailStoreFilterSize(java.lang.String country)
Returns the size for the BitSet of the retail-store-filter
for the given country. |
int |
getWebShopFilterSize(java.lang.String country)
Returns the size for the BitSet of the
web-shop-filter-filter for the given country. |
boolean |
isExistingExporterForExtension(java.lang.String extension)
Test whether an AbstractRetailerExporter exists for the
given extension and is enabled. |
boolean |
isRequireCustomerNumberCountry(java.lang.String country)
Checks whether Retailer. |
| Methods inherited from class org.torweg.pulse.component.util.admin.EditorConfiguration |
|---|
getAjaxXSLHandle, setAjaxXSLHandle |
| Methods inherited from class org.torweg.pulse.configuration.Configuration |
|---|
getBundle, isBundleConfiguration, isModified, setBundle, setConfigFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_FILTER_SIZE
| Constructor Detail |
|---|
protected RetailerEditorConfiguration()
| Method Detail |
|---|
public final java.lang.String getLogoFolderPath()
public final boolean isRequireCustomerNumberCountry(java.lang.String country)
Retailer.customerNumber is mandatory
for the passed country.
country - the country
true if Retailer.
customerNumber is mandatory for the passed
country, false otherwisepublic final RetailerEditorConfiguration.Countries getCountries()
RetailerEditor.
public final int getRetailStoreFilterSize(java.lang.String country)
BitSet of the retail-store-filter
for the given country.
if the filter is null: RetailerEditorConfiguration.DEFAULT_FILTER_SIZE.
country - the country
public final int getWebShopFilterSize(java.lang.String country)
BitSet of the
web-shop-filter-filter for the given country.
if the filter is null: RetailerEditorConfiguration.DEFAULT_FILTER_SIZE.
country - the country
public final XSLHandle getAjaxRetailerXSLHandle()
XSLHandle for the (single)
retailer-editor.
XSLHandlepublic final java.lang.String getExportFileName()
public final boolean isExistingExporterForExtension(java.lang.String extension)
AbstractRetailerExporter exists for the
given extension and is enabled.
extension - the file-extension
true if an AbstractRetailerExporter
exists for the given extension and is enabled,
false otherwise
public final AbstractRetailerExporter getExporter(java.lang.String extension)
throws PulseException
AbstractRetailerExporter for the given
extension if exists and enabled.
extension - the file-extension
AbstractRetailerExporter for the
given extension if exists and enabled, null
otherwise
PulseException - on errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||