|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.access.util.QueryUtils
ObjectIdQuery
and
RelationshipQuery
, making this class
redundant.
public class QueryUtils
Implements helper methods that perform different query-related operations.
Constructor Summary | |
---|---|
QueryUtils()
Deprecated. |
Method Summary | |
---|---|
static SelectQuery |
selectObjectForId(ObjectId oid)
Deprecated. Creates and returns a select query that can be used to fetch an object given an ObjectId. |
static SelectQuery |
selectQueryForIds(java.util.List oids)
Deprecated. Creates and returns a select query that can be used to fetch a list of objects given a list of ObjectIds. |
static SelectQuery |
selectRelationshipObjects(QueryEngine e,
DataObject source,
java.lang.String relName)
Deprecated. Generates a SelectQuery that can be used to fetch relationship destination objects given a source object of a to-many relationship. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryUtils()
Method Detail |
---|
public static SelectQuery selectObjectForId(ObjectId oid)
public static SelectQuery selectQueryForIds(java.util.List oids)
public static SelectQuery selectRelationshipObjects(QueryEngine e, DataObject source, java.lang.String relName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |