org.paneris.bibliomania
Class ShopOrder

java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.paneris.bibliomania.generated.ShopOrderBase
              extended by org.paneris.bibliomania.ShopOrder
All Implemented Interfaces:
java.lang.Cloneable, org.melati.poem.Persistable, org.melati.poem.Persistent, org.melati.poem.Treeable

public class ShopOrder
extends ShopOrderBase


Field Summary
 
Fields inherited from class org.paneris.bibliomania.generated.ShopOrderBase
address, amount, amountUK, comment, country, county, currency, date, delivery, deliveryUK, email, fufilleddate, id, name, postcode, status, tel, town, user
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
ShopOrder()
           
 
Method Summary
 BibliomaniaDatabase getBibliomaniaDatabase()
           
 java.util.Enumeration getItems()
           
 void removeItems()
          Get rid of any previously failed orders and purchases.
 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.
protected  void writeLock()
           
 
Methods inherited from class org.paneris.bibliomania.generated.ShopOrderBase
getAddress_unsafe, getAddress, getAddressField, getAmount_unsafe, getAmount, getAmountField, getAmountUK_unsafe, getAmountUK, getAmountUKField, getBibliomaniaDatabaseTables, getComment_unsafe, getComment, getCommentField, getCountry_unsafe, getCountry, getCountryField, getCountryTroid, getCounty_unsafe, getCounty, getCountyField, getCurrency_unsafe, getCurrency, getCurrencyField, getCurrencyTroid, getDate_unsafe, getDate, getDateField, getDelivery_unsafe, getDelivery, getDeliveryField, getDeliveryUK_unsafe, getDeliveryUK, getDeliveryUKField, getEmail_unsafe, getEmail, getEmailField, getFufilleddate_unsafe, getFufilleddate, getFufilleddateField, getId_unsafe, getId, getIdField, getName_unsafe, getName, getNameField, getPostcode_unsafe, getPostcode, getPostcodeField, getShopOrderTable, getStatus_unsafe, getStatus, getStatusField, getStatusTroid, getTel_unsafe, getTel, getTelField, getTown_unsafe, getTown, getTownField, getUser_unsafe, getUser, getUserField, getUserTroid, setAddress_unsafe, setAddress, setAmount_unsafe, setAmount, setAmount, setAmountUK_unsafe, setAmountUK, setAmountUK, setComment_unsafe, setComment, setCountry_unsafe, setCountry, setCountryTroid, setCounty_unsafe, setCounty, setCurrency_unsafe, setCurrency, setCurrencyTroid, setDate_unsafe, setDate, setDelivery_unsafe, setDelivery, setDelivery, setDeliveryUK_unsafe, setDeliveryUK, setDeliveryUK, setEmail_unsafe, setEmail, setFufilleddate, setId_unsafe, setId, setId, setName_unsafe, setName, setPostcode_unsafe, setPostcode, setStatus_unsafe, setStatusTroid, setTel_unsafe, setTel, setTown_unsafe, setTown, setUser_unsafe, setUser, setUserTroid
 
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
 

Constructor Detail

ShopOrder

public ShopOrder()
Method Detail

getBibliomaniaDatabase

public BibliomaniaDatabase getBibliomaniaDatabase()

getItems

public java.util.Enumeration getItems()

removeItems

public void removeItems()
Get rid of any previously failed orders and purchases.


setStatus

public void setStatus(OrderStatus cooked)
               throws org.melati.poem.AccessPoemException
Description copied from class: ShopOrderBase
Set the Status.

Overrides:
setStatus in class ShopOrderBase
Parameters:
cooked - a validated OrderStatus
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setFufilleddate_unsafe

public void setFufilleddate_unsafe(java.sql.Timestamp cooked)
Description copied from class: ShopOrderBase
Sets the Fufilleddate value directly, without checking, for this ShopOrder Persistent.

Overrides:
setFufilleddate_unsafe in class ShopOrderBase
Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

writeLock

protected void writeLock()
Overrides:
writeLock in class org.melati.poem.JdbcPersistent


Copyright © 2000-2009 PanEris. All Rights Reserved.