Class BZPage

Object
   |
   +--BZPage

class BZPage

Defined in bzpage.js


Constructor Summary
BZPage(win, config)
           
 
Method Summary
 Object addStuffToTextBox(id, stuff)
           Add object to the text box (comment box or status whiteboard)
 void addToCCList(who)
           adds a person to the CC list, if it isn't already there
 void addToCommentsDropdown(pkg, cmd)
           Adds new option to the 'comment_action' scroll down box
 void centralCommandDispatch(cmdLabel, cmdParams)
           Actual execution function
 Object changeAssignee(newAssignee)
           Add XGL to the CC list
 void checkComments()
           Set background color of all comments made by reporter in ReporterColor color
 Object clickMouse(targetID)
           Send mouse click to the specified element
 Object collectComments()
          
 void commentsWalker(fce)
          
 Object createNewButton(location, after, pkg, id)
           Generic function to add new button to the page.
 void executeCommand(cmd)
           Take the ID of the package/id combination, and execute it
 void generateButtons()
          
 Object getAttachments()
           collect the list of attachments in a structured format
 Object getBugId()
           Get the ID of the bug.
 Object getCCList()
           a collect a list of emails on CC list
 Object getDefaultBugzillaMaintainer(component)
           Return maintainer which is per default by bugzilla (which is not necessarily the one who is default maintainer per component)
 Object getInstalledPackages(cfg)
          
 Object getLogin()
           Get login of the currently logged-in user.
 Object getOptionValue(id)
          
 Object getOwner()
          
 Object getPassword()
           returns password from the current storage, or if there isn't one, then it will ask user for it.
 Object getReporter()
           Get the current email of the reporter of the bug.
 Object getVersion()
           Get the current version of the Fedora release ...
 Object hasKeyword(str)
           Check for the presence of a keyword
 Object idContainsWord(id, str)
           generalized hasKeyword ...
 void removeStuffFromTextBox(id, stuff)
           Remove a keyword from the element if it is there
 Object selectOption(id, label)
           Select option with given label on the
 Object setNeedinfoReporter()
           Set the bug to NEEDINFO state
 void setUpLogging()
          

Constructor Detail

BZPage

BZPage(win, config)

Method Detail

addStuffToTextBox

Object addStuffToTextBox(id, stuff)

addToCCList

void addToCCList(who)

addToCommentsDropdown

void addToCommentsDropdown(pkg, cmd)

centralCommandDispatch

void centralCommandDispatch(cmdLabel, cmdParams)

changeAssignee

Object changeAssignee(newAssignee)

checkComments

void checkComments()

clickMouse

Object clickMouse(targetID)

collectComments

Object collectComments()

commentsWalker

void commentsWalker(fce)

createNewButton

Object createNewButton(location, after, pkg, id)

executeCommand

void executeCommand(cmd)

generateButtons

void generateButtons()

getAttachments

Object getAttachments()

getBugId

Object getBugId()

getCCList

Object getCCList()

getDefaultBugzillaMaintainer

Object getDefaultBugzillaMaintainer(component)

getInstalledPackages

Object getInstalledPackages(cfg)

getLogin

Object getLogin()

getOptionValue

Object getOptionValue(id)

getOwner

Object getOwner()

getPassword

Object getPassword()

getReporter

Object getReporter()

getVersion

Object getVersion()

hasKeyword

Object hasKeyword(str)

idContainsWord

Object idContainsWord(id, str)

removeStuffFromTextBox

void removeStuffFromTextBox(id, stuff)

selectOption

Object selectOption(id, label)