Class Auction
Object
|
+--GrvObject
|
+--EDO
|
+--ALEDO
|
+--Auction
- class
Auction
- extends ALEDO
This class encapsulates an Auction record.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:
Defined in aimauctions.js
|
Method Summary |
String
|
canCreate(<boolean> appendFlag)
Is it legal to create a new one of "this/these"?
|
boolean
|
canUncreate(<boolean> appendFlag)
If created, can we undo creation?
|
Auction
|
clone()
return a clone of this object
|
boolean
|
hasDuplicateBSID()
verify uniqueness of Auction ID (as best we can)
|
void
|
konstructor( propArray, <String> editDate, <String> editUser, <int> theKey, <AuctionModel> holder, <int> itemcount, <int> optEditStatus, <String> optName )
|
String
|
nextState()
return the current auction phase or null if in an illegal state
|
String
|
validateBSID()
custom validation method to verify uniqueness of auction ID
|
String
|
validateDate( dateID )
custom validation method to verify legality of a phase date
|
<static> Auction
|
Factory(index,holder)
Static factory method to generate blank Auction
|
| Methods inherited from class EDO |
pushEncodedValues, pushValues, makeReadOnly, propValues, edoToolTip, isValid, dump, buildUpdateItemPost, pushPosts, getEditRule, setValidity, getValidity, deleteMe, undeleteMe, addMe, isNew, isDeleted, inEdit, canEdit, editMe, uneditMe, collapse, expand, isExpanded, canToggleExpand, toggleExpand, isActive, inLimbo, isViewable, state, action
|
EditRules
<static> Object EditRules
Properties
<static> Object Properties
States
<static> Object States
UpdateID
<static> Object UpdateID
Auction
Auction()
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:
canCreate
String canCreate(<boolean> appendFlag)
Is it legal to create a new one of "this/these"?
Parameters:
appendFlag - if true then append else insert
canUncreate
boolean canUncreate(<boolean> appendFlag)
If created, can we undo creation?
Parameters:
appendFlag - if true then append else insert
clone
Auction clone()
return a clone of this object
hasDuplicateBSID
boolean hasDuplicateBSID()
verify uniqueness of Auction ID (as best we can)
Returns:
true iff our auction ID duplicates any in parent auction summary list
konstructor
void konstructor( propArray, <String> editDate, <String> editUser, <int> theKey, <AuctionModel> holder, <int> itemcount, <int> optEditStatus, <String> optName )
Parameters:
editDate - date of last edit
editUser - ID of last user to edit
theKey - unique key of this record
holder - parent EDOHolderModel
itemcount - how many Items are linked to this
optEditStatus - optional edit status
optName - optional name of this instance
array - of editable property values in same order as .Properties
nextState
String nextState()
return the current auction phase or null if in an illegal state
validateBSID
String validateBSID()
custom validation method to verify uniqueness of auction ID
Returns:
error message or null if no error
validateDate
String validateDate( dateID )
custom validation method to verify legality of a phase date
Returns:
error message or null if no error
Factory
<static> Auction Factory(index,holder)
Static factory method to generate blank Auction
Documentation generated by
JSDoc on Sun Feb 11 13:31:42 2007