Packageat.db
Classpublic class UpdateSection

Class for updating a single record from the table tbl_Section 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_Section in the application database.
UpdateSection
  commentsEdit : String
Holds the comments value to be inserted into the comments column of the table tbl_Section in the application database.
UpdateSection
  datemodified : String
Holds the datemodified value to be inserted into the datemodified column of the table tbl_Section in the application database.
UpdateSection
  descriptionEdit : String
Holds the description value to be inserted into the description column of the table tbl_Section in the application database.
UpdateSection
  eveidEdit : String
Holds the eveid value to be inserted into the eveid column of the table tbl_Section in the application database.
UpdateSection
  id2Edit : int = 0
Holds the id2 value to be inserted into the id2 column of the table tbl_Section in the application database.
UpdateSection
  indicationidEdit : int
Holds the indicationid value to be inserted into the indicationid column of the table tbl_Section in the application database.
UpdateSection
  nameEdit : String
Holds the name value to be inserted into the name column of the table tbl_Section in the application database.
UpdateSection
  sectionID : int
Holds the sectionID value passed into the class used to reference the existing section record for updating in the application database.
UpdateSection
  versionEdit : int = 0
Holds the version value to be inserted into the version column of the table tbl_Section in the application database.
UpdateSection
  whomodified : int
Holds the whomodified value to be inserted into the whomodified column of the table tbl_Section in the application database.
UpdateSection
Public Methods
 MethodDefined by
  
UpdateSection(sectionID:int, id2Input:int, indicationidInput:int, eveidInput:String, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)
Constructor.
UpdateSection
Protected Methods
 MethodDefined by
  
init():void
Init.
UpdateSection
  
onDBStatementEditResult(event:SQLEvent):void
Listener handler method for database SQL statement result.
UpdateSection
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
UpdateSection
  
onEveDBOpened(event:SQLEvent):void
Updates an existing section record in the table tbl_Section in the application database.
UpdateSection
Property detail
activeEditproperty
public var activeEdit:String = "Y"

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

The default value is Y.

commentsEditproperty 
public var commentsEdit:String

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

datemodifiedproperty 
public var datemodified:String

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

descriptionEditproperty 
public var descriptionEdit:String

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

eveidEditproperty 
public var eveidEdit:String

Holds the eveid value to be inserted into the eveid column of the table tbl_Section 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_Section in the application database. Primarily used for synchronization with a remote database.

The default value is 0.

indicationidEditproperty 
public var indicationidEdit:int

Holds the indicationid value to be inserted into the indicationid column of the table tbl_Section in the application database.

nameEditproperty 
public var nameEdit:String

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

sectionIDproperty 
public var sectionID:int

Holds the sectionID value passed into the class used to reference the existing section record for updating 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_Section 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_Section in the application database.

Constructor detail
UpdateSection()constructor
public function UpdateSection(sectionID:int, id2Input:int, indicationidInput:int, eveidInput:String, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)

Constructor.

Parameters
sectionID:int
 
id2Input:int
 
indicationidInput: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 section record in the table tbl_Section in the application database.

Parameters
event:SQLEventSQLEvent