Class Item
Object
|
+--GrvObject
|
+--EDO
|
+--PLEDO
|
+--Item
- class
Item
- extends PLEDO
This class encapsulates an Auction Item record.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:
Defined in aimitems.js
|
Constructor Summary |
Item
()
|
|
Method Summary |
String
|
canCreate(<boolean> appendFlag)
Is it legal to create a new one of "this/these"?
|
String
|
canDelete()
Is it legal to delete "this"?
|
boolean
|
canUncreate(<boolean> appendFlag)
If created, can we undo creation?
|
Item
|
clone()
return a clone of this object
|
boolean
|
hasDuplicateItemNum()
custom validation method to verify uniqueness of Item number
|
void
|
konstructor( propArray, <String> editDate, <String> editUser, <int> theKey, <ItemModel> holder, <int> optEditStatus, <String> optName )
|
String
|
toString()
return "this" as human-readable string
|
String
|
validateItemNum()
custom validation method to verify uniqueness of Item number
|
<static> Item
|
Factory(index,holder)
Static factory method to generate blank Item
|
| Methods inherited from class EDO |
pushEncodedValues, pushValues, makeReadOnly, propValues, edoToolTip, toolTip, 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
UpdateID
<static> Object UpdateID
Item
Item()
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
canDelete
String canDelete()
Is it legal to delete "this"?
canUncreate
boolean canUncreate(<boolean> appendFlag)
If created, can we undo creation?
Parameters:
appendFlag - if true then append else insert
clone
Item clone()
return a clone of this object
hasDuplicateItemNum
boolean hasDuplicateItemNum()
custom validation method to verify uniqueness of Item number
Returns:
true iff our item number duplicates any in parent lot
konstructor
void konstructor( propArray, <String> editDate, <String> editUser, <int> theKey, <ItemModel> holder, <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
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
validateItemNum
String validateItemNum()
custom validation method to verify uniqueness of Item number
Returns:
error message or null if no error
Factory
<static> Item Factory(index,holder)
Static factory method to generate blank Item
Documentation generated by
JSDoc on Sun Feb 11 13:31:42 2007