|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakartadmin.app.AdminDataIntegrityOptions
public class AdminDataIntegrityOptions
The AdminDataIntegrityOptions is used to define the Data Integrity checking that should be executed.
Field Summary | |
---|---|
private boolean |
attemptRepair
If set to true an attempt is made to fix data integrity problems |
private java.lang.String |
custom
custom field for customer's use |
static int |
DATA_AREA_ALL
KonaKart Data Area - All areas |
static int |
DATA_AREA_CUSTOMER_GROUPS
KonaKart Data Area - Customer Groups |
static int |
DATA_AREA_MISC_ITEM_TYPES
KonaKart Data Area - Miscellaneous Item Types |
static int |
DATA_AREA_NONE
KonaKart Data Area - No areas - not checking done |
static int |
DATA_AREA_ORDER_STATUSES
KonaKart Data Area - Order Statuses |
private int |
dataArea
The data area to check |
Constructor Summary | |
---|---|
AdminDataIntegrityOptions()
Constructor |
Method Summary | |
---|---|
java.lang.String |
getCustom()
|
int |
getDataArea()
|
boolean |
isAttemptRepair()
|
void |
setAttemptRepair(boolean attemptRepair)
|
void |
setCustom(java.lang.String custom)
|
void |
setDataArea(int dataArea)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DATA_AREA_NONE
public static final int DATA_AREA_ALL
public static final int DATA_AREA_CUSTOMER_GROUPS
public static final int DATA_AREA_ORDER_STATUSES
public static final int DATA_AREA_MISC_ITEM_TYPES
private int dataArea
private boolean attemptRepair
private java.lang.String custom
Constructor Detail |
---|
public AdminDataIntegrityOptions()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int getDataArea()
public void setDataArea(int dataArea)
dataArea
- the dataArea to set
One of:
public boolean isAttemptRepair()
public void setAttemptRepair(boolean attemptRepair)
attemptRepair
- Set this to true to attempt a repair of the data. When set to false no repair is
attempted and consequently the data is never changed.public java.lang.String getCustom()
public void setCustom(java.lang.String custom)
custom
- the custom to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |