| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.util.TransactionalServiceUtils
public final class TransactionalServiceUtils
This class provides utility methods to support the operation of transactional services
| 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 | 
| 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 | |||||||||