Packageat.db
Classpublic class ParseBookmarkStructureByIndicationIDXML

Class for parsing single or multiple bookmark structures and inserting resultant data into the application database.



Public Properties
 PropertyDefined by
  activeInput : String = "Y"
Hold the activeInput value to be used during data insertion/updating in the application database.
ParseBookmarkStructureByIndicationIDXML
  attributeID : int = 0
Holds the attributeID value of the 'slideID' used for processing of slide record info in a bookmark.
ParseBookmarkStructureByIndicationIDXML
  attributeidInput : int
Hold the attributeidInput value to be used during data insertion/updating in the application database.
ParseBookmarkStructureByIndicationIDXML
  bookmarkattribute : BookmarkAttribute
Instantiates the BookmarkAttribute class.
ParseBookmarkStructureByIndicationIDXML
  bookmarkattributeIDInput : int
Hold the bookmarkattributeidInput value to be used during data insertion/updating in the application database.
ParseBookmarkStructureByIndicationIDXML
  bookmarkid : int = 0
Holds the bookmarkid value obtained from the XML data passed into the class.
ParseBookmarkStructureByIndicationIDXML
  bookmarkID : int
Holds the bookmarkID value that is obtained from the xml data passed into the class.
ParseBookmarkStructureByIndicationIDXML
  bookmarkidInput : int
Hold the bookmarkidInput value to be used during data insertion/updating in the application database.
ParseBookmarkStructureByIndicationIDXML
  commentsInput : String
Hold the commentsInput value to be used during data insertion/updating in the application database.
ParseBookmarkStructureByIndicationIDXML
  deleteBookmarkAttributeByBookmarkID : DeleteBookmarkAttributeByBookmarkID
Instantiates the DeleteBookmarkAttributeByBookmarkID class.
ParseBookmarkStructureByIndicationIDXML
  descriptionInput : String
Hold the descriptionInput value to be used during data insertion/updating in the application database.
ParseBookmarkStructureByIndicationIDXML
  evevalueInput : String
Hold the evevalueInput value to be used during data insertion/updating in the application database.
ParseBookmarkStructureByIndicationIDXML
  indicationid : int = 0
Holds the indicationid value obtained from the XML data passed into the class.
ParseBookmarkStructureByIndicationIDXML
  nameInput : String
Hold the nameInput value to be used during data insertion/updating in the application database.
ParseBookmarkStructureByIndicationIDXML
  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.
ParseBookmarkStructureByIndicationIDXML
  recordCount : int
Holds the recordCount value of looped data during parsing.
ParseBookmarkStructureByIndicationIDXML
  recordCount2 : int
Holds the recordCount value of looped data during parsing.
ParseBookmarkStructureByIndicationIDXML
  repid : int = 0
Holds the indicationid value obtained from the XML data passed into the class.
ParseBookmarkStructureByIndicationIDXML
  title : String
Holds the title value that is obtained from the xml data passed into the class.
ParseBookmarkStructureByIndicationIDXML
  titleAbbr : String
Holds the titleAbbr value that is obtained from the xml data passed into the class.
ParseBookmarkStructureByIndicationIDXML
  updateBookmarkBookmarkStructure : UpdateBookmarkBookmarkStructure
Instantiates the UpdateBookmarkBookmarkStructure class.
ParseBookmarkStructureByIndicationIDXML
  versionInput : int = 0
Hold the versionInput value to be used during data insertion/updating in the application database.
ParseBookmarkStructureByIndicationIDXML
  xmlData : XML
Holds the xmlData value that is passed into the class.
ParseBookmarkStructureByIndicationIDXML
  xmlDataList : XMLList
Holds the xmlDataList value XMLList of the XML data passed into the class.
ParseBookmarkStructureByIndicationIDXML
  xmlDataList2 : XMLList
Holds the xmlDataList2 value XMLList of the XML data passed into the class.
ParseBookmarkStructureByIndicationIDXML
  xmlDataList3 : XMLList
Holds the xmlDataList3 value XMLList of the XML data passed into the class.
ParseBookmarkStructureByIndicationIDXML
Public Methods
 MethodDefined by
  
Constructor.
ParseBookmarkStructureByIndicationIDXML
Protected Methods
 MethodDefined by
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
ParseBookmarkStructureByIndicationIDXML
  
onEveDBOpened(event:SQLEvent):void
This method retrieves the database id of attribute 'slideID'.
ParseBookmarkStructureByIndicationIDXML
  
Establishes connection to the application database and sets the variable xmlDataList.
ParseBookmarkStructureByIndicationIDXML
Property detail
activeInputproperty
public var activeInput:String = "Y"

Hold the activeInput value to be used during data insertion/updating in the application database.

The default value is Y.

attributeIDproperty 
public var attributeID:int = 0

Holds the attributeID value of the 'slideID' used for processing of slide record info in a bookmark.

The default value is 0.

attributeidInputproperty 
public var attributeidInput:int

Hold the attributeidInput value to be used during data insertion/updating in the application database.

bookmarkattributeproperty 
public var bookmarkattribute:BookmarkAttribute

Instantiates the BookmarkAttribute class.

See also

bookmarkattributeIDInputproperty 
public var bookmarkattributeIDInput:int

Hold the bookmarkattributeidInput value to be used during data insertion/updating in the application database.

bookmarkidproperty 
public var bookmarkid:int = 0

Holds the bookmarkid value obtained from the XML data passed into the class.

The default value is 0.

bookmarkIDproperty 
public var bookmarkID:int

Holds the bookmarkID value that is obtained from the xml data passed into the class.

bookmarkidInputproperty 
public var bookmarkidInput:int

Hold the bookmarkidInput value to be used during data insertion/updating in the application database.

commentsInputproperty 
public var commentsInput:String

Hold the commentsInput value to be used during data insertion/updating in the application database.

deleteBookmarkAttributeByBookmarkIDproperty 
public var deleteBookmarkAttributeByBookmarkID:DeleteBookmarkAttributeByBookmarkID

Instantiates the DeleteBookmarkAttributeByBookmarkID class.

See also

descriptionInputproperty 
public var descriptionInput:String

Hold the descriptionInput value to be used during data insertion/updating in the application database.

evevalueInputproperty 
public var evevalueInput:String

Hold the evevalueInput value to be used during data insertion/updating in the application database.

indicationidproperty 
public var indicationid:int = 0

Holds the indicationid value obtained from the XML data passed into the class.

The default value is 0.

nameInputproperty 
public var nameInput:String

Hold the nameInput value to be used during data insertion/updating 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.

recordCountproperty 
public var recordCount:int

Holds the recordCount value of looped data during parsing.

recordCount2property 
public var recordCount2:int

Holds the recordCount value of looped data during parsing.

repidproperty 
public var repid:int = 0

Holds the indicationid value obtained from the XML data passed into the class.

The default value is 0.

titleproperty 
public var title:String

Holds the title value that is obtained from the xml data passed into the class.

titleAbbrproperty 
public var titleAbbr:String

Holds the titleAbbr value that is obtained from the xml data passed into the class.

updateBookmarkBookmarkStructureproperty 
public var updateBookmarkBookmarkStructure:UpdateBookmarkBookmarkStructure

Instantiates the UpdateBookmarkBookmarkStructure class.

See also

versionInputproperty 
public var versionInput:int = 0

Hold the versionInput value to be used during data insertion/updating in the application database.

The default value is 0.

xmlDataproperty 
public var xmlData:XML

Holds the xmlData value that is passed into the class.

xmlDataListproperty 
public var xmlDataList:XMLList

Holds the xmlDataList value XMLList of the XML data passed into the class.

xmlDataList2property 
public var xmlDataList2:XMLList

Holds the xmlDataList2 value XMLList of the XML data passed into the class.

xmlDataList3property 
public var xmlDataList3:XMLList

Holds the xmlDataList3 value XMLList of the XML data passed into the class.

Constructor detail
ParseBookmarkStructureByIndicationIDXML()constructor
public function ParseBookmarkStructureByIndicationIDXML(xmlData:XML)

Constructor.

Parameters
xmlData:XML

Example
   
   
     
      
     
      
      
      
       
       
     
     
     
      
       
       
       
      
      
      
      
     
     
   
   
   

Method detail
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

This method retrieves the database id of attribute 'slideID'. This is used to filter just the bookmark attribute records that pertain to slides. The method then parses bookmark XML object into XMLList variables - setting key variables to be used in insertion of data into the application database.

This method invokes the helper class UpdateBookmarkBookmarkStructure to edit existing bookmark structure data. To properly insert this particular data the toXMLString() method must be used. The helper class DeleteBookmarkAttributeByBookmarkID is used to delete existing bookmark attribute data prior to reinserting new data.

This method is for the parsing of multiple bookmark structures.

Parameters
event:SQLEventSQLEvent

See also

parseBookmarkStructure()method 
protected function parseBookmarkStructure():void

Establishes connection to the application database and sets the variable xmlDataList.