public abstract class AbstractSelectableDaoBuffer<T extends SelectableElement> extends AbstractDaoBuffer<T> implements SelectableFetchingBuffer<T>
| Modifier and Type | Field and Description |
|---|---|
protected String |
idField |
protected String |
selectionField |
dao, logger| Constructor and Description |
|---|
AbstractSelectableDaoBuffer(AbstractPersistence<T> dao,
String idField,
String selectionField) |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
getSelected() |
int |
sizeSelected() |
abstract void |
updateAllSelection(boolean selection) |
void |
updateSelection(int id,
boolean selection) |
add, getList, getList, getList, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateAllSelectionByIdspublic AbstractSelectableDaoBuffer(AbstractPersistence<T> dao, String idField, String selectionField)
public List<T> getSelected() throws SQLException
getSelected in interface SelectableFetchingBuffer<T extends SelectableElement>SQLExceptionpublic void updateSelection(int id,
boolean selection)
throws Exception
updateSelection in interface SelectableFetchingBuffer<T extends SelectableElement>Exceptionpublic abstract void updateAllSelection(boolean selection)
throws Exception
updateAllSelection in interface SelectableFetchingBuffer<T extends SelectableElement>Exceptionpublic int sizeSelected()
throws Exception
sizeSelected in interface SelectableFetchingBuffer<T extends SelectableElement>ExceptionCopyright © 2015. All Rights Reserved.