|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eobjects.metamodel.delete.AbstractRowDeletionBuilder
public abstract class AbstractRowDeletionBuilder
Abstract RowDeletionBuilder implementation
| Constructor Summary | |
|---|---|
AbstractRowDeletionBuilder(Table table)
|
|
| Method Summary | |
|---|---|
protected boolean |
deleteRow(Row row)
Determines if a row should be deleted or not (can be used by subclasses as a convenient determinator). |
Table |
getTable()
Gets the table that this delete statement pertains to. |
protected List<FilterItem> |
getWhereItems()
|
protected boolean |
isTruncateTableOperation()
Convenience method to tell subclasses if the delete operation represents a full table truncate operation. |
String |
toSql()
Gets a SQL representation of this delete operation. |
String |
toString()
|
FilterBuilder<RowDeletionBuilder> |
where(Column column)
Defines a where item to set as a criteria |
RowDeletionBuilder |
where(FilterItem... filterItems)
Applies where items to set criteria |
RowDeletionBuilder |
where(Iterable<FilterItem> filterItems)
Applies where items to set criteria |
FilterBuilder<RowDeletionBuilder> |
where(String columnName)
Defines a where item to set as a criteria |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eobjects.metamodel.delete.RowDeletionBuilder |
|---|
execute |
| Constructor Detail |
|---|
public AbstractRowDeletionBuilder(Table table)
| Method Detail |
|---|
protected List<FilterItem> getWhereItems()
public FilterBuilder<RowDeletionBuilder> where(Column column)
WhereClauseBuilder
where in interface WhereClauseBuilder<RowDeletionBuilder>column - a column to apply a criteria for
public FilterBuilder<RowDeletionBuilder> where(String columnName)
WhereClauseBuilder
where in interface WhereClauseBuilder<RowDeletionBuilder>columnName - the name of the colum to which the criteria will be applied
public RowDeletionBuilder where(FilterItem... filterItems)
WhereClauseBuilder
where in interface WhereClauseBuilder<RowDeletionBuilder>filterItems - the where items to set
public RowDeletionBuilder where(Iterable<FilterItem> filterItems)
WhereClauseBuilder
where in interface WhereClauseBuilder<RowDeletionBuilder>filterItems - the where items to set
public Table getTable()
RowDeletionBuilder
getTable in interface RowDeletionBuilderprotected boolean deleteRow(Row row)
row -
protected boolean isTruncateTableOperation()
public String toString()
toString in class Objectpublic String toSql()
RowDeletionBuilder
toSql in interface RowDeletionBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||