|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is supposed to be implemented by (generated) polymorphic classes. It permits to append the filter expession at runtime when creating the queries representing full-extents of polymorphic classes. Filters are defined on a statement basis: a query can be defined as an union of select/from/where statements, each may having filters to be added. Thus statements are named so that we can add the correct filtering expression to the right statement.
Method Summary | |
void |
appendExtentFilters(java.lang.String stmtName,
java.lang.StringBuffer sb)
This method is called when creating queries. |
java.lang.String |
getExtentQuery(boolean withPrefetch)
Returns the query computed in the pcm. |
java.lang.String |
getPNameFields()
Returns the primary key of the class as a String of type "x1, x2" where x1 and x2 compose the primary key. |
Method Detail |
public void appendExtentFilters(java.lang.String stmtName, java.lang.StringBuffer sb)
stmtName
- the name of the statement in the query definitionsb
- the string buffer to which adding the filtering expression.public java.lang.String getPNameFields()
public java.lang.String getExtentQuery(boolean withPrefetch) throws PException
PException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |