|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.query.PageableQuerySpec
wt.query.ObjectReferenceSpec
This class provides functionality for Object Reference queries.
The use of an ObjectReference query involves a primary statement. The primary statement is the query that returns an ObjectReference as one of its columns. The objectReferenceResultIndex refers to that column.
The primary class is the class type of the ObjectReference. The "inflated" objects can only be of that class or descendant classes. The associated whereClause can provide optional search condtions which are applied to the "inflate" statements.
Internally, two specialized statement implementations are used, ObjectReferenceCursor and ObjectReferenceStatementBuilder.
As of R6.0, this class is deprecated. The paging mechanism implemented
by BasicPageableQuerySpec should be used.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
Deprecated. |
static long |
EXTERNALIZATION_VERSION_UID
Deprecated. |
private ObjectReferenceStatementBuilder |
inflateStatementBuilder
Deprecated. |
private ObjectReferenceCursor |
objectReferenceResultCursor
Deprecated. |
protected static long |
OLD_FORMAT_VERSION_UID
Deprecated. |
private static String |
RESOURCE
Deprecated. |
(package private) static long |
serialVersionUID
Deprecated. |
Fields inherited from class wt.query.PageableQuerySpec |
|
Fields inherited from interface wt.pds.StatementSpec |
ADVANCED_QUERY, ADVANCED_QUERY_ENABLED, AGGREGATE_SELECT, CORRELATED_CLASS_ATTRIBUTES, FETCH_SIZE, PRIMARY_CLASS, QUERY_LIMIT, RESULT_BUILDER, RESULT_CURSOR, SINGLE_RESULT_COMPATIBLE, STATEMENT_BUILDER, USE_BIND |
Constructor Summary | |
ObjectReferenceSpec()
Deprecated. |
Method Summary | |
void |
append(WhereExpression a_where)
Deprecated. |
ObjectReferenceStatementBuilder |
getInflateStatementBuilder()
Deprecated. |
int |
getObjectIdentifierResultIndex()
Deprecated. |
Class |
getPrimaryClass()
Deprecated. |
ResultBuilder |
getResultBuilder()
Deprecated. |
ResultCursor |
getResultCursor()
Deprecated. |
void |
readExternal(ObjectInput input)
Deprecated. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Deprecated. Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(ObjectReferenceSpec thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Deprecated. |
void |
setObjectIdentifierResultIndex(int a_ObjectIdentifierResultIndex)
Deprecated. |
void |
setPrimaryClass(Class a_PrimaryClass)
Deprecated. |
void |
setPrimaryStatement(StatementSpec a_PrimaryStatement)
Deprecated. Sets the object for the association that plays role: primaryStatement. |
void |
writeExternal(ObjectOutput output)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private ObjectReferenceStatementBuilder inflateStatementBuilder
private ObjectReferenceCursor objectReferenceResultCursor
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public ObjectReferenceSpec() throws QueryException
QueryException
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class PageableQuerySpec
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class PageableQuerySpec
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ObjectReferenceSpec thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public Class getPrimaryClass()
getPrimaryClass
in interface StatementSpec
getPrimaryClass
in class PageableQuerySpec
public void setPrimaryClass(Class a_PrimaryClass) throws WTPropertyVetoException
a_PrimaryClass
-
WTPropertyVetoException
public int getObjectIdentifierResultIndex()
public void setObjectIdentifierResultIndex(int a_ObjectIdentifierResultIndex) throws WTPropertyVetoException
a_ObjectIdentifierResultIndex
-
WTPropertyVetoException
public ObjectReferenceStatementBuilder getInflateStatementBuilder()
public ResultBuilder getResultBuilder()
getResultBuilder
in interface StatementSpec
getResultBuilder
in class PageableQuerySpec
public ResultCursor getResultCursor()
getResultCursor
in interface StatementSpec
getResultCursor
in class PageableQuerySpec
public void append(WhereExpression a_where) throws QueryException
a_where
- object to append
QueryException
public void setPrimaryStatement(StatementSpec a_PrimaryStatement) throws WTPropertyVetoException
setPrimaryStatement
in class PageableQuerySpec
a_PrimaryStatement
-
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |