public class JDODeleteClause extends java.lang.Object implements DeleteClause<JDODeleteClause>
Constructor and Description |
---|
JDODeleteClause(javax.jdo.PersistenceManager pm,
EntityPath<?> entity) |
JDODeleteClause(javax.jdo.PersistenceManager persistenceManager,
EntityPath<?> entity,
JDOQLTemplates templates) |
Modifier and Type | Method and Description |
---|---|
long |
execute()
Execute the clause and return the amount of affected rows
|
java.lang.String |
toString() |
JDODeleteClause |
where(Predicate... o)
Adds the given filter conditions
|
public JDODeleteClause(javax.jdo.PersistenceManager pm, EntityPath<?> entity)
public JDODeleteClause(javax.jdo.PersistenceManager persistenceManager, EntityPath<?> entity, JDOQLTemplates templates)
public long execute()
DMLClause
execute
in interface DMLClause<JDODeleteClause>
public JDODeleteClause where(Predicate... o)
FilteredClause
Skips null arguments
where
in interface FilteredClause<JDODeleteClause>
o
- filter conditions to be addedpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.