Packageat.db
Classpublic class UpdateBookmarkBookmarkStructure

Class for updating or inserting a bookmark stucture in the application database.



Public Properties
 PropertyDefined by
  bookmark : Bookmark
Instantiates the Bookmark class for use during a insert db method.
UpdateBookmarkBookmarkStructure
  bookmarkID : int
Holds the bookmarkID value passed into the class used to reference the existing bookmark record for updating in the application database.
UpdateBookmarkBookmarkStructure
  bookmarkstructureEdit : String
Holds the bookmarkstructure value passed into the class and used to update the existing bookmark record in the application database.
UpdateBookmarkBookmarkStructure
  calltypeID : int
Holds the calltypeID value useded to update the related call type data in the application database.
UpdateBookmarkBookmarkStructure
  datemodified : String
Holds the datemodified value to be inserted into the datemodified column of the tables in the application database.
UpdateBookmarkBookmarkStructure
  queryType : String
Holds the queryType value passed into the class and used to determine if the data passed is for a new bookmark or existing bookmark.
UpdateBookmarkBookmarkStructure
  titleAbbrEdit : String
Holds the titleAbbr value passed into the class and used to update the existing bookmark record in the application database.
UpdateBookmarkBookmarkStructure
  titleEdit : String
Holds the title value passed into the class and used to update the existing bookmark record in the application database.
UpdateBookmarkBookmarkStructure
  whomodified : int
Holds the whomodified value to be inserted into the whomodified column of the tables in the application database.
UpdateBookmarkBookmarkStructure
Public Methods
 MethodDefined by
  
UpdateBookmarkBookmarkStructure(queryType:String, bookmarkID:int, bookmarkstructureInput:String, titleInput:String, titleAbbrInput:String)
Constructor.
UpdateBookmarkBookmarkStructure
Protected Methods
 MethodDefined by
  
init():void
Init.
UpdateBookmarkBookmarkStructure
  
onDBStatementEditResult(event:SQLEvent):void
Listener handler method for database SQL statement result.
UpdateBookmarkBookmarkStructure
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
UpdateBookmarkBookmarkStructure
  
onEveDBOpened(event:SQLEvent):void
Updates the bookmark record and related records in the application database.
UpdateBookmarkBookmarkStructure
Property detail
bookmarkproperty
public var bookmark:Bookmark

Instantiates the Bookmark class for use during a insert db method.

See also

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 passed into the class and used to update the existing bookmark record in the application database.

calltypeIDproperty 
public var calltypeID:int

Holds the calltypeID value useded to update the related call type data in the application database.

datemodifiedproperty 
public var datemodified:String

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

queryTypeproperty 
public var queryType:String

Holds the queryType value passed into the class and used to determine if the data passed is for a new bookmark or existing bookmark.

titleAbbrEditproperty 
public var titleAbbrEdit:String

Holds the titleAbbr value passed into the class and used to update the existing bookmark record in the application database.

titleEditproperty 
public var titleEdit:String

Holds the title value passed into the class and used to update the existing bookmark record in the application database.

whomodifiedproperty 
public var whomodified:int

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

Constructor detail
UpdateBookmarkBookmarkStructure()constructor
public function UpdateBookmarkBookmarkStructure(queryType:String, bookmarkID:int, bookmarkstructureInput:String, titleInput:String, titleAbbrInput:String)

Constructor.

Parameters
queryType:String
 
bookmarkID:int
 
bookmarkstructureInput:String
 
titleInput:String
 
titleAbbrInput: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 the bookmark record and related records in the application database.

Parameters
event:SQLEvent