All Frameworks  Class Hierarchy  This Framework  Next  Indexes

VPMDesktopObjects Class ENOVApplicationQuery

ENOVApplicationQuery
 

Usage: you must use this class as is. You should never derive it.


public class ENOVApplicationQuery

Class to provide applicative query functionality.
Role: At the Application Server level, this class provides a service to get the number of objects in database that match certain criteria.


Method Index


o SelectCount(CATUnicodeString&,CATIVpmPredicate_var&,CATUnicodeString&,int,long&)
Gives the number of objects returned by a query, without loading those objects.

Methods


o SelectCount
public static int SelectCount( const CATUnicodeString& iLateType,
const CATIVpmPredicate_var& iPredicate,
const CATUnicodeString& iModelerName,
const int iCaseSensitive,
long& oResultsCount)
Gives the number of objects returned by a query, without loading those objects.
Parameters:
iLateType
The type late of the object concerned by the query.
iPredicate
The conditions put on the query (where-clause).
iModelerName
The modeler in which the object is declared.
iCaseSensitive
1 if the query must be case sensitive, 0 otherwise.
oResultsCount
The number of objects returned by the query.
Returns:
1 Everything is OK, 0 An error occured (name unknown for example).

This object is included in the file: ENOVApplicationQuery.h
If needed, your Imakefile.mk should include the module: VDO0Commands

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