Search in sources :

Example 21 with ViewEntry

use of org.openntf.domino.ViewEntry in project org.openntf.domino by OpenNTF.

the class ViewEntryCollection method getPrevEntry.

/*
	 * (non-Javadoc)
	 *
	 * @see org.openntf.domino.ViewEntryCollection#getPrevEntry(lotus.domino.ViewEntry)
	 */
@Override
public ViewEntry getPrevEntry(final lotus.domino.ViewEntry entry) {
    try {
        ViewEntry result = fromLotus(getDelegate().getPrevEntry(toLotus(entry)), ViewEntry.SCHEMA, parent);
        entry.recycle();
        return result;
    } catch (NotesException e) {
        DominoUtils.handleException(e);
        return null;
    }
}
Also used : NotesException(lotus.domino.NotesException) ViewEntry(org.openntf.domino.ViewEntry)

Aggregations

ViewEntry (org.openntf.domino.ViewEntry)21 View (org.openntf.domino.View)7 ViewNavigator (org.openntf.domino.ViewNavigator)7 Database (org.openntf.domino.Database)5 Session (org.openntf.domino.Session)5 Test (org.junit.Test)3 ViewEntryCollection (org.openntf.domino.ViewEntryCollection)3 ViewEntryCoordinate (org.openntf.domino.big.ViewEntryCoordinate)3 ArrayList (java.util.ArrayList)2 FastSet (javolution.util.FastSet)2 NotesException (lotus.domino.NotesException)2 Edge (com.tinkerpop.blueprints.Edge)1 Vertex (com.tinkerpop.blueprints.Vertex)1 LinkedHashMap (java.util.LinkedHashMap)1 Map (java.util.Map)1 TreeMap (java.util.TreeMap)1 TreeSet (java.util.TreeSet)1 Vector (java.util.Vector)1 Document (org.openntf.domino.Document)1 DocumentCollection (org.openntf.domino.DocumentCollection)1