Packageat.db
Classpublic class UpdateIndication

Class for updating a single record from the table tbl_Indication in the application database.



Public Properties
 PropertyDefined by
  activeEdit : String = "Y"
Holds the active value to be inserted into the active column of the table tbl_Indication in the application database.
UpdateIndication
  brandidEdit : int
Holds the brandid value to be inserted into the brandid column of the table tbl_Indication in the application database.
UpdateIndication
  commentsEdit : String
Holds the comments value to be inserted into the comments column of the table tbl_Indication in the application database.
UpdateIndication
  datemodified : String
Holds the datemodified value to be inserted into the datemodified column of the table tbl_Indication in the application database.
UpdateIndication
  defaultcallidEdit : int
Holds the defaultcallid value to be inserted into the defaultcallid column of the table tbl_Indication in the application database.
UpdateIndication
  descriptionEdit : String
Holds the description value to be inserted into the description column of the table tbl_Indication in the application database.
UpdateIndication
  eveidEdit : String
Holds the eveid value to be inserted into the eveid column of the table tbl_Indication in the application database.
UpdateIndication
  id2Edit : int = 0
Holds the id2 value to be inserted into the id2 column of the table tbl_Indication in the application database.
UpdateIndication
  indicationID : int
Holds the indicationID value passed into the class used to reference the existing indication record for updating in the application database.
UpdateIndication
  nameEdit : String
Holds the name value to be inserted into the name column of the table tbl_Indication in the application database.
UpdateIndication
  versionEdit : int = 0
Holds the version value to be inserted into the version column of the table tbl_Indication in the application database.
UpdateIndication
  whomodified : int
Holds the whomodified value to be inserted into the whomodified column of the table tbl_Indication in the application database.
UpdateIndication
Public Methods
 MethodDefined by
  
UpdateIndication(indicationID:int, id2Input:int, defaultcallidInput:int, brandidInput:int, eveidInput:String, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)
Constructor.
UpdateIndication
Protected Methods
 MethodDefined by
  
init():void
Init.
UpdateIndication
  
onDBStatementEditResult(event:SQLEvent):void
Listener handler method for database SQL statement result.
UpdateIndication
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
UpdateIndication
  
onEveDBOpened(event:SQLEvent):void
Updates an existing indication record in the table tbl_Indication in the application database.
UpdateIndication
Property detail
activeEditproperty
public var activeEdit:String = "Y"

Holds the active value to be inserted into the active column of the table tbl_Indication in the application database.

The default value is Y.

brandidEditproperty 
public var brandidEdit:int

Holds the brandid value to be inserted into the brandid column of the table tbl_Indication in the application database.

commentsEditproperty 
public var commentsEdit:String

Holds the comments value to be inserted into the comments column of the table tbl_Indication in the application database.

datemodifiedproperty 
public var datemodified:String

Holds the datemodified value to be inserted into the datemodified column of the table tbl_Indication in the application database.

defaultcallidEditproperty 
public var defaultcallidEdit:int

Holds the defaultcallid value to be inserted into the defaultcallid column of the table tbl_Indication in the application database.

descriptionEditproperty 
public var descriptionEdit:String

Holds the description value to be inserted into the description column of the table tbl_Indication in the application database.

eveidEditproperty 
public var eveidEdit:String

Holds the eveid value to be inserted into the eveid column of the table tbl_Indication in the application database.

id2Editproperty 
public var id2Edit:int = 0

Holds the id2 value to be inserted into the id2 column of the table tbl_Indication in the application database. Primarily used for synchronization with a remote database.

The default value is 0.

indicationIDproperty 
public var indicationID:int

Holds the indicationID value passed into the class used to reference the existing indication record for updating in the application database.

nameEditproperty 
public var nameEdit:String

Holds the name value to be inserted into the name column of the table tbl_Indication in the application database.

versionEditproperty 
public var versionEdit:int = 0

Holds the version value to be inserted into the version column of the table tbl_Indication in the application database. Primarily used for synchronization with a remote database.

The default value is 0.

whomodifiedproperty 
public var whomodified:int

Holds the whomodified value to be inserted into the whomodified column of the table tbl_Indication in the application database.

Constructor detail
UpdateIndication()constructor
public function UpdateIndication(indicationID:int, id2Input:int, defaultcallidInput:int, brandidInput:int, eveidInput:String, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)

Constructor.

Parameters
indicationID:int
 
id2Input:int
 
defaultcallidInput:int
 
brandidInput:int
 
eveidInput:String
 
nameInput:String
 
descriptionInput:String
 
commentsInput:String
 
versionInput:int
 
activeInput:String
Method detail
init()method
protected function init():void

Init. Establishes connection to the application database.

onDBStatementEditResult()method 
protected function onDBStatementEditResult(event:SQLEvent):void

Listener handler method for database SQL statement result.

Parameters
event:SQLEventSQLEvent
onEveDBError()method 
protected function onEveDBError(event:SQLEvent):void

Error handler method for database connection errors.

Parameters
event:SQLEventSQLEvent
onEveDBOpened()method 
protected function onEveDBOpened(event:SQLEvent):void

Updates an existing indication record in the table tbl_Indication in the application database.

Parameters
event:SQLEventSQLEvent