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>
Exception
public int size() throws Exception
size
in interface FetchingBuffer<T extends FetchingElement>
Exception
public List<T> getList() throws Exception
getList
in interface FetchingBuffer<T extends FetchingElement>
Exception
public List<T> getList(int startIndex, int offset) throws Exception
getList
in interface FetchingBuffer<T extends FetchingElement>
Exception
Copyright © 2016. All Rights Reserved.