Class Lot
Object
|
+--GrvObject
|
+--EDO
|
+--ALEDO
|
+--Lot
- class
Lot
- extends ALEDO
This class encapsulates a Auction "lot" record.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:
Defined in aimauctions.js
|
Constructor Summary |
Lot
()
|
|
Method Summary |
String
|
canEdit()
Is it legal to edit "this"?
|
Lot
|
clone()
return a clone of this object
|
void
|
editMe()
mark this entity as having been edited
|
boolean
|
hasDuplicateLotNum()
custom validation method to verify uniqueness of Lot number
|
Object
|
hasLotNum( n )
|
Object
|
isLotZero()
|
void
|
konstructor( propArray, <String> editDate, <String> editUser, <int> theKey, <AuctionModel> holder, <int> itemcount, <int> optEditStatus, <String> optName )
|
String
|
toString()
return "this" as human-readable string
|
String
|
validateLotNum()
custom validation method to verify uniqueness of Lot number
|
<static> Lot
|
Factory(index,holder)
Static factory method to generate blank Lot
|
| Methods inherited from class EDO |
pushEncodedValues, pushValues, makeReadOnly, propValues, edoToolTip, isValid, dump, buildUpdateItemPost, pushPosts, getEditRule, setValidity, getValidity, deleteMe, undeleteMe, canCreate, canUncreate, addMe, isNew, isDeleted, inEdit, uneditMe, collapse, expand, isExpanded, canToggleExpand, toggleExpand, isActive, inLimbo, isViewable, state, action
|
EditRules
<static> Object EditRules
Properties
<static> Object Properties
UpdateID
<static> Object UpdateID
Lot
Lot()
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:
canEdit
String canEdit()
Is it legal to edit "this"?
clone
Lot clone()
return a clone of this object
editMe
void editMe()
mark this entity as having been edited
hasDuplicateLotNum
boolean hasDuplicateLotNum()
custom validation method to verify uniqueness of Lot number
Returns:
true iff our lot number duplicates any in parent auction
hasLotNum
Object hasLotNum( n )
isLotZero
Object isLotZero()
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
toString
String toString()
return "this" as human-readable string
validateLotNum
String validateLotNum()
custom validation method to verify uniqueness of Lot number
Returns:
error message or null if no error
Factory
<static> Lot Factory(index,holder)
Static factory method to generate blank Lot
Documentation generated by
JSDoc on Thu Jan 6 12:46:39 2011