public class AdminSynchProductsOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
fetchMode
The fetchMode defines what products are returned.
|
static int |
GET_NEW_PRODUCTS
When fetchMode is set to GET_NEW_PRODUCTS, the products returned are those that have never
been copied to the destination store.
|
static int |
GET_OUT_OF_SYNC_PRODUCTS
When getMode is set to GET_OUT_OF_SYNC_PRODUCTS, the products returned are those that exist
in both the source and destination stores but are out of sync.
|
private int |
productId
When not negative it is used as a constraint in the query to only return products with this
product id.
|
private java.lang.String |
sku
When not null it is used as a constraint in the query to only return products with this sku.
|
Constructor and Description |
---|
AdminSynchProductsOptions()
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getFetchMode()
The fetchMode defines what products are returned.
|
int |
getProductId()
When not negative it is used as a constraint in the query to only return products with this
product id.
|
java.lang.String |
getSku()
When not null it is used as a constraint in the query to only return products with this sku.
|
void |
setFetchMode(int fetchMode)
The fetchMode defines what products are returned.
|
void |
setProductId(int productId)
When not negative it is used as a constraint in the query to only return products with this
product id.
|
void |
setSku(java.lang.String sku)
When not null it is used as a constraint in the query to only return products with this sku.
|
public static final int GET_NEW_PRODUCTS
public static final int GET_OUT_OF_SYNC_PRODUCTS
private int fetchMode
private java.lang.String sku
private int productId
public int getFetchMode()
public void setFetchMode(int fetchMode)
fetchMode
- the fetchMode to setpublic java.lang.String getSku()
public void setSku(java.lang.String sku)
sku
- the sku to setpublic int getProductId()
public void setProductId(int productId)
productId
- the productId to setCopyright © 2018 DS Data Systems UK Ltd.