|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<CollectorPropertyService.AvailabilityStatus> atg.commerce.search.config.CollectorPropertyService.AvailabilityStatus
public static enum CollectorPropertyService.AvailabilityStatus
Stock Availability Status enum of stock statuses that can be returned from the InventoryManager.
Enum Constant Summary | |
---|---|
BACKORDERABLE
|
|
DERIVED
|
|
DISCONTINUED
|
|
IN_STOCK
|
|
OUT_OF_STOCK
|
|
PREORDERABLE
|
|
UNAVAILABLE
|
Method Summary | |
---|---|
static CollectorPropertyService.AvailabilityStatus |
getAvailabilityStatus(int pInventoryManagerStatus)
Maps the constants that the InventoryManager can return to one of the enum values. |
int |
getInventoryManagerStatus()
Maps an AvailabilityStatus enum value to a constant used by the InventoryManager. |
static CollectorPropertyService.AvailabilityStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CollectorPropertyService.AvailabilityStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CollectorPropertyService.AvailabilityStatus UNAVAILABLE
public static final CollectorPropertyService.AvailabilityStatus BACKORDERABLE
public static final CollectorPropertyService.AvailabilityStatus DERIVED
public static final CollectorPropertyService.AvailabilityStatus DISCONTINUED
public static final CollectorPropertyService.AvailabilityStatus IN_STOCK
public static final CollectorPropertyService.AvailabilityStatus OUT_OF_STOCK
public static final CollectorPropertyService.AvailabilityStatus PREORDERABLE
Method Detail |
---|
public static CollectorPropertyService.AvailabilityStatus[] values()
for (CollectorPropertyService.AvailabilityStatus c : CollectorPropertyService.AvailabilityStatus.values()) System.out.println(c);
public static CollectorPropertyService.AvailabilityStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int getInventoryManagerStatus()
public static CollectorPropertyService.AvailabilityStatus getAvailabilityStatus(int pInventoryManagerStatus)
pInventoryManagerStatus
- int constant returned from the InventoryManager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |