Package org.exoplatform.task.dao.jpa
Class JPAQueryListAccess<E>
- java.lang.Object
-
- org.exoplatform.task.dao.jpa.JPAQueryListAccess<E>
-
- All Implemented Interfaces:
org.exoplatform.commons.utils.ListAccess<E>
public class JPAQueryListAccess<E> extends Object implements org.exoplatform.commons.utils.ListAccess<E>
- Author:
- Tuyen Nguyen The.
-
-
Constructor Summary
Constructors Constructor Description JPAQueryListAccess(Class<E> clazz, javax.persistence.TypedQuery<Long> countQuery, javax.persistence.TypedQuery<E> selectQuery)
-
-
-
Method Detail
-
load
public E[] load(int index, int length) throws Exception, IllegalArgumentException
- Specified by:
loadin interfaceorg.exoplatform.commons.utils.ListAccess<E>- Throws:
ExceptionIllegalArgumentException
-
-