You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Kiran Ayyagari (JIRA)" <ji...@apache.org> on 2014/11/02 07:37:33 UTC

[jira] [Resolved] (DIRAPI-184) Supply one method in SearchCursor to judge it has element or not.

     [ https://issues.apache.org/jira/browse/DIRAPI-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kiran Ayyagari resolved DIRAPI-184.
-----------------------------------
       Resolution: Won't Fix
    Fix Version/s: 1.0.0-M25
         Assignee: Kiran Ayyagari

bq. Before I thought of the way to backtrack with previous() after calling next(), but I found it will casue exception when invoking previous(). So looks like it can't be supported in SearchCursor.

Yes, it is not supported on the client side, cause the entry is fetched over network.

Closing it as won't fix.

> Supply one method in SearchCursor to judge it has element or not.
> -----------------------------------------------------------------
>
>                 Key: DIRAPI-184
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-184
>             Project: Directory Client API
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-M21
>            Reporter: Robert Hou
>            Assignee: Kiran Ayyagari
>             Fix For: 1.0.0-M25
>
>
> In some case, I need one method in org.apache.directory.api.ldap.model.cursor.SearchCursor to judge it has element or not. If not, I would not process the later logic.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)