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

Appendix M Java APIs Used in V6.0L20 and Earlier

This appendix details the JAVA APIs used in V6.0L20 and earlier.

The following table lists the Java APIs for data searches and updates that were provided in V6.0L20 and earlier. These functions are compatible with V6.0L20 and earlier.

[Table: JAVA APIs for Data Searches and Updates Provided in V6.0L20]

Package

Class

Inheritance

Constructor or method

Function

com.fujitsu.shun.api

ShunSearch

None

create

Creates an instance of this API and sets configuration information for the search server.

executeSearch1

Sends a search request to Shunsaku, and receives only the number of hits as the results.

executeSearch2

Sends a search request and a return expression to Shunsaku, and receives the number of hits, conductor control information, the record identifier, and the data for the specified item as the results.

executeSearch3

Sends the conductor control information and record identifier for the search target to Shunsaku, and receives all of the corresponding record information as the results.

getHitCount

Returns the number of hit records as the search results.

getRetNum

Returns the number of returned records as the search results.

getRecNo

Returns conductor control information and record identifiers as the search results.

getRecData

Returns the content of the response data as the search results.
The format used to return results will vary, depending on the search mode (executeSearch2 or executeSearch3) and the return expression.

ShunBatch

None

ShunBatch

Creates an instance of ShunBatch.

executeAdd

Adds the XML document stored in the specified text file to a Shunsaku record.

executeDelete

Sends a search condition for finding records to be deleted to Shunsaku and deletes the records that match the condition.


DownM.1 ShunSearch Class
DownM.2 ShunBatch Class
DownM.3 Character Encoding
DownM.4 Error Codes Output

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006