(file) Return to CIMInstanceQueryProvider.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Provider

 1 martin 1.8 //%LICENSE////////////////////////////////////////////////////////////////
 2 martin 1.9 //
 3 martin 1.8 // Licensed to The Open Group (TOG) under one or more contributor license
 4            // agreements.  Refer to the OpenPegasusNOTICE.txt file distributed with
 5            // this work for additional information regarding copyright ownership.
 6            // Each contributor licenses this file to you under the OpenPegasus Open
 7            // Source License; you may not use this file except in compliance with the
 8            // License.
 9 martin 1.9 //
10 martin 1.8 // Permission is hereby granted, free of charge, to any person obtaining a
11            // copy of this software and associated documentation files (the "Software"),
12            // to deal in the Software without restriction, including without limitation
13            // the rights to use, copy, modify, merge, publish, distribute, sublicense,
14            // and/or sell copies of the Software, and to permit persons to whom the
15            // Software is furnished to do so, subject to the following conditions:
16 martin 1.9 //
17 martin 1.8 // The above copyright notice and this permission notice shall be included
18            // in all copies or substantial portions of the Software.
19 martin 1.9 //
20 martin 1.8 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21 martin 1.9 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 martin 1.8 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23            // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24            // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25            // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26            // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 martin 1.9 //
28 martin 1.8 //////////////////////////////////////////////////////////////////////////
29 schuur 1.1 //
30            //%/////////////////////////////////////////////////////////////////////////////
31            
32            #ifndef Pegasus_CIMInstanceQueryProvider_h
33            #define Pegasus_CIMInstanceQueryProvider_h
34            
35            #include "CIMInstanceProvider.h"
36 chuck  1.3 #include <Pegasus/Query/QueryExpression/QueryExpression.h>
37 schuur 1.1 
38            PEGASUS_NAMESPACE_BEGIN
39            
40 kumpf  1.6 /**
41                This class extends then CIMInstanceProvider class enabling query support.
42 schuur 1.1 
43 kumpf  1.6     <p>The Instance Query Provider receives operation requests from
44                clients through calls to these functions by the CIM Server. Its
45                purpose is to convert these to calls to system services,
46                operations on system resources, or whatever platform-specific
47                behavior is required to perform the operation modeled by
48                the request. The specific requirements for each of the interface
49                functions are discussed in their respective sections.</p>
50 schuur 1.1 */
51            
52 kumpf  1.6 class PEGASUS_PROVIDER_LINKAGE CIMInstanceQueryProvider :
53                public CIMInstanceProvider
54 schuur 1.1 {
55            public:
56                /**
57 kumpf  1.6         Constructor.
58                    The constructor should not do anything.
59 schuur 1.1     */
60 kumpf  1.6     CIMInstanceQueryProvider();
61 schuur 1.1 
62                /**
63 kumpf  1.6         Destructor.
64                    The destructor should not do anything.
65 schuur 1.1     */
66 kumpf  1.6     virtual ~CIMInstanceQueryProvider();
67 schuur 1.1 
68                /**
69 kumpf  1.6         Return all instances of the specified class filtered by the query.
70 schuur 1.1 
71 kumpf  1.6         @param context contains security and locale information relevant
72                    for the lifetime of this operation.
73                    @param objectPath contains namespace and classname for which the
74                    query is to be performed.
75                    @param query enables access to query details like query statement
76                    and language.
77                    @param handler asynchronusly processes the results of this operation.
78            
79                    @exception CIMNotSupportedException
80                    @exception CIMAccessDeniedException
81                    @exception CIMOperationFailedException
82 schuur 1.1     */
83                virtual void execQuery(
84 kumpf  1.6        const OperationContext& context,
85                   const CIMObjectPath& objectPath,
86                   const QueryExpression& query,
87                   InstanceResponseHandler& handler) = 0;
88 schuur 1.1 };
89            
90            PEGASUS_NAMESPACE_END
91            
92            #endif

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2