|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kns.util.TransactionalServiceUtils
public class TransactionalServiceUtils
This class provides utility methods to support the operation of transactional services
Constructor Summary | |
---|---|
TransactionalServiceUtils()
|
Method Summary | ||
---|---|---|
static
|
copyToExternallyUsuableIterator(Iterator<E> iter)
Copys iterators so that they may be used outside of this class. |
|
static void |
exhaustIterator(Iterator<?> iterator)
Exhausts (i.e. |
|
static
|
retrieveFirstAndExhaustIterator(Iterator<E> iterator)
Returns the first element and exhausts an iterator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransactionalServiceUtils()
Method Detail |
---|
public static <E> Iterator<E> copyToExternallyUsuableIterator(Iterator<E> iter)
iter
- an OJB backed iterator to copy
public static <E> E retrieveFirstAndExhaustIterator(Iterator<E> iterator)
E
- the type of elements in the iteratoriterator
- the iterator to exhaust
public static void exhaustIterator(Iterator<?> iterator)
iterator
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |