Package | at.db |
Class | public class ParseBookmarkDataXML |
Property | Defined by | ||
---|---|---|---|
activeInput : String = "Y"
Hold the
activeInput value to be used during data insertion/updating in
the application database. | ParseBookmarkDataXML | ||
attributeID : int = 0
Holds the
attributeID value of the 'slideID' used for processing of slide record info in a bookmark. | ParseBookmarkDataXML | ||
attributeidInput : int
Hold the
attributeidInput value to be used during data insertion/updating in
the application database. | ParseBookmarkDataXML | ||
bookmarkattribute : BookmarkAttribute
Instantiates the
BookmarkAttribute class. | ParseBookmarkDataXML | ||
bookmarkattributeIDInput : int
Hold the
bookmarkattributeIDInput value to be used during data insertion/updating in
the application database. | ParseBookmarkDataXML | ||
bookmarkID : int
Holds the
bookmarkID value that is obtained from the XML data passed into the class. | ParseBookmarkDataXML | ||
bookmarkidInput : int
Hold the
bookmarkidInput value to be used during data insertion/updating in
the application database. | ParseBookmarkDataXML | ||
bookmarkStructure : String
Holds the
bookmarkStructure value of the bookmark structure obtained from the XML data passed into the class. | ParseBookmarkDataXML | ||
commentsInput : String
Hold the
commentsInput value to be used during data insertion/updating in
the application database. | ParseBookmarkDataXML | ||
descriptionInput : String
Hold the
descriptionInput value to be used during data insertion/updating in
the application database. | ParseBookmarkDataXML | ||
evevalueInput : String
Hold the
evevalueInput value to be used during data insertion/updating in
the application database. | ParseBookmarkDataXML | ||
id2Input : int = 0
Hold the
id2Input value to be used during data insertion/updating in
the application database. | ParseBookmarkDataXML | ||
nameInput : String
Hold the
nameInput value to be used during data insertion/updating in
the application database. | ParseBookmarkDataXML | ||
recordCount : int
Holds the
recordCount value of looped data during parsing. | ParseBookmarkDataXML | ||
recordCount2 : int
Holds the
recordCount value of looped data during parsing. | ParseBookmarkDataXML | ||
title : String
Holds the
title value that is obtained from the XML data passed into the class. | ParseBookmarkDataXML | ||
titleAbbr : String
Holds the
titleAbbr value that is obtained from the XML data passed into the class. | ParseBookmarkDataXML | ||
updateBookmarkBookmarkStructure : UpdateBookmarkBookmarkStructure
Instantiates the
UpdateBookmarkBookmarkStructure class. | ParseBookmarkDataXML | ||
versionInput : int = 0
Hold the
versionInput value to be used during data insertion/updating in
the application database. | ParseBookmarkDataXML | ||
xmlData : XML
Holds the
xmlData value that is passed into the class. | ParseBookmarkDataXML | ||
xmlDataList : XMLList
Holds the
xmlDataList value XMLList of the XML data passed into the class. | ParseBookmarkDataXML | ||
xmlDataList2 : XMLList
Holds the
xmlDataList2 value XMLList of the XML data passed into the class. | ParseBookmarkDataXML | ||
xmlDataList3 : XMLList
Holds the
xmlDataList3 value XMLList of the XML data passed into the class. | ParseBookmarkDataXML |
Method | Defined by | ||
---|---|---|---|
ParseBookmarkDataXML(xmlData:XML)
Constructor.
| ParseBookmarkDataXML |
Method | Defined by | ||
---|---|---|---|
deleteBookmarkByID(bookmarkID:int):void
Deletes existing bookmark attribute records from the application database based on the
variable
bookmarkID . | ParseBookmarkDataXML | ||
init():void
Init.
| ParseBookmarkDataXML | ||
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
| ParseBookmarkDataXML | ||
onEveDBOpened(event:SQLEvent):void
This method retrieves the database id of attribute 'slideID'.
| ParseBookmarkDataXML |
activeInput | property |
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
.
attributeID | property |
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
.
attributeidInput | property |
public var attributeidInput:int
Hold the attributeidInput
value to be used during data insertion/updating in
the application database.
bookmarkattribute | property |
bookmarkattributeIDInput | property |
public var bookmarkattributeIDInput:int
Hold the bookmarkattributeIDInput
value to be used during data insertion/updating in
the application database.
bookmarkID | property |
public var bookmarkID:int
Holds the bookmarkID
value that is obtained from the XML data passed into the class.
bookmarkidInput | property |
public var bookmarkidInput:int
Hold the bookmarkidInput
value to be used during data insertion/updating in
the application database.
bookmarkStructure | property |
public var bookmarkStructure:String
Holds the bookmarkStructure
value of the bookmark structure obtained from the XML data passed into the class.
commentsInput | property |
public var commentsInput:String
Hold the commentsInput
value to be used during data insertion/updating in
the application database.
descriptionInput | property |
public var descriptionInput:String
Hold the descriptionInput
value to be used during data insertion/updating in
the application database.
evevalueInput | property |
public var evevalueInput:String
Hold the evevalueInput
value to be used during data insertion/updating in
the application database.
id2Input | property |
public var id2Input:int = 0
Hold the id2Input
value to be used during data insertion/updating in
the application database.
nameInput | property |
public var nameInput:String
Hold the nameInput
value to be used during data insertion/updating in
the application database.
recordCount | property |
public var recordCount:int
Holds the recordCount
value of looped data during parsing.
recordCount2 | property |
public var recordCount2:int
Holds the recordCount
value of looped data during parsing.
title | property |
public var title:String
Holds the title
value that is obtained from the XML data passed into the class.
titleAbbr | property |
public var titleAbbr:String
Holds the titleAbbr
value that is obtained from the XML data passed into the class.
updateBookmarkBookmarkStructure | property |
public var updateBookmarkBookmarkStructure:UpdateBookmarkBookmarkStructure
Instantiates the UpdateBookmarkBookmarkStructure
class.
See also
versionInput | property |
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
.
xmlData | property |
public var xmlData:XML
Holds the xmlData
value that is passed into the class.
xmlDataList | property |
public var xmlDataList:XMLList
Holds the xmlDataList
value XMLList of the XML data passed into the class.
xmlDataList2 | property |
public var xmlDataList2:XMLList
Holds the xmlDataList2
value XMLList of the XML data passed into the class.
xmlDataList3 | property |
public var xmlDataList3:XMLList
Holds the xmlDataList3
value XMLList of the XML data passed into the class.
ParseBookmarkDataXML | () | constructor |
public function ParseBookmarkDataXML(xmlData:XML)
Constructor.
ParametersxmlData:XML |
deleteBookmarkByID | () | method |
protected function deleteBookmarkByID(bookmarkID:int):void
Deletes existing bookmark attribute records from the application database based on the
variable bookmarkID
.
bookmarkID:int |
init | () | method |
protected function init():void
Init. Establishes connection to the application database.
onEveDBError | () | method |
protected function onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
Parametersevent:SQLEvent — SQLEvent
|
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.
event:SQLEvent — SQLEvent
|
See also