OW_NAMESPACE::MOF::StoreLocalDataHandle Class Reference

Inheritance diagram for OW_NAMESPACE::MOF::StoreLocalDataHandle:

Inheritance graph
[legend]
Collaboration diagram for OW_NAMESPACE::MOF::StoreLocalDataHandle:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StoreLocalDataHandle (const CIMOMHandleIFCRef &hdl, CIMInstanceArray &instances, CIMClassArray &classes, CIMQualifierTypeArray &qualifierTypes)
virtual CIMObjectPath createInstance (const String &ns, const CIMInstance &instance)
 Add the specified CIM instance to the specified namespace.
virtual CIMClass getClass (const String &ns, const String &className, WBEMFlags::ELocalOnlyFlag localOnly=WBEMFlags::E_NOT_LOCAL_ONLY, WBEMFlags::EIncludeQualifiersFlag includeQualifiers=WBEMFlags::E_INCLUDE_QUALIFIERS, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin=WBEMFlags::E_INCLUDE_CLASS_ORIGIN, const StringArray *propertyList=0)
 Gets the CIM class for the specified CIM object path.
virtual CIMQualifierType getQualifierType (const String &ns, const String &qualifierName)
 Gets the CIM qualifier type specified in the CIM object path.
virtual void setQualifierType (const String &ns, const CIMQualifierType &qualifierType)
 Updates the specified CIM qualifier type in the specified namespace if it exists.
virtual void createClass (const String &ns, const CIMClass &cimClass)
 Adds the CIM class to the specified namespace.

Private Member Functions

virtual void enumClassNames (const String &ns, const String &className, StringResultHandlerIFC &result, WBEMFlags::EDeepFlag deep=WBEMFlags::E_DEEP)
 Enumerates the child classes of className.
virtual void close ()
 Close the connetion to the CIMOM.
virtual void enumClass (const String &ns, const String &className, CIMClassResultHandlerIFC &result, WBEMFlags::EDeepFlag deep=WBEMFlags::E_SHALLOW, WBEMFlags::ELocalOnlyFlag localOnly=WBEMFlags::E_NOT_LOCAL_ONLY, WBEMFlags::EIncludeQualifiersFlag includeQualifiers=WBEMFlags::E_INCLUDE_QUALIFIERS, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin=WBEMFlags::E_INCLUDE_CLASS_ORIGIN)
 Enumerates the class specified by the CIMObjectPath.
virtual void enumInstanceNames (const String &ns, const String &className, CIMObjectPathResultHandlerIFC &result)
 Gathers all instance names belonging to the class specified in the path.
virtual void enumInstances (const String &ns, const String &className, CIMInstanceResultHandlerIFC &result, WBEMFlags::EDeepFlag deep=WBEMFlags::E_DEEP, WBEMFlags::ELocalOnlyFlag localOnly=WBEMFlags::E_NOT_LOCAL_ONLY, WBEMFlags::EIncludeQualifiersFlag includeQualifiers=WBEMFlags::E_EXCLUDE_QUALIFIERS, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin=WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, const StringArray *propertyList=0)
 Gathers all instances (the whole instance and not just the names) belonging to the class specified in the path.
virtual CIMValue invokeMethod (const String &ns, const CIMObjectPath &path, const String &methodName, const CIMParamValueArray &inParams, CIMParamValueArray &outParams)
 Executes the specified method on the specified object.
virtual CIMInstance getInstance (const String &ns, const CIMObjectPath &instanceName, WBEMFlags::ELocalOnlyFlag localOnly=WBEMFlags::E_NOT_LOCAL_ONLY, WBEMFlags::EIncludeQualifiersFlag includeQualifiers=WBEMFlags::E_EXCLUDE_QUALIFIERS, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin=WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, const StringArray *propertyList=0)
 Gets the CIM instance for the specified CIM object path.
virtual void enumQualifierTypes (const String &ns, CIMQualifierTypeResultHandlerIFC &result)
 Enumerates the qualifiers defined in a namespace.
virtual void deleteQualifierType (const String &ns, const String &qualName)
 Deletes a CIM qualfier type.
virtual void deleteClass (const String &ns, const String &className)
 Deletes the CIM class specified by className from namespace ns.
virtual void modifyInstance (const String &ns, const CIMInstance &modifiedInstance, WBEMFlags::EIncludeQualifiersFlag includeQualifiers=WBEMFlags::E_INCLUDE_QUALIFIERS, const StringArray *propertyList=0)
 Update the specified CIM instance within the specified namespace.
virtual void modifyClass (const String &ns, const CIMClass &cimClass)
 Updates the CIM class within the specified namespace.
virtual void setProperty (const String &ns, const CIMObjectPath &instanceName, const String &propertyName, const CIMValue &newValue)
 Set the specified CIM instance property.
virtual CIMValue getProperty (const String &ns, const CIMObjectPath &instanceName, const String &propertyName)
 Get the specified CIM instance property.
virtual void deleteInstance (const String &ns, const CIMObjectPath &path)
 Deletes the CIM instance specified by path from namespace ns.
virtual void associators (const String &ns, const CIMObjectPath &path, CIMInstanceResultHandlerIFC &result, const String &assocClass=String(), const String &resultClass=String(), const String &role=String(), const String &resultRole=String(), WBEMFlags::EIncludeQualifiersFlag includeQualifiers=WBEMFlags::E_EXCLUDE_QUALIFIERS, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin=WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, const StringArray *propertyList=0)
 This operation is used to enumerate CIM Objects (Classes or Instances) that are associated to a particular source CIM Object.
virtual void associatorNames (const String &ns, const CIMObjectPath &objectName, CIMObjectPathResultHandlerIFC &result, const String &assocClass=String(), const String &resultClass=String(), const String &role=String(), const String &resultRole=String())
 This method is used to enumerate the names of CIM Objects (Classes or Instances) that are associated to a particular CIM Object.
virtual void associatorsClasses (const String &ns, const CIMObjectPath &path, CIMClassResultHandlerIFC &result, const String &assocClass=String(), const String &resultClass=String(), const String &role=String(), const String &resultRole=String(), WBEMFlags::EIncludeQualifiersFlag includeQualifiers=WBEMFlags::E_EXCLUDE_QUALIFIERS, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin=WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, const StringArray *propertyList=0)
 This operation is used to enumerate CIMClasses that are associated to a particular source CIM Object.
virtual void referenceNames (const String &ns, const CIMObjectPath &path, CIMObjectPathResultHandlerIFC &result, const String &resultClass=String(), const String &role=String())
 This operation is used to enumerate the association objects that refer to a particular target CIM Object (Class or Instance).
virtual void references (const String &ns, const CIMObjectPath &path, CIMInstanceResultHandlerIFC &result, const String &resultClass=String(), const String &role=String(), WBEMFlags::EIncludeQualifiersFlag includeQualifiers=WBEMFlags::E_EXCLUDE_QUALIFIERS, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin=WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, const StringArray *propertyList=0)
 This operation is used to enumerate the association objects that refer to a particular target CIM Object (Class or Instance).
virtual void referencesClasses (const String &ns, const CIMObjectPath &path, CIMClassResultHandlerIFC &result, const String &resultClass=String(), const String &role=String(), WBEMFlags::EIncludeQualifiersFlag includeQualifiers=WBEMFlags::E_EXCLUDE_QUALIFIERS, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin=WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, const StringArray *propertyList=0)
 This operation is used to enumerate the association objects that refer to a particular target CIM Class.
virtual void execQuery (const String &ns, CIMInstanceResultHandlerIFC &result, const String &query, const String &queryLanguage)
 Executes a query to retrieve or modify objects.

Private Attributes

CIMOMHandleIFCRef m_realhdl
CIMInstanceArraym_instances
CIMClassArraym_classes
CIMQualifierTypeArraym_qualifierTypes

Detailed Description

Definition at line 325 of file OW_MOFCompiler.cpp.


