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.)
-
CLASS
-
-
DATABASE
-
-
GLOBAL
-
-
QueryObject()
- Constructor for QueryObject
-
execQuery(String, String, int, String, String)
-
Executes the query requested
-
getObjFields()
-
Determines how the fields of the objects should be filled after
a (network) load
To be declared by object developer
-
parseQuery(StreamTokenizer)
-
Method that parses the query reult
for QueryObjects
To be overloaded in QueryObject.java
-
setObjFields()
- Sets up the object's fields into internal data structure.
GLOBAL
public final static int GLOBAL
CLASS
public final static int CLASS
DATABASE
public final static int DATABASE
QueryObject
public QueryObject()
- Constructor for QueryObject
execQuery
public int execQuery(String userId,
String objectClassName,
int scope,
String fieldName,
String strId)
- Executes the query requested
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
setObjFields
protected void setObjFields()
- Sets up the object's fields into internal data structure.
- Overrides:
- setObjFields in class PersistentObject
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