BBjTriggerData

Description

In BBj 6.00 and higher, BBjTriggerData provides access to the running trigger.

Creation

BBjAPI > BBjFileSystem > BBjTriggerData

Return Value

Method

BBjTriggerData

getTriggerData()

Methods of BBjTriggerData

Return Value

Method

boolean

getAllowOverwrite()

string

getBBjProgram()

BBjNumber

getDirection()

boolean

getDOM()

byte[]

getExpectedDiskData()

boolean

getExtract()

boolean

getField()

string

getFileComment()

string

getFilename()

boolean

getFind()

string

getIDString()

BBjNumber

getIndex()

byte[]

getKey()

string

getKeyCallType()

byte[]

getKeyDescriptions()

string

getKeyName()

int

getKeyNumber()

string

getModeValue(string modeKey)

byte[]

getReadBuffer()

BBjNumber

getSize()

int

getTimeout()

string

getTriggerType()

string

getUser()

byte[]

getWriteBuffer()

void

setEOF()

void

setExpectedDiskData(byte[] data)

void

setReadBuffer(byte[] data)

void

setWriteBuffer(byte[] data)

Remarks

The BBjTriggerData is available only during execution of a file system trigger.

Example

rem 'Get a Trigger object from the BBj File System
tt! = BBjAPI().getFileSystem().getTriggerData()

See Also

BBjAPI

BBjStoredProcedureData

BBjFileSystem

CREATE/ALTER PROCEDURE

CREATE/ALTER TRIGGER

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.