Overview | File | Class | Tree | Index | Help
| The Gravey 2.0 Framework and AIM RIA
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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:

- konstructor()

Defined in aimauctions.js

Field Summary
`<static> Object` | `EditRules`
`<static> Object` | `Properties`
`<static> Object` | `UpdateID`

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 ALEDO
`toolTip, canDelete, pushUpdateFields`

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`

Methods inherited from class GrvObject
`souper`

Field Detail

### EditRules

    <static> Object EditRules

### Properties

    <static> Object Properties

### UpdateID

    <static> Object UpdateID

Constructor Detail

### Lot

    Lot()

Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Method Detail

### canEdit

    String canEdit()

Is it legal to edit "this"?

Returns:

errmsg or null

### 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

Overview | File | Class | Tree | Index | Help
| The Gravey 2.0 Framework and AIM RIA
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Sun Feb 11 13:31:42 2007