com.mysema.query.jdoql.dml
Class JDOQLDeleteClause

java.lang.Object
  extended by 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

Constructor Summary
JDOQLDeleteClause(javax.jdo.PersistenceManager pm, PEntity<?> entity)
           
JDOQLDeleteClause(javax.jdo.PersistenceManager persistenceManager, PEntity<?> entity, JDOQLTemplates templates)
           
 
Method Summary
 long execute()
          Execute the delete clause and return the amount of deleted rows/items
 JDOQLDeleteClause where(EBoolean... o)
          Defines the filter constraints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDOQLDeleteClause

public JDOQLDeleteClause(javax.jdo.PersistenceManager pm,
                         PEntity<?> entity)

JDOQLDeleteClause

public JDOQLDeleteClause(javax.jdo.PersistenceManager persistenceManager,
                         PEntity<?> entity,
                         JDOQLTemplates templates)
Method Detail

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-2010 Mysema Ltd. All Rights Reserved.