|
||||||||||
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.StockTransactionBase org.paneris.jammyjoes.model.StockTransaction
public class StockTransaction
Field Summary |
---|
Fields inherited from class org.paneris.jammyjoes.model.generated.StockTransactionBase |
---|
comment, costprice, date, id, product, quantity, retailpriceincvat, type, vatexempt |
Fields inherited from class org.melati.poem.transaction.Transactioned |
---|
valid |
Constructor Summary | |
---|---|
StockTransaction()
|
Method Summary | |
---|---|
void |
delete(java.util.Map map)
|
void |
setDate(java.sql.Date cooked)
Sets the Date value, with checking, for this
StockTransaction Persistent . |
void |
setProductTroid(java.lang.Integer raw)
Sets the Table Row Object ID. |
void |
setQuantity(java.lang.Integer cooked)
Sets the Quantity value, with checking, for this
StockTransaction Persistent . |
void |
setThisProductQuantity(int q)
|
void |
setTypeTroid(java.lang.Integer raw)
Sets the Table Row Object ID. |
Methods inherited from class org.melati.poem.JdbcPersistent |
---|
assertCanCreate, assertCanCreate, assertCanDelete, assertCanDelete, assertCanRead, assertCanRead, assertCanWrite, assertCanWrite, clone, commit, countMatchSQL, delete_unsafe, 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, getName, 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, 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 |
---|
public StockTransaction()
Method Detail |
---|
public void setDate(java.sql.Date cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
StockTransactionBase
Date
value, with checking, for this
StockTransaction
Persistent
.
Field description:
Leave blank for today's date
setDate
in class StockTransactionBase
cooked
- a validated int
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException
- if the value is not validpublic final void delete(java.util.Map map) throws org.melati.poem.AccessPoemException, org.melati.poem.DeletionIntegrityPoemException
delete
in interface org.melati.poem.Persistent
delete
in class org.melati.poem.JdbcPersistent
org.melati.poem.AccessPoemException
org.melati.poem.DeletionIntegrityPoemException
public void setThisProductQuantity(int q)
public void setQuantity(java.lang.Integer cooked) throws org.melati.poem.AccessPoemException, org.melati.poem.ValidationPoemException
StockTransactionBase
Quantity
value, with checking, for this
StockTransaction
Persistent
.
setQuantity
in class StockTransactionBase
cooked
- a validated int
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
org.melati.poem.ValidationPoemException
- if the value is not validpublic void setTypeTroid(java.lang.Integer raw) throws org.melati.poem.AccessPoemException
StockTransactionBase
setTypeTroid
in class StockTransactionBase
raw
- a Table Row Object Id
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setProductTroid(java.lang.Integer raw) throws org.melati.poem.AccessPoemException
StockTransactionBase
setProductTroid
in class StockTransactionBase
raw
- a Table Row Object Id
org.melati.poem.AccessPoemException
- if the current AccessToken
does not confer write access rights
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |