|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.db.CmsSimpleQueryFragment
public class CmsSimpleQueryFragment
A simple query fragment which takes its SQL string and query parameters as constructor arguments.
Constructor Summary | |
---|---|
CmsSimpleQueryFragment(String fragment,
List<Object> params)
Creates a new instance. |
|
CmsSimpleQueryFragment(String fragment,
Object... params)
Creates a new instance. |
Method Summary | |
---|---|
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 CmsSimpleQueryFragment(String fragment, List<Object> params)
fragment
- the SQL fragmentparams
- the query parameterspublic CmsSimpleQueryFragment(String fragment, Object... params)
fragment
- the SQL fragmentparams
- the query parametersMethod Detail |
---|
public 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 All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |