Packageat.db
Classpublic class UpdateCallType

Class for updating a single record from the table tbl_CallType 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_CallType in the application database.
UpdateCallType
  callstructureEdit : String
Holds the callstructure value to be inserted into the callstructure column of the table tbl_CallType in the application database.
UpdateCallType
  calltypeID : int
Holds the calltypeID value passed into the class used to reference the existing call type record for updating in the application database.
UpdateCallType
  commentsEdit : String
Holds the comments value to be inserted into the comments column of the table tbl_CallType in the application database.
UpdateCallType
  datemodified : String
Holds the datemodified value to be inserted into the datemodified column of the table tbl_CallType in the application database.
UpdateCallType
  descriptionEdit : String
Holds the description value to be inserted into the description column of the table tbl_CallType in the application database.
UpdateCallType
  id2Edit : int = 0
Holds the id2 value to be inserted into the id2 column of the table tbl_CallType in the application database.
UpdateCallType
  indicationidEdit : int
Holds the indicationid value to be inserted into the indicationid column of the table tbl_CallType in the application database.
UpdateCallType
  iseditableEdit : String
Holds the iseditable value to be inserted into the iseditable column of the table tbl_CallType in the application database.
UpdateCallType
  nameEdit : String
Holds the name value to be inserted into the name column of the table tbl_CallType in the application database.
UpdateCallType
  repidEdit : int
Holds the repid value to be inserted into the repid column of the table tbl_CallType in the application database.
UpdateCallType
  titleabbreviationEdit : String
Holds the titleabbreviation value to be inserted into the titleabbreviation column of the table tbl_CallType in the application database.
UpdateCallType
  versionEdit : int = 0
Holds the version value to be inserted into the version column of the table tbl_CallType in the application database.
UpdateCallType
  whomodified : int
Holds the whomodified value to be inserted into the whomodified column of the table tbl_CallType in the application database.
UpdateCallType
Public Methods
 MethodDefined by
  
UpdateCallType(calltypeID:int, id2Input:int, indicationidInput:int, repidInput:int, callstructureInput:String, titleabbreviationInput:String, iseditableInput:String, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)
Constructor.
UpdateCallType
Protected Methods
 MethodDefined by
  
init():void
Init.
UpdateCallType
  
onDBStatementEditResult(event:SQLEvent):void
Listener handler method for database SQL statement result.
UpdateCallType
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
UpdateCallType
  
onEveDBOpened(event:SQLEvent):void
Updates an existing type record in the table tbl_Type in the application database.
UpdateCallType
Property detail
activeEditproperty
public var activeEdit:String = "Y"

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

The default value is Y.

callstructureEditproperty 
public var callstructureEdit:String

Holds the callstructure value to be inserted into the callstructure column of the table tbl_CallType in the application database.

calltypeIDproperty 
public var calltypeID:int

Holds the calltypeID value passed into the class used to reference the existing call type record for updating in the application database.

commentsEditproperty 
public var commentsEdit:String

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

datemodifiedproperty 
public var datemodified:String

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

descriptionEditproperty 
public var descriptionEdit:String

Holds the description value to be inserted into the description column of the table tbl_CallType 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_CallType 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_CallType in the application database.

iseditableEditproperty 
public var iseditableEdit:String

Holds the iseditable value to be inserted into the iseditable column of the table tbl_CallType in the application database.

nameEditproperty 
public var nameEdit:String

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

repidEditproperty 
public var repidEdit:int

Holds the repid value to be inserted into the repid column of the table tbl_CallType in the application database.

titleabbreviationEditproperty 
public var titleabbreviationEdit:String

Holds the titleabbreviation value to be inserted into the titleabbreviation column of the table tbl_CallType 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_CallType 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_CallType in the application database.

Constructor detail
UpdateCallType()constructor
public function UpdateCallType(calltypeID:int, id2Input:int, indicationidInput:int, repidInput:int, callstructureInput:String, titleabbreviationInput:String, iseditableInput:String, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)

Constructor.

Parameters
calltypeID:int
 
id2Input:int
 
indicationidInput:int
 
repidInput:int
 
callstructureInput:String
 
titleabbreviationInput:String
 
iseditableInput: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 type record in the table tbl_Type in the application database.

Parameters
event:SQLEventSQLEvent