|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--uk.co.kimble.cobra.SQLStatement
|
+--uk.co.kimble.cobra.SQLDeleteStatement
Constructs delete statements from primary key values in the object or from criteria
| Fields inherited from class uk.co.kimble.cobra.SQLStatement |
class_dictionary,
sql |
| Constructor Summary | |
SQLDeleteStatement(uk.co.kimble.cobra.ClassDictionary cd)
Construct a basic SQL Delete string |
|
| Method Summary | |
java.lang.String |
buildForCriteria(PersistentCriteria criteria)
Build a delete statement based on some criteria. |
java.lang.String |
buildForObject()
Build a delete statement for a single object, will use primary key(s) |
| Methods inherited from class uk.co.kimble.cobra.SQLStatement |
asSQLClause,
asSQLStatement,
getClassDictionary,
setKeyValues,
setValues |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public SQLDeleteStatement(uk.co.kimble.cobra.ClassDictionary cd)
throws PersistentException
cd - Class Dictionary for class| Method Detail |
public java.lang.String buildForCriteria(PersistentCriteria criteria)
criteria - Set of criteria to restrict delete
public java.lang.String buildForObject()
throws PersistentException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||