| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cayenne.query.AbstractQuery
org.apache.cayenne.query.QualifiedQuery
org.apache.cayenne.query.DeleteQuery
public class DeleteQuery
| Field Summary | 
|---|
| Fields inherited from class org.apache.cayenne.query.QualifiedQuery | 
|---|
| qualifier | 
| Fields inherited from class org.apache.cayenne.query.AbstractQuery | 
|---|
| name, root | 
| Constructor Summary | |
|---|---|
| DeleteQuery()Deprecated. Creates empty DeleteQuery. | |
| DeleteQuery(Class rootClass)Deprecated. Creates a DeleteQuery with null qualifier, for the entity which uses the given class | |
| DeleteQuery(Class rootClass,
            Expression qualifier)Deprecated. Creates a DeleteQuery for the entity which uses the given class, with the given qualifier | |
| DeleteQuery(ObjEntity root)Deprecated. Creates a DeleteQuery with null qualifier, for the specifed ObjEntity | |
| DeleteQuery(ObjEntity root,
            Expression qualifier)Deprecated. Creates a DeleteQuery for the specifed ObjEntity with the given qualifier | |
| DeleteQuery(String objEntityName)Deprecated. Creates DeleteQuery with objEntityNameparameter. | |
| DeleteQuery(String objEntityName,
            Expression qualifier)Deprecated. Creates DeleteQuery with objEntityNameandqualifierparameters. | |
| Method Summary | |
|---|---|
|  SQLAction | createSQLAction(SQLActionVisitor visitor)Deprecated. Calls "makeUpdate" on the visitor. | 
| Methods inherited from class org.apache.cayenne.query.QualifiedQuery | 
|---|
| andQualifier, getQualifier, orQualifier, setQualifier | 
| Methods inherited from class org.apache.cayenne.query.AbstractQuery | 
|---|
| getMetaData, getName, getRoot, route, setName, setRoot, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public DeleteQuery()
public DeleteQuery(ObjEntity root)
root - the ObjEntity this DeleteQuery is for.
public DeleteQuery(ObjEntity root,
                   Expression qualifier)
root - the ObjEntity this DeleteQuery is for.qualifier - an Expression indicating which objects should be deletedpublic DeleteQuery(Class rootClass)
rootClass - the Class of objects this DeleteQuery is for.
public DeleteQuery(Class rootClass,
                   Expression qualifier)
rootClass - the Class of objects this DeleteQuery is for.qualifier - an Expression indicating which objects should be deletedpublic DeleteQuery(String objEntityName)
objEntityName parameter.
public DeleteQuery(String objEntityName,
                   Expression qualifier)
objEntityName and qualifier
 parameters.
| Method Detail | 
|---|
public SQLAction createSQLAction(SQLActionVisitor visitor)
createSQLAction in interface QuerycreateSQLAction in class AbstractQuery| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||