|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
interface for all operations which are not directly related to bugs. This class defines methods for many administration operations.
BugQuery| Method Summary | |
void |
addCc(int bugId,
int profileId)
adds a profile to the cc list of a bug. |
java.util.List |
getAllComponents()
gets a list of all components in the system regardless of which product they belong to. |
BugQuery |
getBugQuery()
gets an instance of the BugQuery with transport configuration of actual implementation. |
java.util.List |
getComponentNames(java.lang.String product)
gets a list of component names. |
java.util.List |
getComponents(java.lang.String product)
gets all components for a product. |
java.util.List |
getMilestoneNames(java.lang.String product)
gets a list of milestone names for the given product. |
java.util.List |
getMilestones(java.lang.String product)
gets all milestones for a given product. |
java.util.List |
getProductNames()
gets a List of strings of product names in database. |
java.util.List |
getProducts()
gets a List of Products in database. |
Profile |
getProfile(int userId)
gets the profile for a given user id. |
java.util.List |
getProfiles()
gets all profiles in database. |
int |
getUserId(java.lang.String login)
gets the id of the user given it's login. |
java.util.List |
getVersionNames(java.lang.String product)
gets a list of version names for a given product |
java.util.List |
getVersions(java.lang.String product)
gets all versions for a given product. |
void |
removeCc(int bugId,
int profileId)
removes a profile from the cc list of a bug. |
| Method Detail |
public java.util.List getProducts()
throws JagzillaException
JagzillaException - if an error occursProduct,
Product
public java.util.List getProductNames()
throws JagzillaException
JagzillaException - if an error occurs
public java.util.List getComponents(java.lang.String product)
throws JagzillaException,
NoSuchProductException
product - the product for which components are queried
NoSuchProductException - if the product specified in product cannot be found
JagzillaException - if an error occursComponent,
Component
public java.util.List getAllComponents()
throws JagzillaException
JagzillaExceptionComponent
public java.util.List getComponentNames(java.lang.String product)
throws JagzillaException,
NoSuchProductException
product -
JagzillaException
NoSuchProductException - if the product specified in product cannot be found
public java.util.List getVersions(java.lang.String product)
throws JagzillaException,
NoSuchProductException
product - to query versions from
NoSuchProductException - if the product specified in product cannot be found
JagzillaException - if an error occursVersion,
Version
public java.util.List getVersionNames(java.lang.String product)
throws JagzillaException,
NoSuchProductException
product -
JagzillaException
NoSuchProductException - if the product specified in product cannot be found
public java.util.List getMilestones(java.lang.String product)
throws JagzillaException,
NoSuchProductException
product - to query milestones from
NoSuchProductException - if the product specified in product cannot be found
JagzillaException - if an error occursMilestone
public java.util.List getMilestoneNames(java.lang.String product)
throws JagzillaException,
NoSuchProductException
product -
JagzillaException
NoSuchProductException - if the product specified in product cannot be found
public java.util.List getProfiles()
throws JagzillaException
JagzillaException - if an error occursProfile
public Profile getProfile(int userId)
throws JagzillaException,
NoSuchProfileException
userId -
NoSuchProfileException - if the userid specified in userId cannot be found
JagzillaException - if an error occursProfile
public int getUserId(java.lang.String login)
throws JagzillaException,
NoSuchProfileException,
InconsistencyException
login - the user login to search
JagzillaException - if an error occurs
NoSuchProfileException - if there is no user with the specified login
InconsistencyException - if there is more than one user with the specified login
public void addCc(int bugId,
int profileId)
throws JagzillaException,
NoSuchBugException,
NoSuchProfileException
bugId - id of the bugprofileId - id of the profile to be added to the cclist
JagzillaException - if an error occurs
NoSuchBugException - if the bug cannot be found
NoSuchProfileException - if the profile id cannot be found
public void removeCc(int bugId,
int profileId)
throws JagzillaException,
NoSuchBugException,
NoSuchProfileException
bugId - id of the bugprofileId - id of the profile to be added to the cclist
JagzillaException - if an error occurs
NoSuchBugException - if the bug cannot be found
NoSuchProfileException - if the profile id cannot be found
public BugQuery getBugQuery()
throws JagzillaException
JagzillaException - if an error occursBugQuery
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||