I am trying to retrieve data from lotus notes View using the Notes java api, My problem is that I don't find a way to retrieve a specific value from a ViewEntry by a specific column name, I can get a Vector contain all the values, but I don't know which column belong each value. NB, when I'm trying to get the document from the ViewEntry and then use the method "getItemValue(Object)", it does not give me all the values, So I want to use directly the ViewEntry.
this work fine:
ViewEntryCollection viewEntryCollection = view.getAllEntries();
ViewEntry viewEntry = viewEntryCollection.getFirstEntry();
viewEntry.getColumnValues().forEach(item->{
System.out.println(item);
} );
but this give me null Pointer Exception :
viewEntry.getDocument().getColumnValues().forEach(item->{
System.out.println(item);
} );
I'm looking for something like that :
viewEntry.getColumnValue(Object columName);