openfuture.bugbase.xobjects
Class BugBaseQuery

java.lang.Object
  |
  +--openfuture.bugbase.xobjects.BugBaseQuery
All Implemented Interfaces:
java.io.Serializable

public class BugBaseQuery
extends java.lang.Object
implements java.io.Serializable

Query object for a query to the servlet. Created: Thu Jun 08 22:50:34 2000

Version:
$Revision: 1.6 $
Author:
Wolfgang Reissenberger
See Also:
Serialized Form

Field Summary
static int QUERY_ADD_ATTACHMENT
           
static int QUERY_ADD_BUGREPORT
           
static int QUERY_ADMIN_LOGIN
           
static int QUERY_AVAILABLE_UPDATES
           
static int QUERY_BUG_REPORT
           
static int QUERY_BUG_REPORT_LIST
           
static int QUERY_CHANGE_PASSWORD
           
static int QUERY_DOCTOR_LOGIN
           
static int QUERY_DOCTORS
           
static int QUERY_EXECUTE
           
static int QUERY_GROUPDATA
           
static int QUERY_LOGIN
           
static int QUERY_MASTERDATA
           
static int QUERY_PACKAGES
           
static int QUERY_PROJECTS
           
static int QUERY_REGISTER_USER
           
static int QUERY_SAVE_USERDATA
           
static int QUERY_STATUS
           
static int QUERY_TEST
           
static int QUERY_UPDATE
           
static int QUERY_UPDATE_BUGREPORT
           
static int QUERY_UPDATE_BUGREPORTS
           
static int QUERY_USERDATA
           
static int QUERY_USERLIST
           
static int QUERY_VERSIONS
           
 
Constructor Summary
BugBaseQuery(int queryType, java.lang.Integer sessionID, java.io.Serializable queryParameter)
          Create a new query
BugBaseQuery(int queryType, java.io.Serializable queryParameter)
          Create a new query with empty session id
 
Method Summary
 java.io.Serializable getQueryParameter()
          Get the value of queryParameter.
 int getQueryType()
          Get the value of queryType.
 java.lang.Integer getSessionID()
          Get the value of sessionID.
 void setQueryParameter(java.io.Serializable v)
          Set the value of queryParameter.
 void setQueryType(int v)
          Set the value of queryType.
 void setSessionID(java.lang.Integer v)
          Set the value of sessionID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QUERY_TEST

public static final int QUERY_TEST

QUERY_USERDATA

public static final int QUERY_USERDATA

QUERY_SAVE_USERDATA

public static final int QUERY_SAVE_USERDATA

QUERY_GROUPDATA

public static final int QUERY_GROUPDATA

QUERY_LOGIN

public static final int QUERY_LOGIN

QUERY_CHANGE_PASSWORD

public static final int QUERY_CHANGE_PASSWORD

QUERY_MASTERDATA

public static final int QUERY_MASTERDATA

QUERY_BUG_REPORT_LIST

public static final int QUERY_BUG_REPORT_LIST

QUERY_UPDATE_BUGREPORTS

public static final int QUERY_UPDATE_BUGREPORTS

QUERY_ADD_BUGREPORT

public static final int QUERY_ADD_BUGREPORT

QUERY_PROJECTS

public static final int QUERY_PROJECTS

QUERY_PACKAGES

public static final int QUERY_PACKAGES

QUERY_DOCTORS

public static final int QUERY_DOCTORS

QUERY_EXECUTE

public static final int QUERY_EXECUTE

QUERY_VERSIONS

public static final int QUERY_VERSIONS

QUERY_AVAILABLE_UPDATES

public static final int QUERY_AVAILABLE_UPDATES

QUERY_UPDATE

public static final int QUERY_UPDATE

QUERY_ADMIN_LOGIN

public static final int QUERY_ADMIN_LOGIN

QUERY_DOCTOR_LOGIN

public static final int QUERY_DOCTOR_LOGIN

QUERY_ADD_ATTACHMENT

public static final int QUERY_ADD_ATTACHMENT

QUERY_UPDATE_BUGREPORT

public static final int QUERY_UPDATE_BUGREPORT

QUERY_BUG_REPORT

public static final int QUERY_BUG_REPORT

QUERY_STATUS

public static final int QUERY_STATUS

QUERY_USERLIST

public static final int QUERY_USERLIST

QUERY_REGISTER_USER

public static final int QUERY_REGISTER_USER
Constructor Detail

BugBaseQuery

public BugBaseQuery(int queryType,
                    java.lang.Integer sessionID,
                    java.io.Serializable queryParameter)
Create a new query
Parameters:
queryType - type of query (please use static QUERY_... attributes)
sessionID -  
queryParameter - container for the query parameters

BugBaseQuery

public BugBaseQuery(int queryType,
                    java.io.Serializable queryParameter)
Create a new query with empty session id
Parameters:
queryType - type of query (please use static QUERY_... attributes)
queryParameter - container for the query parameters
Method Detail

getQueryParameter

public java.io.Serializable getQueryParameter()
Get the value of queryParameter.
Returns:
Value of queryParameter.

setQueryParameter

public void setQueryParameter(java.io.Serializable v)
Set the value of queryParameter.
Parameters:
v - Value to assign to queryParameter.

getQueryType

public int getQueryType()
Get the value of queryType.
Returns:
Value of queryType.

setQueryType

public void setQueryType(int v)
Set the value of queryType.
Parameters:
v - Value to assign to queryType.

getSessionID

public java.lang.Integer getSessionID()
Get the value of sessionID.
Returns:
Value of sessionID.

setSessionID

public void setSessionID(java.lang.Integer v)
Set the value of sessionID.
Parameters:
v - Value to assign to sessionID.


Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.