|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.imaginary.lwp.BaseReference | +--com.jwpepper.inv.QueryReference
Constructor Summary | |
QueryReference()
Empty constructor required by serialization. |
|
QueryReference(long oid)
Constructs a reference that will point to the query with the specified objectID . |
|
QueryReference(Query ent)
Constructs a reference that will point to the specified query. |
Method Summary | |
void |
assign(long oid,
com.sun.java.util.collections.HashMap vals)
Assigns a reference that will point to the query whose values are represented in the specified map. |
void |
generateResults(Identifier id)
Generates a new set of results based on the query criteria. |
SearchCriteria |
getCriteria()
Provides the criteria for the query |
java.lang.String |
getName()
Provides the name of the query. |
java.lang.String |
getUser()
Provides the user ID of the user who owns the query |
com.sun.java.util.collections.Iterator |
lastResults()
Provides the most recent list of products generated as results to this query. |
Methods inherited from class com.imaginary.lwp.BaseReference |
assign,
assign,
get,
getEntity,
getLastUpdateID,
getLastUpdateTime,
getObjectID,
put,
reconnect |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public QueryReference()
public QueryReference(long oid)
objectID
.oid
- the objectID
of the target querypublic QueryReference(Query ent) throws java.rmi.RemoteException
ent
- the query to be pointed atMethod Detail |
public void assign(long oid, com.sun.java.util.collections.HashMap vals)
id
- the objectID
of the queryvals
- the mapping of query valuespublic void generateResults(Identifier id) throws FindException, PersistenceException, java.rmi.RemoteException
id
- the client identifier to use for saving the new
resultspublic SearchCriteria getCriteria() throws java.rmi.RemoteException
public java.lang.String getName() throws java.rmi.RemoteException
public java.lang.String getUser() throws java.rmi.RemoteException
public com.sun.java.util.collections.Iterator lastResults() throws java.rmi.RemoteException
generateResults()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |