7 kumpf 1.1 //
8 // Permission is hereby granted, free of charge, to any person obtaining a copy
9 // of this software and associated documentation files (the "Software"), to
10 // deal in the Software without restriction, including without limitation the
11 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
12 // sell copies of the Software, and to permit persons to whom the Software is
13 // furnished to do so, subject to the following conditions:
|
15 kumpf 1.1 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
16 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
17 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
18 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
19 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
21 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 //
24 //==============================================================================
25 //
26 // Author: Jair Santos, Hewlett-Packard Company (jair.santos@hp.com)
27 //
|
128 kumpf 1.1 virtual CIMClass getClass(
129 const CIMNamespaceName& nameSpace,
130 const CIMName& className,
131 Boolean localOnly = true,
132 Boolean includeQualifiers = true,
133 Boolean includeClassOrigin = false,
134 const CIMPropertyList& propertyList = CIMPropertyList()
135 );
136
137 virtual CIMInstance getInstance(
138 const CIMNamespaceName& nameSpace,
139 const CIMObjectPath& instanceName,
140 Boolean localOnly = true,
141 Boolean includeQualifiers = false,
142 Boolean includeClassOrigin = false,
143 const CIMPropertyList& propertyList = CIMPropertyList()
144 );
145
146 virtual void deleteClass(
147 const CIMNamespaceName& nameSpace,
148 const CIMName& className
149 kumpf 1.1 );
150
151 virtual void deleteInstance(
152 const CIMNamespaceName& nameSpace,
153 const CIMObjectPath& instanceName
154 );
155
156 virtual void createClass(
157 const CIMNamespaceName& nameSpace,
158 const CIMClass& newClass
159 );
160
161 virtual CIMObjectPath createInstance(
162 const CIMNamespaceName& nameSpace,
163 const CIMInstance& newInstance
164 );
165
166 virtual void modifyClass(
167 const CIMNamespaceName& nameSpace,
168 const CIMClass& modifiedClass
169 );
170 kumpf 1.1
171 virtual void modifyInstance(
172 const CIMNamespaceName& nameSpace,
173 const CIMInstance& modifiedInstance,
174 Boolean includeQualifiers = true,
175 const CIMPropertyList& propertyList = CIMPropertyList()
176 );
177
178 virtual Array<CIMClass> enumerateClasses(
179 const CIMNamespaceName& nameSpace,
180 const CIMName& className = CIMName(),
181 Boolean deepInheritance = false,
182 Boolean localOnly = true,
183 Boolean includeQualifiers = true,
184 Boolean includeClassOrigin = false
185 );
186
187 virtual Array<CIMName> enumerateClassNames(
188 const CIMNamespaceName& nameSpace,
189 const CIMName& className = CIMName(),
190 Boolean deepInheritance = false
191 kumpf 1.1 );
192
193 virtual Array<CIMInstance> enumerateInstances(
194 const CIMNamespaceName& nameSpace,
195 const CIMName& className,
196 Boolean deepInheritance = true,
197 Boolean localOnly = true,
198 Boolean includeQualifiers = false,
199 Boolean includeClassOrigin = false,
200 const CIMPropertyList& propertyList = CIMPropertyList()
201 );
202
203 virtual Array<CIMObjectPath> enumerateInstanceNames(
204 const CIMNamespaceName& nameSpace,
205 const CIMName& className
206 );
207
208 virtual Array<CIMObject> execQuery(
209 const CIMNamespaceName& nameSpace,
210 const String& queryLanguage,
211 const String& query
212 kumpf 1.1 );
213
214 virtual Array<CIMObject> associators(
215 const CIMNamespaceName& nameSpace,
216 const CIMObjectPath& objectName,
217 const CIMName& assocClass = CIMName(),
218 const CIMName& resultClass = CIMName(),
219 const String& role = String::EMPTY,
220 const String& resultRole = String::EMPTY,
221 Boolean includeQualifiers = false,
222 Boolean includeClassOrigin = false,
223 const CIMPropertyList& propertyList = CIMPropertyList()
224 );
225
226 virtual Array<CIMObjectPath> associatorNames(
227 const CIMNamespaceName& nameSpace,
228 const CIMObjectPath& objectName,
229 const CIMName& assocClass = CIMName(),
230 const CIMName& resultClass = CIMName(),
231 const String& role = String::EMPTY,
232 const String& resultRole = String::EMPTY
233 kumpf 1.1 );
234
235 virtual Array<CIMObject> references(
236 const CIMNamespaceName& nameSpace,
237 const CIMObjectPath& objectName,
238 const CIMName& resultClass = CIMName(),
239 const String& role = String::EMPTY,
240 Boolean includeQualifiers = false,
241 Boolean includeClassOrigin = false,
242 const CIMPropertyList& propertyList = CIMPropertyList()
243 );
244
245 virtual Array<CIMObjectPath> referenceNames(
246 const CIMNamespaceName& nameSpace,
247 const CIMObjectPath& objectName,
248 const CIMName& resultClass = CIMName(),
249 const String& role = String::EMPTY
250 );
251
252 virtual CIMValue getProperty(
253 const CIMNamespaceName& nameSpace,
254 kumpf 1.1 const CIMObjectPath& instanceName,
255 const CIMName& propertyName
256 );
257
258 virtual void setProperty(
259 const CIMNamespaceName& nameSpace,
260 const CIMObjectPath& instanceName,
261 const CIMName& propertyName,
262 const CIMValue& newValue = CIMValue()
263 );
264
265 virtual CIMQualifierDecl getQualifier(
266 const CIMNamespaceName& nameSpace,
267 const CIMName& qualifierName
268 );
269
270 virtual void setQualifier(
271 const CIMNamespaceName& nameSpace,
272 const CIMQualifierDecl& qualifierDeclaration
273 );
274
275 kumpf 1.1 virtual void deleteQualifier(
276 const CIMNamespaceName& nameSpace,
277 const CIMName& qualifierName
278 );
279
280 virtual Array<CIMQualifierDecl> enumerateQualifiers(
281 const CIMNamespaceName& nameSpace
282 );
283
284 virtual CIMValue invokeMethod(
285 const CIMNamespaceName& nameSpace,
286 const CIMObjectPath& instanceName,
287 const CIMName& methodName,
288 const Array<CIMParamValue>& inParameters,
289 Array<CIMParamValue>& outParameters
290 );
291
292 private:
293
294 void _connect();
295
|