Packageat.db
Classpublic class UpdateBookmark

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

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

The default value is Y.

bookmarkIDproperty 
public var bookmarkID:int

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

bookmarkstructureEditproperty 
public var bookmarkstructureEdit:String

Holds the bookmarkstructure value to be inserted into the bookmarkstructure column of the table tbl_Bookmark in the application database.

calltypeidEditproperty 
public var calltypeidEdit:int

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

commentsEditproperty 
public var commentsEdit:String

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

datemodifiedproperty 
public var datemodified:String

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

descriptionEditproperty 
public var descriptionEdit:String

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

eveidEditproperty 
public var eveidEdit:String

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

The default value is 0.

nameEditproperty 
public var nameEdit:String

Holds the name value to be inserted into the name column of the table tbl_Bookmark 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_Bookmark 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_Bookmark in the application database.

Constructor detail
UpdateBookmark()constructor
public function UpdateBookmark(bookmarkID:int, id2Input:int, calltypeidInput:int, eveidInput:String, bookmarkstructureInput:String, nameInput:String, descriptionInput:String, commentsInput:String, versionInput:int, activeInput:String)

Constructor.

Parameters
bookmarkID:int
 
id2Input:int
 
calltypeidInput:int
 
eveidInput:String
 
bookmarkstructureInput: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 bookmark record in the table tbl_Bookmark in the application database.

Parameters
event:SQLEventSQLEvent