|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.domain.impl.AbstractEpDomainImpl
com.elasticpath.domain.impl.AbstractPersistenceImpl
com.elasticpath.domain.order.impl.OrderNumberGeneratorImpl
public class OrderNumberGeneratorImpl
This is used to track the next available order number.
Notes:
OrderNumberGenerator expects an integer value pre-set in the database and increments it to create new order
numbers.
| Field Summary | |
|---|---|
static long |
serialVersionUID
Serial version id. |
| Fields inherited from interface com.elasticpath.domain.order.OrderNumberGenerator |
|---|
INSTANCE_UIDPK |
| Constructor Summary | |
|---|---|
OrderNumberGeneratorImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getNextOrderNumber()
Get the next available order number and increments it so that each call to this method will return a unique order number. |
| Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl |
|---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
| Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl |
|---|
getElasticPath, setElasticPath |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.elasticpath.domain.Persistence |
|---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
| Methods inherited from interface com.elasticpath.domain.EpDomain |
|---|
getElasticPath, setElasticPath |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public OrderNumberGeneratorImpl()
| Method Detail |
|---|
public java.lang.String getNextOrderNumber()
NextOrderNumber should be persisted after calling this method
getNextOrderNumber in interface OrderNumberGenerator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||