|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.transaction.Transactioned org.melati.poem.JdbcPersistent org.paneris.jammyjoes.model.generated.ShopOrderBase org.paneris.jammyjoes.model.ShopOrder
public class ShopOrder
Field Summary |
---|
Fields inherited from class org.paneris.jammyjoes.model.generated.ShopOrderBase |
---|
address, affiliate, affiliatepaid, alert, amount, amountUK, comission, comment, country, currency, customerComment, date, delivery, deliveryName, deliveryUK, email, fufilleddate, id, message, name, operator, postcode, spam, status, tel, town, type, user, wrapping, zone |
Fields inherited from class org.melati.poem.transaction.Transactioned |
---|
valid |
Constructor Summary | |
---|---|
ShopOrder()
|
Method Summary | |
---|---|
double |
getAmountForGraph()
|
double |
getComissionAmount()
|
boolean |
getHasWrapping()
|
java.util.Enumeration |
getItems()
|
double |
getWrappingAmount()
|
boolean |
hasStatus(java.util.List statuses)
|
void |
removeItems()
|
void |
setFufilleddate_unsafe(java.sql.Timestamp cooked)
Sets the Fufilleddate value directly, without checking,
for this ShopOrder Persistent . |
void |
setStatus(OrderStatus cooked)
Set the Status. |
void |
total(AffiliateTotals totals)
|
protected void |
writeLock()
|
Methods inherited from class org.melati.poem.JdbcPersistent |
---|
assertCanCreate, assertCanCreate, assertCanDelete, assertCanDelete, assertCanRead, assertCanRead, assertCanWrite, assertCanWrite, clone, commit, countMatchSQL, delete_unsafe, delete, delete, deleteAndCommit, deleteAndCommit, deleteLock, displayString, displayString, displayString, dump, dump, duplicated, duplicatedFloating, equals, existenceLock, existenceLock, fieldsOfColumns, fromClause, getCanDelete, getCanRead, getCanSelect, getCanWrite, getChildren, getCooked, getCookedString, getDatabase, getDetailDisplayFields, getField, getFields, getPrimaryDisplayField, getRaw, getRawString, getReadable, getRecordDisplayFields, getSearchCriterionFields, getSummaryDisplayFields, getTable, getTroid, hashCode, invalidate, isDirty, load, makePersistent, postEdit, postInsert, postModify, postWrite, preEdit, readLock, readLock, readLock, rollback, setCooked, setDirty, setRaw, setRawString, statusExistent, statusNonexistent, toString, troid, upToDate, writeDown, writeLock, writeLock |
Methods inherited from class org.melati.poem.transaction.Transactioned |
---|
markValid, reset, setTransactionPool, transactionPool, unSee |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.paneris.jammyjoes.model.Graphable |
---|
getDate |
Constructor Detail |
---|
public ShopOrder()
Method Detail |
---|
public void total(AffiliateTotals totals)
total
in interface Graphable
public double getComissionAmount()
public double getWrappingAmount()
public boolean getHasWrapping()
public double getAmountForGraph()
getAmountForGraph
in interface Graphable
public java.util.Enumeration getItems()
public boolean hasStatus(java.util.List statuses)
public void removeItems()
protected void writeLock()
writeLock
in class org.melati.poem.JdbcPersistent
public void setStatus(OrderStatus cooked) throws org.melati.poem.AccessPoemException
ShopOrderBase
setStatus
in class ShopOrderBase
cooked
- a validated OrderStatus
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setFufilleddate_unsafe(java.sql.Timestamp cooked)
ShopOrderBase
Fufilleddate
value directly, without checking,
for this ShopOrder Persistent
.
setFufilleddate_unsafe
in class ShopOrderBase
cooked
- the pre-validated value to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |