|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakartadmin.app.AdminCopyProductOptions
public class AdminCopyProductOptions
An object used to define options used when calling CopyProduct API calls
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
AdminCopyProductOptions()
Constructor |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public AdminCopyProductOptions()
| Method Detail |
|---|
public int getMode()
public void setMode(int mode)
mode - the mode to setpublic boolean isCopyRelatedProducts()
public void setCopyRelatedProducts(boolean copyRelatedProducts)
copyRelatedProducts - the copyRelatedProducts to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||