|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakartadmin.app.AdminSynchProductsOptions
public class AdminSynchProductsOptions
An object used to define options used when synchronizing products between stores
Field Summary | |
---|---|
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 Summary | |
---|---|
AdminSynchProductsOptions()
Constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public AdminSynchProductsOptions()
Method Detail |
---|
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 set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |