version 1.63, 2004/10/17 20:39:54
|
version 1.64, 2004/12/14 13:26:27
|
|
|
#include <Pegasus/Common/ContentLanguages.h> // l10n | #include <Pegasus/Common/ContentLanguages.h> // l10n |
#include <Pegasus/Server/ProviderRegistrationManager/ProviderRegistrationManager.h> | #include <Pegasus/Server/ProviderRegistrationManager/ProviderRegistrationManager.h> |
#include <Pegasus/Server/Linkage.h> | #include <Pegasus/Server/Linkage.h> |
#include <Pegasus/WQL/WQLParser.h> |
#include <Pegasus/Query/QueryExpression/QueryExpression.h> |
#include <Pegasus/WQL/WQLSelectStatement.h> |
|
#include <Pegasus/WQL/WQLSimplePropertySource.h> |
|
| |
#include "ProviderClassList.h" | #include "ProviderClassList.h" |
#include "IndicationOperationAggregate.h" | #include "IndicationOperationAggregate.h" |
|
|
const CIMPropertyList & supportedProperties); | const CIMPropertyList & supportedProperties); |
| |
/** | /** |
Parses the filter query string, and returns the corresponding |
Builds a QueryExpression from the filter query string, |
WQLSelectStatement object. |
the query language name, and the namespace in which the query |
|
is to be run. |
| |
@param filterQuery the filter query string | @param filterQuery the filter query string |
|
@param queryLanguage the query language name |
|
@param ns query namespace |
| |
@return WQLSelectStatement representing the filter query |
@return QueryExpression representing the filter query |
*/ | */ |
WQLSelectStatement _getSelectStatement ( |
QueryExpression _getQueryExpression (const String& filterQuery, |
const String & filterQuery) const; |
const String& queryLanguage, |
|
const CIMNamespaceName ns) const; |
| |
/** | /** |
Extracts the indication class name from the specified WQL select |
Extracts the indication class name from the specified query expression |
statement, and validates that the name represents a subclass of the |
(WQL or CQL), and validates that the name represents a subclass of the |
Indication class. | Indication class. |
| |
@param selectStatement the WQL select statement |
@param queryExpression the query expression |
@param nameSpaceName the namespace | @param nameSpaceName the namespace |
| |
@return String containing the indication class name | @return String containing the indication class name |
*/ | */ |
CIMName _getIndicationClassName ( | CIMName _getIndicationClassName ( |
const WQLSelectStatement & selectStatement, |
const QueryExpression & queryExpression, |
const CIMNamespaceName & nameSpaceName) const; | const CIMNamespaceName & nameSpaceName) const; |
| |
/** | /** |
Retrieves the list of indication providers that serve the specified | Retrieves the list of indication providers that serve the specified |
indication subclasses. | indication subclasses. |
| |
@param nameSpaceName the namespace name |
@param queryExpression the query expression |
|
@param nameSpace the namespace name |
@param indicationClassName the indication class name | @param indicationClassName the indication class name |
@param indicationSubclasses the list of indication subclass names | @param indicationSubclasses the list of indication subclass names |
@param requiredPropertyList the properties required |
|
| |
@return list of ProviderClassList structs | @return list of ProviderClassList structs |
*/ | */ |
Array <ProviderClassList> _getIndicationProviders ( | Array <ProviderClassList> _getIndicationProviders ( |
|
const QueryExpression & queryExpression, |
const CIMNamespaceName & nameSpace, | const CIMNamespaceName & nameSpace, |
const CIMName & indicationClassName, | const CIMName & indicationClassName, |
const Array <CIMName> & indicationSubclasses, |
const Array <CIMName> & indicationSubclasses) const; |
const CIMPropertyList & requiredPropertyList) const; |
|
| |
/** | /** |
Retrieves the list of properties referenced by the specified | Retrieves the list of properties referenced by the specified |
filter query select statement. |
filter query expression. |
| |
@param selectStatement the WQL select statement |
@param queryExpression the query expression |
@param nameSpaceName the namespace | @param nameSpaceName the namespace |
@param indicationClassName the indciation class name |
@param indicationClassName the indication class name |
| |
@return CIMPropertyList of properties referenced by the filter query | @return CIMPropertyList of properties referenced by the filter query |
select statement |
expression |
*/ | */ |
CIMPropertyList _getPropertyList ( | CIMPropertyList _getPropertyList ( |
const WQLSelectStatement & selectStatement, |
const QueryExpression & queryExpression, |
const CIMNamespaceName & nameSpaceName, | const CIMNamespaceName & nameSpaceName, |
const CIMName & indicationClassName) const; | const CIMName & indicationClassName) const; |
| |
|
|
(const Array <ProviderClassList> & disableProviders, | (const Array <ProviderClassList> & disableProviders, |
const CIMRequestMessage * origRequest); | const CIMRequestMessage * origRequest); |
| |
WQLSimplePropertySource _getPropertySourceFromInstance( |
|
CIMInstance & indicationInstance); |
|
|
|
/** | /** |
Gets the value of the Creator property from the specified Subscription | Gets the value of the Creator property from the specified Subscription |
instance. If this function returns False, the value of the creator | instance. If this function returns False, the value of the creator |
|
|
ProviderRegistrationManager * _providerRegManager; | ProviderRegistrationManager * _providerRegManager; |
| |
/** | /** |
|
Pointer to CIMRepository, for use in building QueryExpression. |
|
*/ |
|
CIMRepository* _cimRepository; |
|
|
|
/** |
Integer representing queue ID for accessing Provider Manager Service | Integer representing queue ID for accessing Provider Manager Service |
*/ | */ |
Uint32 _providerManager; | Uint32 _providerManager; |