Package com.dassault_systemes.catweb.databackend.dataType

   
Interface QueryDataIF

 
Class Hierarchy
com.dassault_systemes.catweb.databackend.dataType.QueryDataIF
Class Location

Framework : CATJDataAccessBasicModel

Module : PLAdatabackend

Class Description

public interface QueryDataIF

Interface to communicate beetween the Driver and the Portal Query panel.
Three methods are provided:

Field Summary

Constructor Summary

Method Summary
boolean isQueryPerPageSupported(PEType iType)
int CountResultEx(Object iSearch, PEType iType, String iEnvironment)
PEResultSet QueryEx(Object iSearch, PEType iType, String iEnvironment, QueryContext ctx)


Field Detail

Constructor Detail

Method Detail

isQueryPerPageSupported

    boolean isQueryPerPageSupported(PEType iType)

Determines whether the QueryContext criteria is supported on this type

Parameters:
iTypeId
The identifier of Object needed.
Returns:
true if the QueryContext criteria is supported; false otherwise

CountResultEx

    int CountResultEx(Object iSearch, PEType iType, String iEnvironment)

Enables to count the number of elements conforming to a criteria.

Parameters:
iSearch
The iSearch Object is an instance of String if you made a simple query or is an instance of ElementOfQuery if you made an extended query.
iTypeId
The identifier of Object needed.
iEnvironment
The environment to perform the query.
Returns:
Returns the number of elements.

QueryEx

    PEResultSet QueryEx(Object iSearch, PEType iType, String iEnvironment, QueryContext ctx)

Enables to query Root conforming to a criteria and a QueryContext.

Parameters:
iSearch
The iSearch Object is an instance of String if you made a simple query or is an instance of ElementOfQuery if you made an extended query.
iTypeId
The identifier of Object needed.
iEnvironment
The environment to perform the query.
ctx
The limits to perform the Query.
Returns:
Returns the result of the query as a PEResultSet.


Copyright © 2000, Dassault Systèmes. All rights reserved