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

## Class EDOListModel

    Object
       |
       +--GrvObject
             |
             +--MVCObserver
                   |
                   +--MVCModel
                         |
                         +--MVCListModel
                               |
                               +--EDOListModel

class EDOListModel
extends MVCListModel

This class encapsulates a list model for EDOs.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
Defined in grvEDO.js

Constructor Summary
`EDOListModel ()`

Method Summary
`int` | `getActiveCount()` return the count of active EDOs associated with "this"
`int` | `getVisibleCount()` return the count of viewable EDOs associated with "this"
`boolean` | `isDirty()` return whether any EDOs are changed for this list
`boolean` | `isValid()` return whether all EDOs are valid for this model
`void` | `konstructor( <Function> edoClass, <String> optName )`
`void` | `pushPosts( <Array> posts )` push into given array all AJAX SAVE Post params for this model
`void` | `toggleExpandAll( <boolean> newVal )` toggle the "expanded" flag of the EDO.

Methods inherited from class MVCListModel
`clone, dump, hash, _pop, _push, _del, _reset, reset, getCount, getItem, getItemStr, addItem, delItem, iterate, addBefore, getMemento, setMemento`

Methods inherited from class MVCModel
`dumpSubscribers, toString, dirty, clean, publish, GET, _SET, SET, updateStamp, BeginTransaction, EndTransaction, addObserver, delObserver, notifyObservers`

Methods inherited from class MVCObserver
`update, subscribe`

Methods inherited from class GrvObject
`souper`

Constructor Detail

### EDOListModel

    EDOListModel()

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

Method Detail

### getActiveCount

    int getActiveCount()

return the count of active EDOs associated with "this"

### getVisibleCount

    int getVisibleCount()

return the count of viewable EDOs associated with "this"

### isDirty

    boolean isDirty()

return whether any EDOs are changed for this list

### isValid

    boolean isValid()

return whether all EDOs are valid for this model

### konstructor

    void konstructor( <Function> edoClass, <String> optName )

Parameters:

`edoClass` - the class of the EDO

`optName` - optional name of this instance

### pushPosts

    void pushPosts( <Array> posts )

push into given array all AJAX SAVE Post params for this model

Parameters:

`posts` - string array containing POST params

### toggleExpandAll

    void toggleExpandAll( <boolean> newVal )

toggle the "expanded" flag of the EDO.

Parameters:

`newVal` - value to set all of the EDO flags to

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

Documentation generated by JSDoc on Thu Jan 6 12:46:39 2011