public class CmsCompositeQueryFragment extends java.lang.Object implements I_CmsQueryFragment
| 构造器和说明 |
|---|
CmsCompositeQueryFragment() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(I_CmsQueryFragment node)
Adds a new query fragment.
|
java.util.List<I_CmsQueryFragment> |
getNodes()
Returns the wrapped query fragments.
|
void |
setPrefix(java.lang.String prefix)
Sets the prefix string (will be inserted before the other fragments).
|
void |
setSeparator(java.lang.String separator)
Sets the separator which should be inserted between the constituent query fragments.
|
void |
setSuffix(java.lang.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 .
|
public void add(I_CmsQueryFragment node)
node - the query fragmentpublic java.util.List<I_CmsQueryFragment> getNodes()
public void setPrefix(java.lang.String prefix)
prefix - the prefix stringpublic void setSeparator(java.lang.String separator)
separator - the separator stringpublic void setSuffix(java.lang.String suffix)
suffix - the suffix stringpublic void visit(CmsStatementBuilder builder)
I_CmsQueryFragmentvisit 在接口中 I_CmsQueryFragmentbuilder - the statement builderI_CmsQueryFragment.visit(org.opencms.db.CmsStatementBuilder)