Class PBEUpdateQuery

Object
  |
  +--PBEUnit
        |
        +--PBEAttribute
              |
              +--PBEMethod
                    |
                    +--PBECommand
                          |
                          +--PBEAttributeCommand
                                |
                                +--PBEQuery
                                      |
                                      +--PBESelectQuery
                                            |
                                            +--PBEUpdateQuery
Direct Known Subclasses:
PBEDeleteQuery, PBEInsertQuery, PBESaveQuery

public class PBEUpdateQuery
extends PBESelectQuery


Fields inherited from class PBEAttribute
enabled, iAfter, iBefore, iOn, iStatus, iValue, name, object, visible
 
Constructor Summary
PBEUpdateQuery()
           
 
Method Summary
 void activate()
           
 void afterTrigger(PBEImage i)
           
 void beforeTrigger(PBEImage i)
           
 void doAfterTrigger(varchar string)
           
 void doBeforeTrigger(varchar string)
           
 varchar getWhereClause(PBEImage image, boolean for_update)
           
 boolean performActivation(integer row)
           
 void prepareAction(varchar when, varchar action)
           
 boolean shouldUpdate()
           
 varchar shouldUpdate(PBEColumn column)
           
 
Methods inherited from class PBESelectQuery
getSelectQuery, runQuery
 
Methods inherited from class PBEQuery
updateSelection
 
Methods inherited from class PBEAttributeCommand
getAttributeStatus
 
Methods inherited from class PBECommand
performActivation
 
Methods inherited from class PBEMethod
afterActivate, beforeActivate, doAfterActivate, doBeforeActivate, inputValue
 
Methods inherited from class PBEAttribute
afterInput, beforeInput, disable, doAfterInput, doBeforeInput, doOnOutput, enable, enabled, getStatus, getValue, getValue, globalReference, hide, onOutput, outputValue, prepareAction, setStatus, setValue, setValue, show
 
Methods inherited from class PBEUnit
compileActions, compileConditions, prepareEvent
 

Constructor Detail

PBEUpdateQuery

public PBEUpdateQuery()
Method Detail

doBeforeTrigger

public void doBeforeTrigger(varchar string)

beforeTrigger

public void beforeTrigger(PBEImage i)

doAfterTrigger

public void doAfterTrigger(varchar string)

afterTrigger

public void afterTrigger(PBEImage i)

prepareAction

public void prepareAction(varchar when,
                          varchar action)
Overrides:
prepareAction in class PBEMethod

getWhereClause

public varchar getWhereClause(PBEImage image,
                              boolean for_update)
Overrides:
getWhereClause in class PBESelectQuery

shouldUpdate

public varchar shouldUpdate(PBEColumn column)

shouldUpdate

public boolean shouldUpdate()

activate

public void activate()
Overrides:
activate in class PBEQuery

performActivation

public boolean performActivation(integer row)
Overrides:
performActivation in class PBECommand