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

## Class CreateTranCmd

    Object
       |
       +--GrvObject
             |
             +--MVCCommand
                   |
                   +--RatsCmd
                         |
                         +--CreateTranCmd

class CreateTranCmd
extends RatsCmd

This class implements the append and insert transaction cmds.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
See:

- konstructor()

Defined in rats.js

Constructor Summary
`CreateTranCmd ()`

Method Summary
`String` | `details()` return details portion of command description
`void` | `doit()` "Do command" logic
`void` | `konstructor( <boolean> appendFlag, <int> optBalIndex )`
`void` | `redo()` "command REDO" logic.
`void` | `undo()` "command UNDO" logic

Methods inherited from class RatsCmd
`balString, tranString`

Methods inherited from class MVCCommand
`toString, isInvalid, syncDo, syncDoIt, syncUnDo, syncReDo, DOIT, REDO, UNDO`

Methods inherited from class GrvObject
`souper`

Constructor Detail

### CreateTranCmd

    CreateTranCmd()

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

- konstructor()

Method Detail

### details

    String details()

return details portion of command description

### doit

    void doit()

"Do command" logic

### konstructor

    void konstructor( <boolean> appendFlag, <int> optBalIndex )

Parameters:

`appendFlag` - if true then append else insert transaction

`optBalIndex` - optional index of balance to insert after

### redo

    void redo()

"command REDO" logic. Default is to just call doit()

### undo

    void undo()

"command UNDO" logic

Overview | File | Class | Tree | Index | Help
| The Gravey Framework and RATS 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:18 2011