<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
BZPage
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="BZPage";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-bzpage.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!-- </TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<B>PREV CLASS</B><!--
NEXT CLASS
-->
<A HREF="Color.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="" TARGET="_top"><B>NO FRAMES</B></A>
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>Class BZPage</H2>
<PRE>Object
|
+--<b>BZPage</b>
</PRE>
<HR>
<DL>
<!-- Class definition -->
<DT>class
<B>BZPage</B>
</DL>
<P>
<I>Defined in <a href='overview-summary-bzpage.js.html'>bzpage.js</a></I><BR/><BR/>
</P>
<HR>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- ======== END NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- =========== END FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD>
<CODE>
<B>
<A HREF="#BZPage()">BZPage</A></B>(win, config)
</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addStuffToTextBox">addStuffToTextBox</A></B>(id, stuff)
</CODE>
<BR>
Add object to the text box (comment box or status whiteboard)
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addToCCList">addToCCList</A></B>(who)
</CODE>
<BR>
adds a person to the CC list, if it isn't already there
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#addToCommentsDropdown">addToCommentsDropdown</A></B>(pkg, cmd)
</CODE>
<BR>
Adds new option to the 'comment_action' scroll down box
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#centralCommandDispatch">centralCommandDispatch</A></B>(cmdLabel, cmdParams)
</CODE>
<BR>
Actual execution function
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#changeAssignee">changeAssignee</A></B>(newAssignee)
</CODE>
<BR>
Add XGL to the CC list
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#checkComments">checkComments</A></B>()
</CODE>
<BR>
Set background color of all comments made by reporter in ReporterColor color
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#clickMouse">clickMouse</A></B>(targetID)
</CODE>
<BR>
Send mouse click to the specified element
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#collectComments">collectComments</A></B>()
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#commentsWalker">commentsWalker</A></B>(fce)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#createNewButton">createNewButton</A></B>(location, after, pkg, id)
</CODE>
<BR>
Generic function to add new button to the page.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#executeCommand">executeCommand</A></B>(cmd)
</CODE>
<BR>
Take the ID of the package/id combination, and execute it
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#generateButtons">generateButtons</A></B>()
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getAttachments">getAttachments</A></B>()
</CODE>
<BR>
collect the list of attachments in a structured format
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getBugId">getBugId</A></B>()
</CODE>
<BR>
Get the ID of the bug.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getCCList">getCCList</A></B>()
</CODE>
<BR>
a collect a list of emails on CC list
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getDefaultBugzillaMaintainer">getDefaultBugzillaMaintainer</A></B>(component)
</CODE>
<BR>
Return maintainer which is per default by bugzilla
(which is not necessarily the one who is default maintainer per component)
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getInstalledPackages">getInstalledPackages</A></B>(cfg)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getLogin">getLogin</A></B>()
</CODE>
<BR>
Get login of the currently logged-in user.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getOptionValue">getOptionValue</A></B>(id)
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getOwner">getOwner</A></B>()
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getPassword">getPassword</A></B>()
</CODE>
<BR>
returns password from the current storage, or if there isn't
one, then it will ask user for it.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getReporter">getReporter</A></B>()
</CODE>
<BR>
Get the current email of the reporter of the bug.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#getVersion">getVersion</A></B>()
</CODE>
<BR>
Get the current version of the Fedora release ...
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#hasKeyword">hasKeyword</A></B>(str)
</CODE>
<BR>
Check for the presence of a keyword
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#idContainsWord">idContainsWord</A></B>(id, str)
</CODE>
<BR>
generalized hasKeyword ...
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#removeStuffFromTextBox">removeStuffFromTextBox</A></B>(id, stuff)
</CODE>
<BR>
Remove a keyword from the element if it is there
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#selectOption">selectOption</A></B>(id, label)
</CODE>
<BR>
Select option with given label on the <SELECT> element with given id.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> Object</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#setNeedinfoReporter">setNeedinfoReporter</A></B>()
</CODE>
<BR>
Set the bug to NEEDINFO state
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
<FONT SIZE="-1">
<CODE> void</CODE>
</FONT>
</TD>
<TD>
<CODE>
<B>
<A HREF="#setUpLogging">setUpLogging</A></B>()
</CODE>
<BR>
</TD>
</TR>
</TABLE>
<P>
<!-- ========== END METHOD SUMMARY =========== -->
<!-- ============ FIELD DETAIL START =========== -->
<!-- ============ FIELD DETAIL END =========== -->
<!-- ========= CONSTRUCTOR DETAIL START ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1>
<FONT SIZE="+2"><B>Constructor Detail</B></FONT>
</TD>
</TR>
</TABLE>
<A NAME="BZPage()"><!-- --></A><H3>
BZPage</H3>
<PRE><B>BZPage</B>(win, config)</PRE>
</UL>
<!-- Constructor return value(s) -->
<!-- End constructor return value(s) -->
<!-- ADDITIONAL ATTRIBUTES -->
<HR/>
<!-- END ADDITIONAL ATTRIBUTES -->
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
<!-- ============ METHOD DETAIL START ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT>
</TD>
</TR>
</TABLE>
<!-- One single method detail entry -->
<A NAME="addStuffToTextBox"><!-- --></A>
<H3>addStuffToTextBox</H3>
<PRE>Object <B>addStuffToTextBox</B>(id, stuff)</PRE>
<UL>Add object to the text box (comment box or status whiteboard)</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>id</CODE> - String with the id of the element
</UL>
<UL><CODE>stuff</CODE> - String/Array to be added to the comment box
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
none
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="addToCCList"><!-- --></A>
<H3>addToCCList</H3>
<PRE>void <B>addToCCList</B>(who)</PRE>
<UL>adds a person to the CC list, if it isn't already there</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>who</CODE> - String with email address or "self" if the current user of the bugzilla should be added
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="addToCommentsDropdown"><!-- --></A>
<H3>addToCommentsDropdown</H3>
<PRE>void <B>addToCommentsDropdown</B>(pkg, cmd)</PRE>
<UL>Adds new option to the 'comment_action' scroll down box</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>pkg</CODE> - String package name
</UL>
<UL><CODE>cmd</CODE> - String with the name of the command If the 'comment_action' scroll down box doesn't exist, this function will set up new one.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="centralCommandDispatch"><!-- --></A>
<H3>centralCommandDispatch</H3>
<PRE>void <B>centralCommandDispatch</B>(cmdLabel, cmdParams)</PRE>
<UL>Actual execution function</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>cmdLabel</CODE> - String with the name of the command to be executed
</UL>
<UL><CODE>cmdParams</CODE> - Object with the appropriate parameters for the command
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="changeAssignee"><!-- --></A>
<H3>changeAssignee</H3>
<PRE>Object <B>changeAssignee</B>(newAssignee)</PRE>
<UL>Add XGL to the CC list</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>evt</CODE> - Event which made this function active
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
none
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="checkComments"><!-- --></A>
<H3>checkComments</H3>
<PRE>void <B>checkComments</B>()</PRE>
<UL>Set background color of all comments made by reporter in ReporterColor color</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="clickMouse"><!-- --></A>
<H3>clickMouse</H3>
<PRE>Object <B>clickMouse</B>(targetID)</PRE>
<UL>Send mouse click to the specified element</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>String</CODE> - ID of the element to send mouseclick to
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
None
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="collectComments"><!-- --></A>
<H3>collectComments</H3>
<PRE>Object <B>collectComments</B>()</PRE>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="commentsWalker"><!-- --></A>
<H3>commentsWalker</H3>
<PRE>void <B>commentsWalker</B>(fce)</PRE>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="createNewButton"><!-- --></A>
<H3>createNewButton</H3>
<PRE>Object <B>createNewButton</B>(location, after, pkg, id)</PRE>
<UL>Generic function to add new button to the page. Actually copies new button
from the old one (in order to have the same look-and-feel, etc.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>location</CODE> - Object around which the new button will be added
</UL>
<UL><CODE>after</CODE> - Boolean before or after location ?
</UL>
<UL><CODE>pkg</CODE> - String which package to take the command from
</UL>
<UL><CODE>id</CODE> - String which command to take
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
none
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="executeCommand"><!-- --></A>
<H3>executeCommand</H3>
<PRE>void <B>executeCommand</B>(cmd)</PRE>
<UL>Take the ID of the package/id combination, and execute it</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>String</CODE> - combined package + "//" + id combination Fetches the command object from this.installedPackages and then goes through all commands contained in it, and calls this.centralCommandDispatch to execute them.
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="generateButtons"><!-- --></A>
<H3>generateButtons</H3>
<PRE>void <B>generateButtons</B>()</PRE>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getAttachments"><!-- --></A>
<H3>getAttachments</H3>
<PRE>Object <B>getAttachments</B>()</PRE>
<UL>collect the list of attachments in a structured format</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Array of arrays, one for each attachments; each record has string name of the attachment, integer its id number, string of MIME type, integer of size in kilobytes, and the whole element itself
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getBugId"><!-- --></A>
<H3>getBugId</H3>
<PRE>Object <B>getBugId</B>()</PRE>
<UL>Get the ID of the bug.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
string
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getCCList"><!-- --></A>
<H3>getCCList</H3>
<PRE>Object <B>getCCList</B>()</PRE>
<UL>a collect a list of emails on CC list</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Array with email addresses as Strings.
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getDefaultBugzillaMaintainer"><!-- --></A>
<H3>getDefaultBugzillaMaintainer</H3>
<PRE>Object <B>getDefaultBugzillaMaintainer</B>(component)</PRE>
<UL>Return maintainer which is per default by bugzilla
(which is not necessarily the one who is default maintainer per component)</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
String with the maintainer's email address
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getInstalledPackages"><!-- --></A>
<H3>getInstalledPackages</H3>
<PRE>Object <B>getInstalledPackages</B>(cfg)</PRE>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getLogin"><!-- --></A>
<H3>getLogin</H3>
<PRE>Object <B>getLogin</B>()</PRE>
<UL>Get login of the currently logged-in user.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
String with the login name of the currently logged-in user
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getOptionValue"><!-- --></A>
<H3>getOptionValue</H3>
<PRE>Object <B>getOptionValue</B>(id)</PRE>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getOwner"><!-- --></A>
<H3>getOwner</H3>
<PRE>Object <B>getOwner</B>()</PRE>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getPassword"><!-- --></A>
<H3>getPassword</H3>
<PRE>Object <B>getPassword</B>()</PRE>
<UL>returns password from the current storage, or if there isn't
one, then it will ask user for it.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
String with the password
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getReporter"><!-- --></A>
<H3>getReporter</H3>
<PRE>Object <B>getReporter</B>()</PRE>
<UL>Get the current email of the reporter of the bug.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
string
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="getVersion"><!-- --></A>
<H3>getVersion</H3>
<PRE>Object <B>getVersion</B>()</PRE>
<UL>Get the current version of the Fedora release ... even if changed meanwhile
by bug triager.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
string (integer for released Fedora, float for RHEL, rawhide)
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="hasKeyword"><!-- --></A>
<H3>hasKeyword</H3>
<PRE>Object <B>hasKeyword</B>(str)</PRE>
<UL>Check for the presence of a keyword</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>str</CODE> - String with the keyword
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Boolean
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="idContainsWord"><!-- --></A>
<H3>idContainsWord</H3>
<PRE>Object <B>idContainsWord</B>(id, str)</PRE>
<UL>generalized hasKeyword ... search in the value of the box with given id</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>id</CODE> - String with ID of the element we want to check
</UL>
<UL><CODE>str</CODE> - String to be searched for
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
Boolean found?
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="removeStuffFromTextBox"><!-- --></A>
<H3>removeStuffFromTextBox</H3>
<PRE>void <B>removeStuffFromTextBox</B>(id, stuff)</PRE>
<UL>Remove a keyword from the element if it is there</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>id</CODE> - String with the id of the element
</UL>
<UL><CODE>stuff</CODE> - String/Array with keyword(s) to be removed
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="selectOption"><!-- --></A>
<H3>selectOption</H3>
<PRE>Object <B>selectOption</B>(id, label)</PRE>
<UL>Select option with given label on the <SELECT> element with given id.
Also execute change HTMLEvent, so that the form behaves accordingly.</UL>
<!-- METHOD PARAMETERS START -->
<UL>
<B>Parameters:</B>
<UL><CODE>id</CODE> -
</UL>
<UL><CODE>label</CODE> -
</UL>
</UL>
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
none FIXME bugzilla-comments version has this signature: selectOption = function selectOption(select, value) { var doc = select[0].ownerDocument; select.val(value);
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="setNeedinfoReporter"><!-- --></A>
<H3>setNeedinfoReporter</H3>
<PRE>Object <B>setNeedinfoReporter</B>()</PRE>
<UL>Set the bug to NEEDINFO state
Working function.</UL>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<UL>
<B>Returns:</B>
<UL>
none
</UL>
</UL>
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<A NAME="setUpLogging"><!-- --></A>
<H3>setUpLogging</H3>
<PRE>void <B>setUpLogging</B>()</PRE>
<!-- METHOD PARAMETERS START -->
<!-- METHOD PARAMETERS END -->
<!-- ADDITIONAL ATTRIBUTES START -->
<!-- ADDITIONAL ATTRIBUTES END -->
<HR>
<!-- ============ METHOD DETAIL END ========== -->
<!-- ========= END OF CLASS DATA ========= -->
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary-bzpage.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A> </TD>
<!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"--> <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!-- </TD-->
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<B></B>
</EM>
</TD
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<B>PREV CLASS</B><!--
NEXT CLASS
-->
<A HREF="Color.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="" TARGET="_top"><B>NO FRAMES</B></A>
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<FONT SIZE="-1">
</FONT>
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Wed Jun 23 09:33:14 2010</div>
</BODY>
</HTML>