public class AdminInsertCatalogPriceOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
insertKKEvent
insertKKEvent - When set, an event is generated for each product so that it is removed from
the cache and fetched again from the database in order to retrieve the new price.
|
private boolean |
refreshSearchEngine
When set to "true" the Solr search engine will be reloaded after the prices have been
inserted.
|
private boolean |
singleTransaction
singleTransaction - When set to true, the prices are inserted within a single database
transaction and a rollback is performed if an exception is caught.
|
Constructor and Description |
---|
AdminInsertCatalogPriceOptions()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
isInsertKKEvent()
When set, an event is generated for each product so that it is removed from the cache and
fetched again from the database in order to retrieve the new price.
|
boolean |
isRefreshSearchEngine() |
boolean |
isSingleTransaction()
When set to true, the prices are inserted within a single database transaction and a rollback
is performed if an exception is caught.
|
void |
setInsertKKEvent(boolean insertKKEvent)
When set, an event is generated for each product so that it is removed from the cache and
fetched again from the database in order to retrieve the new price.
|
void |
setRefreshSearchEngine(boolean refreshSearchEngine) |
void |
setSingleTransaction(boolean singleTransaction)
When set to true, the prices are inserted within a single database transaction and a rollback
is performed if an exception is caught.
|
private boolean singleTransaction
private boolean insertKKEvent
private boolean refreshSearchEngine
public AdminInsertCatalogPriceOptions()
public boolean isSingleTransaction()
public void setSingleTransaction(boolean singleTransaction)
singleTransaction
- the singleTransaction to setpublic boolean isInsertKKEvent()
public void setInsertKKEvent(boolean insertKKEvent)
insertKKEvent
- the insertKKEvent to setpublic boolean isRefreshSearchEngine()
public void setRefreshSearchEngine(boolean refreshSearchEngine)
refreshSearchEngine
- the refreshSearchEngine to setCopyright © 2018 DS Data Systems UK Ltd.