Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
Contents Index PreviousNext

Part 2 Developing Applications by APIs> Chapter 9 Developing Java Applications> 9.3 How to Use Java APIs> 9.3.2 Data Searches

9.3.2.3 Obtaining Search Results While Adding Search Conditions

When a search produces a large number of hits, it is sometimes useful to be able to narrow down the scope of the search by adding more search conditions.

In such cases, perform a new search process by creating a new search expression and adding extra search conditions to the search expression specified with the prepareSearch method. By repeating this operation, the user can narrow the scope of the search while referring to the search results displayed on the screen.

The following diagram shows the process for obtaining search results while adding search conditions.

[Figure 9-5 Flow of the Process for Obtaining Search Results While Adding Search Conditions]

mark1Sample Code

Sample code to add conditions while obtaining search results is provided in 9.3.2.2 Obtaining Search Results According to the Number of Data Items. Conditions should be added to the search expression specified by the prepareSearch method.

mark1Sample Codes for Studio

Sample code to add conditions while obtaining search results when using Studio is provided in 9.3.2.2 Obtaining Search Results According to the Number of Data Items

Conditions should be added to the search expression specified by the search method of the Shunsaku access class.


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006