JavaTM Platform
Standard Ed. 6

类 javax.naming.directory.SearchResult
的使用

使用 SearchResult 的软件包
javax.naming.directory 扩展 javax.naming 包以提供访问目录服务的功能。 
 

javax.naming.directorySearchResult 的使用
 

返回变量类型为 SearchResult 的类型的 javax.naming.directory 中的方法
 NamingEnumeration<SearchResult> DirContext.search(Name name, Attributes matchingAttributes)
          在单个上下文中搜索包含指定属性集的对象。
 NamingEnumeration<SearchResult> InitialDirContext.search(Name name, Attributes matchingAttributes)
           
 NamingEnumeration<SearchResult> DirContext.search(Name name, Attributes matchingAttributes, String[] attributesToReturn)
          在单个上下文中搜索包含指定属性集的对象,并检索选定的属性。
 NamingEnumeration<SearchResult> InitialDirContext.search(Name name, Attributes matchingAttributes, String[] attributesToReturn)
           
 NamingEnumeration<SearchResult> DirContext.search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)
          在命名上下文或对象中搜索符合给定搜索过滤器的项。
 NamingEnumeration<SearchResult> InitialDirContext.search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)
           
 NamingEnumeration<SearchResult> DirContext.search(Name name, String filter, SearchControls cons)
          在命名上下文或对象中搜索符合给定搜索过滤器的项。
 NamingEnumeration<SearchResult> InitialDirContext.search(Name name, String filter, SearchControls cons)
           
 NamingEnumeration<SearchResult> DirContext.search(String name, Attributes matchingAttributes)
          在单个上下文中搜索包含指定属性集的对象。
 NamingEnumeration<SearchResult> InitialDirContext.search(String name, Attributes matchingAttributes)
           
 NamingEnumeration<SearchResult> DirContext.search(String name, Attributes matchingAttributes, String[] attributesToReturn)
          在单个上下文中搜索包含指定属性集的对象,并检索选定的属性。
 NamingEnumeration<SearchResult> InitialDirContext.search(String name, Attributes matchingAttributes, String[] attributesToReturn)
           
 NamingEnumeration<SearchResult> DirContext.search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)
          在命名上下文或对象中搜索符合给定搜索过滤器的项。
 NamingEnumeration<SearchResult> InitialDirContext.search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)
           
 NamingEnumeration<SearchResult> DirContext.search(String name, String filter, SearchControls cons)
          在命名上下文或对象中搜索符合给定搜索过滤器的项。
 NamingEnumeration<SearchResult> InitialDirContext.search(String name, String filter, SearchControls cons)
           
 


JavaTM Platform
Standard Ed. 6


© ChiefLeo 沪ICP备19010539号-1 - ChiefLeo博客 - ChiefLeo上网导航 - ChiefLeo知识库 - ChiefLeo新闻 - ChiefLeo精选视频