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 PLEDO

    Object
       |
       +--GrvObject
             |
             +--EDO
                   |
                   +--PLEDO

Direct Known Subclasses:
  Loan, Item

class PLEDO
extends EDO

This is the abstract base class for PlainItems/LoanItems EDOs.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Defined in aimitems.js

Constructor Summary
`PLEDO ()`

Method Summary
`void` | `konstructor( <ItemModel> holder, <Function> CLAZZ, <array> propValues, <String> editDate, <String> editUser, <int> theKey, <int> optEditStatus, <String> optName )`
`void` | `pushUpdateFields( <Array> uFields )` push into given array all PLEDO-specific fields of the UpdateItem message formatted as
     "{isLoanFlag}~{property1}~...~{propertyN}"
     where the fields are defined as follows...

Methods inherited from class EDO
`clone, pushEncodedValues, pushValues, makeReadOnly, propValues, toString, edoToolTip, toolTip, isValid, dump, buildUpdateItemPost, pushPosts, getEditRule, setValidity, getValidity, canDelete, deleteMe, undeleteMe, canCreate, canUncreate, addMe, isNew, isDeleted, inEdit, canEdit, editMe, uneditMe, collapse, expand, isExpanded, canToggleExpand, toggleExpand, isActive, inLimbo, isViewable, state, action`

Methods inherited from class GrvObject
`souper`

Constructor Detail

### PLEDO

    PLEDO()

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

- konstructor()

Method Detail

### konstructor

    void konstructor( <ItemModel> holder, <Function> CLAZZ, <array> propValues, <String> editDate, <String> editUser, <int> theKey, <int> optEditStatus, <String> optName )

Parameters:

`holder` - parent EDOHolderModel

`CLAZZ` - this EDO's "class"

`propValues` - array of property initial values

`editDate` - date of last edit

`editUser` - ID of last user to edit

`theKey` - unique key of this record

`optEditStatus` - optional edit status where the status codes are: 0=no-change; 1=delete; 2=create; 3=hidden; 4=update

`optName` - optional name of this instance

### pushUpdateFields

    void pushUpdateFields( <Array> uFields )

push into given array all PLEDO-specific fields of the UpdateItem message formatted as

     "{isLoanFlag}~{property1}~...~{propertyN}"
     where the fields are defined as follows...
         {isLoanFlag} = "Y" iff parent EDOHolder contains a Loan
         {propertyI}  = the i-th editable property of this EDO

Parameters:

`uFields` - string array containing Update Msg fields

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