|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.db.CmsCompositeQueryFragment
public class CmsCompositeQueryFragment
A query fragment which aggregates the results from a list of other query fragments.
Constructor Summary | |
---|---|
CmsCompositeQueryFragment()
|
Method Summary | |
---|---|
void |
add(I_CmsQueryFragment node)
Adds a new query fragment. |
List<I_CmsQueryFragment> |
getNodes()
Returns the wrapped query fragments. |
void |
setPrefix(String prefix)
Sets the prefix string (will be inserted before the other fragments). |
void |
setSeparator(String separator)
Sets the separator which should be inserted between the constituent query fragments. |
void |
setSuffix(String suffix)
Sets the suffix string (will be inserted after the other fragments). |
void |
visit(CmsStatementBuilder builder)
Generates the SQL and parameters and sends them to the statement builder . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsCompositeQueryFragment()
Method Detail |
---|
public void add(I_CmsQueryFragment node)
node
- the query fragmentpublic List<I_CmsQueryFragment> getNodes()
public void setPrefix(String prefix)
prefix
- the prefix stringpublic void setSeparator(String separator)
separator
- the separator stringpublic void setSuffix(String suffix)
suffix
- the suffix stringpublic void visit(CmsStatementBuilder builder)
I_CmsQueryFragment
visit
in interface I_CmsQueryFragment
builder
- the statement builderI_CmsQueryFragment.visit(org.opencms.db.CmsStatementBuilder)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |