com.mysema.query.jdoql.dml
Class JDOQLDeleteClause
java.lang.Object
com.mysema.query.jdoql.dml.JDOQLDeleteClause
- All Implemented Interfaces:
- DeleteClause<JDOQLDeleteClause>
public class JDOQLDeleteClause
- extends Object
- implements DeleteClause<JDOQLDeleteClause>
DeleteClause implementation for JDO
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDOQLDeleteClause
public JDOQLDeleteClause(javax.jdo.PersistenceManager pm,
PEntity<?> entity)
JDOQLDeleteClause
public JDOQLDeleteClause(javax.jdo.PersistenceManager pm,
PEntity<?> entity,
JDOQLTemplates templates)
execute
public long execute()
- Description copied from interface:
DeleteClause
- Execute the delete clause and return the amount of deleted rows/items
- Specified by:
execute
in interface DeleteClause<JDOQLDeleteClause>
- Returns:
where
public JDOQLDeleteClause where(EBoolean... o)
- Description copied from interface:
DeleteClause
- Defines the filter constraints
- Specified by:
where
in interface DeleteClause<JDOQLDeleteClause>
- Returns:
Copyright © 2007-2009 Mysema Ltd. All Rights Reserved.