Class QueryObject

Class QueryObject

java.lang.Object
   |
   +----PersistentObject
           |
           +----QueryObject

public class QueryObject
extends PersistentObject
QueryObject Class This is a class which is used to query data at a remote server (extends PersistentObject only to take advantage of the built-in network capabilities. Not meant to be saved or loaded.)

Variable Index

 o CLASS
 o DATABASE
 o GLOBAL

Constructor Index

 o QueryObject()
Constructor for QueryObject

Method Index

 o execQuery(String, String, int, String, String)
Executes the query requested
 o getObjFields()
Determines how the fields of the objects should be filled after a (network) load To be declared by object developer
 o parseQuery(StreamTokenizer)
Method that parses the query reult for QueryObjects To be overloaded in QueryObject.java
 o setObjFields()
Sets up the object's fields into internal data structure.

Variables

 o GLOBAL
  public final static int GLOBAL
 o CLASS
  public final static int CLASS
 o DATABASE
  public final static int DATABASE

Constructors

 o QueryObject
  public QueryObject()
Constructor for QueryObject

Methods

 o execQuery
  public int execQuery(String userId,
                       String objectClassName,
                       int scope,
                       String fieldName,
                       String strId)
Executes the query requested
 o parseQuery
  protected Vector parseQuery(StreamTokenizer strToke)
Method that parses the query reult for QueryObjects To be overloaded in QueryObject.java
Overrides:
parseQuery in class PersistentObject
 o setObjFields
  protected void setObjFields()
Sets up the object's fields into internal data structure.
Overrides:
setObjFields in class PersistentObject
 o getObjFields
  protected void getObjFields()
Determines how the fields of the objects should be filled after a (network) load To be declared by object developer
Overrides:
getObjFields in class PersistentObject