|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.order.RestorableOrders
public class RestorableOrders
This class represents the set of orders which can be restored through session backup. The orders are collected from the session-scoped OrderHolder object. This class is exposed as a property of the OrderHolder. When the OrderHolder is restored after session backup recovery, the serialized orders contained in this class are placed into the OrderHolder. The class optimizes the serialization by only sending order ids for persistent orders
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
RestorableOrders(OrderHolder pHolder,
RepositoryItem pProfile)
Constructs an instanceof RestorableOrders |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object pObject)
Returns true if the current and saved orders are the equal |
Order |
getCurrent()
Returns the current order from the OrderHolder, if the order is not empty. |
java.lang.String |
getProfileId()
Returns property ProfileId |
java.util.Collection |
getSaved()
Returns the saved list of orders from the OrderHolder, if the saved list is not empty. |
void |
setCurrent(Order pCurrent)
Sets property Current |
void |
setProfileId(java.lang.String pProfileId)
Sets property ProfileId |
void |
setSaved(java.util.Collection pSaved)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public RestorableOrders(OrderHolder pHolder, RepositoryItem pProfile)
Method Detail |
---|
public void setProfileId(java.lang.String pProfileId)
public java.lang.String getProfileId()
public void setCurrent(Order pCurrent)
public Order getCurrent()
public void setSaved(java.util.Collection pSaved)
public java.util.Collection getSaved()
public boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |