<< Click to Display Table of Contents >>

Viewer

This class provides methods related to the OZ Server's ability to process form files and data requested by OZ Viewer.


Constructor Detail

Viewer

public Viewer(String url, String id, String pw, boolean bAutoLogin, boolean useUSL)

Performs the report file and data processing requested by OZ Viewer.

Parameters:

url - URL of OZ Server

id - User ID

pw - User Password

bAutoLogin - Whether to use the AutoLogin

useUSL - Whether to use the USL


Method Detail

getByteArrayForm

public byte[] getByteArrayForm(String reportName, String categoryName) throws OZCPException

Gets the content of the report.

Parameters:

reportName - Report name

categoryName - Category name of the report

getForm

public InputStream getForm(String reportName, String categoryName, boolean isCompress) throws OZCPException

Gets the content of the report after setting whether to compress it.

Parameters:

reportName - Report name

categoryName - Category name of the report

isCompress - Whether or not compressed

getUserParametersWithDefaultValue

public Parameter[] getUserParametersWithDefaultValue(String itemName, int itemType, String categoryName) throws OZCPException

Informs of the parameters used in the item and its default values.

Parameters:

itemName - Item name

itemType - Item type(OZR: 20001 / ODI: 10000)

categoryName - Category name of the item

isCompress - Whether or not compressed

getHCUSDM

public HCDataModule getHCUSDM(String fileName, String categoryName) throws OZCPException

Gets the SDM saved in the server to the data.

Parameters:

fileName - Report name

categoryName - Category name of the report

getDataModule

public HCDataModule getDataModule(InputStream sdmInput) throws OZCPException

Gets the data record from the SDM.

Parameters:

sdmInput - SDM stream

getDataModule

public HCDataModule getDataModule(String odiName, String categoryName, Parameter[] parameters, boolean doCompress, boolean forceRefresh) throws OZCPException

Gets the selected data record.

Parameters:

odiName - Name of the data source information file

categoryName - Category name of the data source file

parameters - User parameter to get the data record

doCompress - Whether to transmit compressed

forceRefresh - Whether to use the cache in the server

getDataModule

public HCDataModule getDataModule(String odiName, String categoryName, Parameter[] parameters, boolean doCompress, boolean forceRefresh, String[] invalidDataset, MaxRowsOfSet[] maxRows) throws OZCPException

Gets the selected data record.

Parameters:

odiName - Name of the data source information file

categoryName - Category name of the data source file

parameters - User parameter to get the data record

doCompress - Whether to transmit compressed

forceRefresh - Whether to use the cache in the server

invalidDataset - Name of the unused data set among the data sources

maxRows - Maximum number of records of the data set