public class AdminCopyProductOptions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
copyRelatedProducts
A product may have related products (i.e.
|
private int |
mode
The mode defines what sort of operation is performed.
|
static int |
MODE_COPY_CREATING_NEW_PRODUCT
Insert a new product in the destination store by copying the source product.
|
static int |
MODE_COPY_USING_PRODUCT_TO_STORES
A link is inserted to associate the source product to the destination store.
|
static int |
MODE_MOVE_USING_PRODUCT_TO_STORES
A link is inserted to associate the source product to the destination store.
|
| Constructor and Description |
|---|
AdminCopyProductOptions()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMode()
The mode defines what sort of operation is performed.
|
boolean |
isCopyRelatedProducts()
A product may have related products (i.e.
|
void |
setCopyRelatedProducts(boolean copyRelatedProducts)
A product may have related products (i.e.
|
void |
setMode(int mode)
The mode defines what sort of operation is performed.
|
public static final int MODE_COPY_CREATING_NEW_PRODUCT
public static final int MODE_COPY_USING_PRODUCT_TO_STORES
public static final int MODE_MOVE_USING_PRODUCT_TO_STORES
private int mode
private boolean copyRelatedProducts
public int getMode()
public void setMode(int mode)
mode - the mode to setpublic boolean isCopyRelatedProducts()
public void setCopyRelatedProducts(boolean copyRelatedProducts)
copyRelatedProducts - the copyRelatedProducts to setCopyright © 2018 DS Data Systems UK Ltd.