if ( presenceCursor.available() )
{
return presenceCursor.get();
}
throw new InvalidCursorPositionException( I18n.err( I18n.ERR_708 ) );
}
if ( available() )
{
if ( prefetched == null )
{
prefetched = uuidCursor.get();
}
/*
* The value of NDN indices is the normalized dn and we want the
* value to be the value of the attribute in question. So we will
* set that accordingly here.
*/
prefetched.setKey( presenceEvaluator.getAttributeType().getOid() );
return prefetched;
}
throw new InvalidCursorPositionException( I18n.err( I18n.ERR_708 ) );
}