Constructor & Destructor Documentation

OW_NAMESPACE::MOF::StoreLocalDataHandle::StoreLocalDataHandle const CIMOMHandleIFCRef hdl,
CIMInstanceArray instances,
CIMClassArray classes,
CIMQualifierTypeArray qualifierTypes
[inline]
 

Definition at line 328 of file OW_MOFCompiler.cpp.


Member Function Documentation

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::associatorNames const String ns,
const CIMObjectPath objectName,
CIMObjectPathResultHandlerIFC result,
const String assocClass = String(),
const String resultClass = String(),
const String role = String(),
const String resultRole = String()
[inline, private, virtual]
 

This method is used to enumerate the names of CIM Objects (Classes or Instances) that are associated to a particular CIM Object.

Parameters:
ns The namespace containing the CIM Objects to be enumerated.
objectName Defines the source CIM Object whose associated Objects are to be returned. This may be either a Class name or Instance name (modelpath).
result A callback object that will handle the CIMObjectPaths as they are received.
assocClass The AssocClass input parameter, if not empty (""), MUST be a valid CIM Association Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Instance of this Class or one of its subclasses.
resultClass The ResultClass input parameter, if not empty (""), MUST be valid CIM Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses) or be this Class (or one of its subclasses).
role The Role input parameter, if not empty (""), MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter).
resultRole The ResultRole input parameter, if not empty (""), MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the returned Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the returned Object MUST match the value of this parameter).
Exceptions:
CIMException - as defined in the associator method

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 472 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::associators const String ns,
const CIMObjectPath path,
CIMInstanceResultHandlerIFC result,
const String assocClass = String(),
const String resultClass = String(),
const String role = String(),
const String resultRole = String(),
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers = WBEMFlags::E_EXCLUDE_QUALIFIERS,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin = WBEMFlags::E_EXCLUDE_CLASS_ORIGIN,
const StringArray propertyList = 0
[inline, private, virtual]
 

This operation is used to enumerate CIM Objects (Classes or Instances) that are associated to a particular source CIM Object.

Parameters:
ns The namspace.
path Defines the path of the source CIM Object whose associated Objects are to be returned. This may be a path to either a Class name or Instance name (model path).
result A callback object that will handle the CIMInstances as they are received.
assocClass The AssocClass input parameter, if not empty (""), MUST be a valid CIM Association Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Instance of this Class or one of its subclasses.
resultClass The ResultClass input parameter, if not empty (""), MUST be a valid CIM Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses) or be this Class (or one of its subclasses).
role The Role input parameter, if not empty (""), MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter).
resultRole The ResultRole input parameter, if not empty (""), MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the returned Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the returned Object MUST match the value of this parameter).
includeQualifiers If set to E_INCLUDE_QUALIFIERS then all Qualifiers for each Object (including Qualifiers on the Object and on any returned Properties) MUST be included as QUALIFIER elements in the response. If set to E_EXCLUDE_QUALIFIERS, then no qualifier elements will be present in the returned object(s).
includeClassOrigin If set to E_INCLUDE_CLASS_ORIGIN, then the CLASSORIGIN attribute MUST be present on all appropriate elements in each returned Object. If set to E_EXCLUDE_CLASS_ORIGIN, no CLASSORIGIN attributes are present in each returned Object.
propertyList If the PropertyList input parameter is not NULL, the members of the array define one or more Property names. Each returned Object MUST NOT include elements for any Properties missing from this list. If the PropertyList input parameter is an empty array this signifies that no Properties are included in each returned Object. If the PropertyList input parameter is NULL this specifies that all Properties (subject to the conditions expressed by the other parameters) are included in each returned Object.
If the PropertyList contains duplicate elements, the Server MUST ignore the duplicates but otherwise process the request normally. If the PropertyList contains elements which are invalid Property names for any target Object, the Server MUST ignore such entries but otherwise process the request normally.

Clients SHOULD NOT explicitly specify properties in the PropertyList parameter unless they have specified a non-empty ("") value for the ResultClass parameter.

Exceptions:
CIMException. The following IDs can be expected: CIM_ERR_ACCESS_DENIED, CIM_ERR_NOT_SUPPORTED, CIM_ERR_INVALID_NAMESPACE, CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or otherwise incorrect parameters), CIM_ERR_FAILED (some other unspecified error occurred).

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 468 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::associatorsClasses const String ns,
const CIMObjectPath path,
CIMClassResultHandlerIFC result,
const String assocClass = String(),
const String resultClass = String(),
const String role = String(),
const String resultRole = String(),
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers = WBEMFlags::E_EXCLUDE_QUALIFIERS,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin = WBEMFlags::E_EXCLUDE_CLASS_ORIGIN,
const StringArray propertyList = 0
[inline, private, virtual]
 

This operation is used to enumerate CIMClasses that are associated to a particular source CIM Object.

Parameters:
ns The namspace.
path Defines the path of the source CIM Object whose associated Objects are to be returned. This may be a path to either a Class name or Instance name (model path).
result A callback object that will handle the CIMClasses as they are received.
assocClass The AssocClass input parameter, if not empty (""), MUST be a valid CIM Association Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Instance of this Class or one of its subclasses.
resultClass The ResultClass input parameter, if not empty (""), MUST be a valid CIM Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses) or be this Class (or one of its subclasses).
role The Role input parameter, if not empty (""), MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter).
resultRole The ResultRole input parameter, if not empty (""), MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the returned Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the returned Object MUST match the value of this parameter).
includeQualifiers If set to E_INCLUDE_QUALIFIERS then all Qualifiers for each Object (including Qualifiers on the Object and on any returned Properties) MUST be included as elements in the response.If set to E_EXCLUDE_QUALIFIERS, then no qualifiers will be present in the returned object(s).
includeClassOrigin If the IncludeClassOrigin input parameter is set to E_INCLUDE_ORIGIN, then the CLASSORIGIN attribute MUST be present on all appropriate elements in each returned Object. If set to E_EXCLUDE_ORIGIN, no CLASSORIGIN attributes are present in each returned Object.
propertyList If the PropertyList input parameter is not NULL, the members of the array define one or more Property names. Each returned Object MUST NOT include elements for any Properties missing from this list. If the PropertyList input parameter is an empty array this signifies that no Properties are included in each returned Object. If the PropertyList input parameter is NULL this specifies that all Properties (subject to the conditions expressed by the other parameters) are included in each returned Object.
If the PropertyList contains duplicate elements, the Server MUST ignore the duplicates but otherwise process the request normally. If the PropertyList contains elements which are invalid Property names for any target Object, the Server MUST ignore such entries but otherwise process the request normally.

Clients SHOULD NOT explicitly specify properties in the PropertyList parameter unless they have specified a non-empty ("") value for the ResultClass parameter.

Exceptions:
CIMException. The following IDs can be expected: CIM_ERR_ACCESS_DENIED, CIM_ERR_NOT_SUPPORTED, CIM_ERR_INVALID_NAMESPACE, CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or otherwise incorrect parameters), CIM_ERR_FAILED (some other unspecified error occurred)

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 476 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::close  )  [inline, private, virtual]
 

Close the connetion to the CIMOM.

This will free resources used for the client session. The destructor will call close().

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 412 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::createClass const String ns,
const CIMClass cimClass
[inline, virtual]
 

Adds the CIM class to the specified namespace.

Parameters:
ns The namespace
cimClass The CIMClass to be added
Exceptions:
CIMException If the CIM class already exists in the namespace.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 394 of file OW_MOFCompiler.cpp.

References cimClass.

virtual CIMObjectPath OW_NAMESPACE::MOF::StoreLocalDataHandle::createInstance const String ns,
const CIMInstance instance
[inline, virtual]
 

Add the specified CIM instance to the specified namespace.

Parameters:
ns The namespace
instance the CIMInstance to be added
Returns:
An CIMObjectPath of the created instance.
Exceptions:
CIMException If the CIM instance already exists in the namespace

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 335 of file OW_MOFCompiler.cpp.

References m_instances, ns, and OW_NAMESPACE::Array< T >::push_back().

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::deleteClass const String ns,
const String className
[inline, private, virtual]
 

Deletes the CIM class specified by className from namespace ns.

Parameters:
ns The namespace containing the class to delete.
className The class to delete.
Exceptions:
CIMException If the object does not exist

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 444 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::deleteInstance const String ns,
const CIMObjectPath path
[inline, private, virtual]
 

Deletes the CIM instance specified by path from namespace ns.

Parameters:
ns The namespace containing the instance.
path The CIMObjectPath identifying the instance to delete.
Exceptions:
CIMException If the instance does not exist.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 464 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::deleteQualifierType const String ns,
const String qualName
[inline, private, virtual]
 

Deletes a CIM qualfier type.

Parameters:
ns The namespace containing the qualifier type
qualName The qualifier type to delete.
Exceptions:
CIMException If the qualifier type does not exist.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 440 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::enumClass const String ns,
const String className,
CIMClassResultHandlerIFC result,
WBEMFlags::EDeepFlag  deep = WBEMFlags::E_SHALLOW,
WBEMFlags::ELocalOnlyFlag  localOnly = WBEMFlags::E_NOT_LOCAL_ONLY,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers = WBEMFlags::E_INCLUDE_QUALIFIERS,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin = WBEMFlags::E_INCLUDE_CLASS_ORIGIN
[inline, private, virtual]
 

Enumerates the class specified by the CIMObjectPath.

Parameters:
ns The namespace.
className The class to be enumerated.
result A callback object that will handle the classes as they are received.
deep If set to E_DEEP, the enumeration returned will contain the names of all classes derived from the enumerated class. If set to E_SHALLOW the enumermation will return onlythe names of the first level children of the enumerated class.
localOnly If set to E_LOCAL_ONLY, only the non-inherited properties are returned on each instance, otherwise all properties are returned.
includeQualifiers If set to E_INCLUDE_QUALIFIERS, then all class, property and method qualifiers will be returned.
includeClassOrigin If E_INCLUDE_CLASS_ORIGIN, then the class origin attribute will be included with all appropriate elements of each class.
Exceptions:
CIMException If the specified class cannot be found

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 416 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::enumClassNames const String ns,
const String className,
StringResultHandlerIFC result,
WBEMFlags::EDeepFlag  deep = WBEMFlags::E_DEEP
[inline, private, virtual]
 

Enumerates the child classes of className.

Parameters:
ns The namespace.
className The class to be enumerated. Pass an empty string if you wish to enumerate all classes.
result A callback object that will handle the classe names as they are received.
deep If set to E_DEEP, the enumeration returned will contain the names of all classes derived from the enumerated class. If set to E_SHALLOW the enumermation will return only the names of the first level children of the enumerated class.
Exceptions:
CIMException If the specified CIMObjectPath object cannot be found.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 408 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::enumInstanceNames const String ns,
const String className,
CIMObjectPathResultHandlerIFC result
[inline, private, virtual]
 

Gathers all instance names belonging to the class specified in the path.

This could include instances of all the classes in the specified class' hierarchy.

Parameters:
ns The namespace.
className The class whose instances are to be enumerated.
result A callback object that will handle the instances names as they are received.
Exceptions:
CIMException If the object cannot be found.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 420 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::enumInstances const String ns,
const String className,
CIMInstanceResultHandlerIFC result,
WBEMFlags::EDeepFlag  deep = WBEMFlags::E_DEEP,
WBEMFlags::ELocalOnlyFlag  localOnly = WBEMFlags::E_NOT_LOCAL_ONLY,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers = WBEMFlags::E_EXCLUDE_QUALIFIERS,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin = WBEMFlags::E_EXCLUDE_CLASS_ORIGIN,
const StringArray propertyList = 0
[inline, private, virtual]
 

Gathers all instances (the whole instance and not just the names) belonging to the class specified in the path.

This could include instances of all the classes in the specified class' hierarchy.

Parameters:
ns The namespace.
className The class whose instances are to be enumerated.
result A callback object that will handle the instances as they are received.
deep Return properties defined on subclasses of the class in path
localOnly If set to E_LOCAL_ONLY, only the non-inherited properties are returned on each instance, otherwise all inherited properties are returned.
includeQualifiers If set to E_INCLUDE_QUALIFIERS, then all of the qualifiers from the class will be returned with the each instance.
includeClassOrigin If E_INCLUDE_CLASS_ORIGIN, then the class origin attribute will be returned on all appropriate elements.
propertyList If not NULL and has 0 or more elements, the returned instances will not contain properties missing from this list. If not NULL and it contains NO elements, then no properties will be included in the instances. If propertyList IS NULL, then it is ignored and all properties are returned with the instances subject to constraints specified in the other parameters.
Exceptions:
CIMException If the object cannot be found.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 424 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::enumQualifierTypes const String ns,
CIMQualifierTypeResultHandlerIFC result
[inline, private, virtual]
 

Enumerates the qualifiers defined in a namespace.

Parameters:
ns The namespace whose qualifier definitions are to be enumerated.
result A callback object that will handle the qualifier types as they are received.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 436 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::execQuery const String ns,
CIMInstanceResultHandlerIFC result,
const String query,
const String queryLanguage
[inline, private, virtual]
 

Executes a query to retrieve or modify objects.

Parameters:
ns CIMNameSpace that identifies the namespace in which to query.
query A string containing the text of the query. This parameter cannot be empty..
queryLanguage A string containing the query language the query is written in.
Returns:
CIMInstanceArray A deep enumeration of all instances of the specified class and all classes derived from the specified class, that match the query string.
Exceptions:
CIMException If any of the following errors occur: The user does not have permission to view the result. The requested query language is not supported. The query specifies a class that does not exist.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 492 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual CIMClass OW_NAMESPACE::MOF::StoreLocalDataHandle::getClass const String ns,
const String className,
WBEMFlags::ELocalOnlyFlag  localOnly = WBEMFlags::E_NOT_LOCAL_ONLY,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers = WBEMFlags::E_INCLUDE_QUALIFIERS,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin = WBEMFlags::E_INCLUDE_CLASS_ORIGIN,
const StringArray propertyList = 0
[inline, virtual]
 

Gets the CIM class for the specified CIM object path.

Parameters:
ns The namespace
classNname The CIM class
localOnly If set to E_LOCAL_ONLY, only the non-inherited properties and methods are returned, otherwise all properties and methods are returned.
includeQualifiers If set to E_INCLUDE_QUALIFIERS, then all class, property and method qualifiers will be included in the CIMClass. Otherwise qualifiers will be excluded.
includeClassOrigin If true, then the classOrigin attribute will be present on all appropriate elements of the CIMClass.
propertyList If not NULL, only properties contained in this array will be included in the CIMClass. If NULL, all properties will be returned.
Returns:
CIMClass the CIM class indentified by the CIMObjectPath
Exceptions:
CIMException If the namespace or the model path identifying the object cannot be found.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 340 of file OW_MOFCompiler.cpp.

References className, and i.

virtual CIMInstance OW_NAMESPACE::MOF::StoreLocalDataHandle::getInstance const String ns,
const CIMObjectPath instanceName,
WBEMFlags::ELocalOnlyFlag  localOnly = WBEMFlags::E_NOT_LOCAL_ONLY,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers = WBEMFlags::E_EXCLUDE_QUALIFIERS,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin = WBEMFlags::E_EXCLUDE_CLASS_ORIGIN,
const StringArray propertyList = 0
[inline, private, virtual]
 

Gets the CIM instance for the specified CIM object path.

Parameters:
ns The namespace.
instanceName The CIMObjectPath that identifies this CIM instance
localOnly If set to E_LOCAL_ONLY, only the non-inherited properties are returned, otherwise all properties are returned.
includeQualifiers If set to E_INCLUDE_QUALIFIERS, then all of the qualifiers from the class will be returned with the instance. Otherwise no qualifiers will be included with the instance.
includeClassOrigin If set to E_INCLUDE_CLASS_ORIGIN, then the class origin attribute will be returned on all appropriate elements.
propertyList If not NULL and has 0 or more elements, the returned instance will not contain properties missing from this list. If not NULL and it contains NO elements, then no properties will be included in the instance. If propertyList IS NULL, then it is ignored and all properties are returned with the instance subject to constraints specified in the other parameters.
Returns:
The CIMInstance identified by the CIMObjectPath.
Exceptions:
CIMException If the specified CIMObjectPath cannot be found.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 432 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual CIMValue OW_NAMESPACE::MOF::StoreLocalDataHandle::getProperty const String ns,
const CIMObjectPath instanceName,
const String propertyName
[inline, private, virtual]
 

Get the specified CIM instance property.

Parameters:
ns The namespace
instanceName A CIMObjectPath that identifies the CIM instance to be accessed.
propertyName The name of the property to retrieve.
Returns:
The CIMvalue for property identified by propertyName.
Exceptions:
CIMException 

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 460 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual CIMQualifierType OW_NAMESPACE::MOF::StoreLocalDataHandle::getQualifierType const String ns,
const String qualifierName
[inline, virtual]
 

Gets the CIM qualifier type specified in the CIM object path.

Parameters:
ns The namespace
qualifierName The name of the CIM qualifier type.
Returns:
An CIMQualifierType identified by name.
Exceptions:
CIMException If the CIM qualifier type cannot be found.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 371 of file OW_MOFCompiler.cpp.

References i.

virtual CIMValue OW_NAMESPACE::MOF::StoreLocalDataHandle::invokeMethod const String ns,
const CIMObjectPath path,
const String methodName,
const CIMParamValueArray inParams,
CIMParamValueArray outParams
[inline, private, virtual]
 

Executes the specified method on the specified object.

A method is a declaration containing the method name, return type, and parameters in the method.

Parameters:
ns The namespace.
path An CIMObjectPath that identifies the class or instance on which to invoke the method.
methodName The string name of the method to be invoked
inParams The input parameters specified as an CIMValueArray.
outParams The output parameters.
Returns:
A non-null CIMValue on success. Otherwise a null CIMValue.
Exceptions:
CIMException If the specified method cannot be found.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 428 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::modifyClass const String ns,
const CIMClass cimClass
[inline, private, virtual]
 

Updates the CIM class within the specified namespace.

Parameters:
ns The namespace
cimClass The CIMClass to be updated
Exceptions:
CIMException If the class does not exists

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 452 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::modifyInstance const String ns,
const CIMInstance modifiedInstance,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers = WBEMFlags::E_INCLUDE_QUALIFIERS,
const StringArray propertyList = 0
[inline, private, virtual]
 

Update the specified CIM instance within the specified namespace.

Parameters:
ns The namespace
modifiedInstance The CIMInstance to be updated.
includeQualifiers If set to E_INCLUDE_QUALIFIERS, the qualifiers will also be modified.
propertyList The properties to modify. 0 means all properties.
Exceptions:
CIMException 

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 448 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::referenceNames const String ns,
const CIMObjectPath path,
CIMObjectPathResultHandlerIFC result,
const String resultClass = String(),
const String role = String()
[inline, private, virtual]
 

This operation is used to enumerate the association objects that refer to a particular target CIM Object (Class or Instance).

Parameters:
ns The namespace.
path The ObjectName input parameter defines the target CIM Object path whose referring object names are to be returned. It may be either a Class name or an Instance name (model path).
result A callback object to handle the object paths as they are received.
resultClass The ResultClass input parameter, if not empty (""), MUST be a valid CIM Class name. It acts as a filter on the returned set of Object Names by mandating that each returned Object Name MUST identify an Instance of this Class (or one of its subclasses), or this Class (or one of its subclasses).
role The Role input parameter, if not empty (""), MUST be a valid Property name. It acts as a filter on the returned set of Object Names by mandating that each returned Object Name MUST identify an Object that refers to the target Instance via a Property whose name matches the value of this parameter.
Exceptions:
CIMException As defined for associators method.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 480 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::references const String ns,
const CIMObjectPath path,
CIMInstanceResultHandlerIFC result,
const String resultClass = String(),
const String role = String(),
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers = WBEMFlags::E_EXCLUDE_QUALIFIERS,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin = WBEMFlags::E_EXCLUDE_CLASS_ORIGIN,
const StringArray propertyList = 0
[inline, private, virtual]
 

This operation is used to enumerate the association objects that refer to a particular target CIM Object (Class or Instance).

Parameters:
ns The namespace.
path The path input parameter defines the target CIM Object whose referring Objects are to be returned. This is either a Class name or Instance name (model path).
result A callback object which will handle the instances as they are received.
resultClass The ResultClass input parameter, if not empty (""), MUST be a valid CIM Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be an Instance of this Class (or one of its subclasses), or this Class (or one of its subclasses).
role The Role input parameter, if not empty (""), MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Objects MUST refer to the target Object via a Property whose name matches the value of this parameter.
includeQualifiers Refer to includeQualifiers for associators.
includeClassOrigin Refer to includeQualifiers for associators.
propertyList Refer to includeQualifiers for associators.
See also:
associators
Exceptions:
CIMException - as defined for associators method.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 484 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::referencesClasses const String ns,
const CIMObjectPath path,
CIMClassResultHandlerIFC result,
const String resultClass = String(),
const String role = String(),
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers = WBEMFlags::E_EXCLUDE_QUALIFIERS,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin = WBEMFlags::E_EXCLUDE_CLASS_ORIGIN,
const StringArray propertyList = 0
[inline, private, virtual]
 

This operation is used to enumerate the association objects that refer to a particular target CIM Class.

See also:
references
Exceptions:
CIMException - as defined for associators method.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 488 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::setProperty const String ns,
const CIMObjectPath instanceName,
const String propertyName,
const CIMValue newValue
[inline, private, virtual]
 

Set the specified CIM instance property.

Parameters:
ns The namespace containing the instance to modify.
instanceName An CIMObjectPath that identifies the CIM instance to be accessed.
propertyName The name of the property to set the value on.
newValue The new value for property propertyName.
Exceptions:
CIMException 

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 456 of file OW_MOFCompiler.cpp.

References THROW_ERROR_NOT_IMPLEMENTED_FUNCNAME.

virtual void OW_NAMESPACE::MOF::StoreLocalDataHandle::setQualifierType const String ns,
const CIMQualifierType qualifierType
[inline, virtual]
 

Updates the specified CIM qualifier type in the specified namespace if it exists.

If it doesn't exist, it will be added.

Parameters:
ns The namespace
qualifierType The CIM qualifier type to be updated or added.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 389 of file OW_MOFCompiler.cpp.


Member Data Documentation

CIMClassArray& OW_NAMESPACE::MOF::StoreLocalDataHandle::m_classes [private]
 

Definition at line 402 of file OW_MOFCompiler.cpp.

CIMInstanceArray& OW_NAMESPACE::MOF::StoreLocalDataHandle::m_instances [private]
 

Definition at line 401 of file OW_MOFCompiler.cpp.

CIMQualifierTypeArray& OW_NAMESPACE::MOF::StoreLocalDataHandle::m_qualifierTypes [private]
 

Definition at line 403 of file OW_MOFCompiler.cpp.

CIMOMHandleIFCRef OW_NAMESPACE::MOF::StoreLocalDataHandle::m_realhdl [private]
 

Definition at line 400 of file OW_MOFCompiler.cpp.


The documentation for this class was generated from the following file:
Generated on Thu Feb 9 09:17:16 2006 for openwbem by  doxygen 1.4.6