public abstract class AbstractDaoBuffer<T extends FetchingElement> extends Object implements FetchingBuffer<T>
| Modifier and Type | Field and Description |
|---|---|
protected AbstractPersistence<T> |
dao |
protected org.apache.log4j.Logger |
logger |
| Constructor and Description |
|---|
AbstractDaoBuffer(AbstractPersistence<T> dao) |
protected org.apache.log4j.Logger logger
protected AbstractPersistence<T extends FetchingElement> dao
public AbstractDaoBuffer(AbstractPersistence<T> dao)
public void add(T item) throws Exception
add in interface FetchingBuffer<T extends FetchingElement>Exceptionpublic int size()
throws Exception
size in interface FetchingBuffer<T extends FetchingElement>Exceptionpublic List<T> getList() throws Exception
getList in interface FetchingBuffer<T extends FetchingElement>Exceptionpublic List<T> getList(int startIndex, int offset) throws Exception
getList in interface FetchingBuffer<T extends FetchingElement>ExceptionCopyright © 2015. All Rights Reserved.