OW_NAMESPACE::RepositoryIFC Class Reference

#include <OW_RepositoryIFC.hpp>

Inheritance diagram for OW_NAMESPACE::RepositoryIFC:

Inheritance graph
[legend]
Collaboration diagram for OW_NAMESPACE::RepositoryIFC:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RepositoryIFC ()
 RepositoryIFC (const RepositoryIFC &x)
virtual ~RepositoryIFC ()
virtual void open (const String &path)=0
 Open this RepositoryIFC.
virtual void close ()=0
 Close this RepositoryIFC.
virtual ServiceEnvironmentIFCRef getEnvironment () const =0
virtual void createNameSpace (const String &ns, OperationContext &context)=0
 Create a cim namespace.
virtual void deleteNameSpace (const String &ns, OperationContext &context)=0
 Delete a specified namespace.
virtual void enumNameSpace (StringResultHandlerIFC &result, OperationContext &context)=0
 Gets a list of the namespaces.
virtual CIMQualifierType getQualifierType (const String &ns, const String &qualifierName, OperationContext &context)=0
 Get an existing qualifier type from the repository.
virtual void enumQualifierTypes (const String &ns, CIMQualifierTypeResultHandlerIFC &result, OperationContext &context)=0
 Enumerate the qualifier types in a name space.
virtual void deleteQualifierType (const String &ns, const String &qualName, OperationContext &context)=0
 Delete an existing qualifier type from the repository.
virtual void setQualifierType (const String &ns, const CIMQualifierType &qt, OperationContext &context)=0
 Updates the specified CIM qualifier type in the specified namespace.
virtual CIMClass getClass (const String &ns, const String &className, WBEMFlags::ELocalOnlyFlag localOnly, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, OperationContext &context)=0
 Gets an existing class from a store.
virtual CIMClass deleteClass (const String &ns, const String &className, OperationContext &context)=0
 Delete an existing class from the store.
virtual void createClass (const String &ns, const CIMClass &cimClass, OperationContext &context)=0
 Creates a class in the store.
virtual CIMClass modifyClass (const String &ns, const CIMClass &cimClass, OperationContext &context)=0
 set a class in the store - note children are not affected
virtual void enumClasses (const String &ns, const String &className, CIMClassResultHandlerIFC &result, WBEMFlags::EDeepFlag deep, WBEMFlags::ELocalOnlyFlag localOnly, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, OperationContext &context)=0
 Enumerates the class specified by the CIMObjectPath.
virtual void enumClassNames (const String &ns, const String &className, StringResultHandlerIFC &result, WBEMFlags::EDeepFlag deep, OperationContext &context)=0
 Enumerates the class specified by the namespace and classname.
virtual void enumInstances (const String &ns, const String &className, CIMInstanceResultHandlerIFC &result, WBEMFlags::EDeepFlag deep, WBEMFlags::ELocalOnlyFlag localOnly, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, WBEMFlags::EEnumSubclassesFlag enumSubclasses, OperationContext &context)=0
 Retrieve an enumeration of instances (CIMInstance) for a particular class.
virtual void enumInstanceNames (const String &ns, const String &className, CIMObjectPathResultHandlerIFC &result, WBEMFlags::EDeepFlag deep, OperationContext &context)=0
 Retrieve an enumeration of instance object paths (CIMInstance) for a particular class.
virtual CIMInstance getInstance (const String &ns, const CIMObjectPath &instanceName, WBEMFlags::ELocalOnlyFlag localOnly, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, OperationContext &context)=0
 Retrieve a specific instance.
virtual CIMInstance deleteInstance (const String &ns, const CIMObjectPath &cop, OperationContext &context)=0
 Delete an existing instance from the store.
virtual CIMObjectPath createInstance (const String &ns, const CIMInstance &ci, OperationContext &context)=0
 Creates a instance in the store.
virtual CIMInstance modifyInstance (const String &ns, const CIMInstance &modifiedInstance, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, const StringArray *propertyList, OperationContext &context)=0
 Update an instance.
virtual void setProperty (const String &ns, const CIMObjectPath &name, const String &propertyName, const CIMValue &cv, OperationContext &context)=0
 Set a property value on an CIMInstance.
virtual CIMValue getProperty (const String &ns, const CIMObjectPath &name, const String &propertyName, OperationContext &context)=0
 Get the specified CIM instance property.
virtual CIMValue invokeMethod (const String &ns, const CIMObjectPath &path, const String &methodName, const CIMParamValueArray &inParams, CIMParamValueArray &outParams, OperationContext &context)=0
 Invokes a method.
virtual void associatorNames (const String &ns, const CIMObjectPath &path, CIMObjectPathResultHandlerIFC &result, const String &assocClass, const String &resultClass, const String &role, const String &resultRole, OperationContext &context)=0
 This method is used to enumerate the names of CIM Objects (Classes or Instances) that are associated to a particular CIM Object.
virtual void associators (const String &ns, const CIMObjectPath &path, CIMInstanceResultHandlerIFC &result, const String &assocClass, const String &resultClass, const String &role, const String &resultRole, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, OperationContext &context)=0
 This operation is used to enumerate CIM Objects (Classes or Instances) that are associated to a particular source CIM Object.
virtual void associatorsClasses (const String &ns, const CIMObjectPath &path, CIMClassResultHandlerIFC &result, const String &assocClass, const String &resultClass, const String &role, const String &resultRole, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, OperationContext &context)=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, const String &role, OperationContext &context)=0
 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, const String &role, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, OperationContext &context)=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, const String &role, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, OperationContext &context)=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, OperationContext &context)=0
 Executes a query to retrieve or modify objects.
virtual void exportIndication (const CIMInstance &, const String &)
 Export a given instance of an indication.
virtual void beginOperation (WBEMFlags::EOperationFlag op, OperationContext &context)=0
virtual void endOperation (WBEMFlags::EOperationFlag op, OperationContext &context, WBEMFlags::EOperationResultFlag result)=0

Private Types

typedef ServiceIFC base_t

Detailed Description

Definition at line 54 of file OW_RepositoryIFC.hpp.


Member Typedef Documentation

typedef ServiceIFC OW_NAMESPACE::RepositoryIFC::base_t [private]
 

Definition at line 56 of file OW_RepositoryIFC.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::RepositoryIFC::RepositoryIFC  ) 
 

Definition at line 44 of file OW_RepositoryIFC.cpp.

OW_NAMESPACE::RepositoryIFC::RepositoryIFC const RepositoryIFC x  ) 
 

Definition at line 48 of file OW_RepositoryIFC.cpp.

OW_NAMESPACE::RepositoryIFC::~RepositoryIFC  )  [virtual]
 

Definition at line 53 of file OW_RepositoryIFC.cpp.


Member Function Documentation

virtual void OW_NAMESPACE::RepositoryIFC::associatorNames const String ns,
const CIMObjectPath path,
CIMObjectPathResultHandlerIFC result,
const String assocClass,
const String resultClass,
const String role,
const String resultRole,
OperationContext context
[pure 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 associators method

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::associators const String ns,
const CIMObjectPath path,
CIMInstanceResultHandlerIFC result,
const String assocClass,
const String resultClass,
const String role,
const String resultRole,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin,
const StringArray propertyList,
OperationContext context
[pure 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).

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::associatorsClasses const String ns,
const CIMObjectPath path,
CIMClassResultHandlerIFC result,
const String assocClass,
const String resultClass,
const String role,
const String resultRole,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin,
const StringArray propertyList,
OperationContext context
[pure 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)

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::beginOperation WBEMFlags::EOperationFlag  op,
OperationContext context
[pure virtual]
 

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::close  )  [pure virtual]
 

Close this RepositoryIFC.

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::createClass const String ns,
const CIMClass cimClass,
OperationContext context
[pure virtual]
 

Creates a class in the store.

Parameters:
ns The namespace in which to create a class.
cimClass The class to create.
context ACL object describing user making request.
Exceptions:
CIMException if the class already exists, or parent class is not yet on file.
HDBException An error occurred in the database.
IOException Couldn't write class object to file.

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual CIMObjectPath OW_NAMESPACE::RepositoryIFC::createInstance const String ns,
const CIMInstance ci,
OperationContext context
[pure virtual]
 

Creates a instance in the store.

Parameters:
ns The namespace to which the an instance should be added.
ci The instance that is to be stored with that object path
context ACL object describing user making request.
Exceptions:
HDBException 
CIMException 
IOException 

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::createNameSpace const String ns,
OperationContext context
[pure virtual]
 

Create a cim namespace.

Parameters:
ns The namespace to be created.
context ACL object describing user making request.
Exceptions:
CIMException If the namespace already exists.

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual CIMClass OW_NAMESPACE::RepositoryIFC::deleteClass const String ns,
const String className,
OperationContext context
[pure virtual]
 

Delete an existing class from the store.

Parameters:
ns The namespace containing the class to delete.
className The class to delete
context ACL object describing user making request.
Returns:
A CIMClass representing the class which was deleted. This is likely usefull only for creating CIM_ClassCreation incidations.
Exceptions:
CIMException if class does not exist

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual CIMInstance OW_NAMESPACE::RepositoryIFC::deleteInstance const String ns,
const CIMObjectPath cop,
OperationContext context
[pure virtual]
 

Delete an existing instance from the store.

Parameters:
ns The namespace from which to delete an instance.
cop The CIMObectPath that specifies the instance.
context ACL object describing user making request.
Exceptions:
HDBException 
CIMException 
IOException 
Returns:
an CIMInstance representing the Instance just deleted. This is likely usefull only for creating CIM_InstDeletion indications.

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::deleteNameSpace const String ns,
OperationContext context
[pure virtual]
 

Delete a specified namespace.

Parameters:
ns The namespace to delete.
context ACL object describing user making request.
Exceptions:
CIMException If the namespace does not exist.

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::deleteQualifierType const String ns,
const String qualName,
OperationContext context
[pure virtual]
 

Delete an existing qualifier type from the repository.

Parameters:
ns The namespace from which the qualfier should be deleted.
qualName The name of the qualifier to be deleted.
context ACL object describing user making request.
Exceptions:
CIMException 

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::endOperation WBEMFlags::EOperationFlag  op,
OperationContext context,
WBEMFlags::EOperationResultFlag  result
[pure virtual]
 

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::enumClasses const String ns,
const String className,
CIMClassResultHandlerIFC result,
WBEMFlags::EDeepFlag  deep,
WBEMFlags::ELocalOnlyFlag  localOnly,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin,
OperationContext context
[pure virtual]
 

Enumerates the class specified by the CIMObjectPath.

Parameters:
ns The namespace to search.
className The name of the class to find.
path The CIMObjectPath identifying the class to be enumerated.
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.
localOnly If E_LOCAL_ONLY, then only CIM elements (properties, methods, qualifiers) overriden within the definition are returned.
includeQualifiers If set to E_INCLUDE_QUALIFIERS, then all qualifiers for the class (including properties, methods, and method parameters) are returned.
includeClassOrigin If set to E_INCLUDE_CLASS_ORIGIN, then the class origin attribute will be returned on all appropriate components.
context ACL object describing user making request.
Exceptions:
CIMException If the specified CIMObjectPath object cannot be found.

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::enumClassNames const String ns,
const String className,
StringResultHandlerIFC result,
WBEMFlags::EDeepFlag  deep,
OperationContext context
[pure virtual]
 

Enumerates the class specified by the namespace and classname.

Parameters:
ns The namespace to search for classes.
className The name of the class(es) to be enumerated. If this is empty, it specifies that all classnames should be returned.
result A callback object which will handle the results 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.
context ACL object describing user making request.
Exceptions:
CIMException If the specified namespace object cannot be found.

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::enumInstanceNames const String ns,
const String className,
CIMObjectPathResultHandlerIFC result,
WBEMFlags::EDeepFlag  deep,
OperationContext context
[pure virtual]
 

Retrieve an enumeration of instance object paths (CIMInstance) for a particular class.

Parameters:
ns The namespace to search for instance names.
className The name of the class to locate.
result A callback object to handle the instance path of the names as they are received.
deep If set to E_DEEP, the enumeration returned will contain the names of all instances of the specified class and all classes derived from it. If set to E_SHALLOW only names of instances belonging to the specified class are returned.
context ACL object describing user making request.
Exceptions:
HDBException 
CIMException 
IOException 

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::enumInstances const String ns,
const String className,
CIMInstanceResultHandlerIFC result,
WBEMFlags::EDeepFlag  deep,
WBEMFlags::ELocalOnlyFlag  localOnly,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin,
const StringArray propertyList,
WBEMFlags::EEnumSubclassesFlag  enumSubclasses,
OperationContext context
[pure virtual]
 

Retrieve an enumeration of instances (CIMInstance) for a particular class.

Parameters:
ns The namespace to search for instances.
className The name of the class to locate.
result A callback object which will handle the instances as they are received.
deep If set to E_DEEP, the enumeration returned will contain the names of all instances of the specified class and all classes derived from it. If set to E_SHALLOW only names of instances belonging to the specified class are returned.
localOnly If set to E_LOCAL_ONLY, only non-inherited properties/qualifiers are included in the instances.
includeQualifiers If set to E_INCLUDE_QUALIFIERS, then all qualifiers for the instance (including properties, methods, and method parameters) are returned.
includeClassOrigin If set to E_INCLUDE_CLASS_ORIGIN, then the class origin attribute will be returned on all appropriate components.
propertyList If not NULL then is specifies the only properties that can be returned with the class. If not NULL but the array is empty, then no properties should be returned. If NULL then all properties will be returned.
context ACL object describing user making request.
Exceptions:
HDBException 
CIMException 
IOException 

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::enumNameSpace StringResultHandlerIFC result,
OperationContext context
[pure virtual]
 

Gets a list of the namespaces.

Parameters:
context ACL object describing user making request.
Returns:
An Array of namespace names as strings.
Exceptions:
CIMException If the namespace does not exist or the object cannot be found in the specified namespace.

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::enumQualifierTypes const String ns,
CIMQualifierTypeResultHandlerIFC result,
OperationContext context
[pure virtual]
 

Enumerate the qualifier types in a name space.

Parameters:
ns The namespeace to search for qualifiers.
result A callback object to handle the qualifier types as they are received.
context ACL object describing user making request.
Exceptions:
CIMException 

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::execQuery const String ns,
CIMInstanceResultHandlerIFC result,
const String query,
const String queryLanguage,
OperationContext context
[pure 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.

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

void OW_NAMESPACE::RepositoryIFC::exportIndication const CIMInstance ,
const String
[virtual]
 

Export a given instance of an indication.

This will cause all CIMListerners that are interested in this type of indication to be notified.

Parameters:
instance The indication instance to use in the notification.

Reimplemented in OW_NAMESPACE::IndicationRepLayerImpl.

Definition at line 58 of file OW_RepositoryIFC.cpp.

virtual CIMClass OW_NAMESPACE::RepositoryIFC::getClass const String ns,
const String className,
WBEMFlags::ELocalOnlyFlag  localOnly,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin,
const StringArray propertyList,
OperationContext context
[pure virtual]
 

Gets an existing class from a store.

Parameters:
ns The namespace from which the class should be retrieved.
className the name of the class to retrieve from the repository.
localOnly If E_LOCAL_ONLY, then only CIM elements (properties, methods, qualifiers) overriden within the definition are returned.
includeQualifiers If E_INCLUDE_QUALIFIERS, then all qualifiers for the class (including properties, methods, and method parameters) are returned.
includeClassOrigin If E_INCLUDE_CLASS_ORIGIN, then the class origin attribute will be returned on all appropriate components.
propertyList If not NULL then it specifies the only properties that can be returned with the class. If not NULL but the array is empty, then no properties should be returned. If NULL then all properties will be returned.
context ACL object describing user making request.
Returns:
A valid CIMClass object on success. Otherwise a NULL CIMClass object.
Exceptions:
CIMException 
HDBException An error occurred in the database.
IOException Couldn't read class object from file.

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual ServiceEnvironmentIFCRef OW_NAMESPACE::RepositoryIFC::getEnvironment  )  const [pure virtual]
 

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual CIMInstance OW_NAMESPACE::RepositoryIFC::getInstance const String ns,
const CIMObjectPath instanceName,
WBEMFlags::ELocalOnlyFlag  localOnly,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin,
const StringArray propertyList,
OperationContext context
[pure virtual]
 

Retrieve a specific instance.

Parameters:
ns The namespace from which to retrieve an instance.
instanceName The path of the instance to be retrieved.
localOnly If E_LOCAL_ONLY, only return non-derived properties.
includeQualifiers If E_INCLUDE_QUALIFIERS, then all qualifiers for the instance (including properties, methods, and method parameters) are returned.
includeClassOrigin If E_INCLUDE_CLASS_ORIGIN, then the class origin attribute will be returned on all appropriate components.
propertyList If not NULL then is specifies the only properties that can be returned with the class. If not NULL but the array is empty, then no properties should be returned. If NULL then all properties will be returned.
context ACL object describing user making request.
Returns:
An CIMInstance object
Exceptions:
HDBException 
CIMException 
IOException 

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual CIMValue OW_NAMESPACE::RepositoryIFC::getProperty const String ns,
const CIMObjectPath name,
const String propertyName,
OperationContext context
[pure virtual]
 

Get the specified CIM instance property.

Parameters:
ns The namespace containing the desired instance.
name An CIMObjectPath that identifies the CIM instance to be accessed
propertyName The name of the property to retrieve.
context ACL object describing user making request.
Returns:
The CIMvalue for property identified by propertyName.
Exceptions:
CIMException 

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual CIMQualifierType OW_NAMESPACE::RepositoryIFC::getQualifierType const String ns,
const String qualifierName,
OperationContext context
[pure virtual]
 

Get an existing qualifier type from the repository.

Parameters:
ns The namespace to search for the qualifier.
qualifierName The name of the qualifier to be located.
context ACL object describing user making request.
Returns:
A valid CIMQaulifer type on success. Otherwise a NULL CIMQualifier type.
Exceptions:
CIMException 
IOException 

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual CIMValue OW_NAMESPACE::RepositoryIFC::invokeMethod const String ns,
const CIMObjectPath path,
const String methodName,
const CIMParamValueArray inParams,
CIMParamValueArray outParams,
OperationContext context
[pure virtual]
 

Invokes a method.

Parameters:
ns The namespace containing the method instance.
path The object path of the object on which the method is being invoked this can be a class or instance.
methodName The name of the method to invoke.
inParams An array of CIMParamValue objects for inbound values
outParams An array of CIMParamValue objects for outbound values
outParams A vector of CIMProperty for outbound values
context ACL object describing user making request.
Exceptions:
CIMException 

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual CIMClass OW_NAMESPACE::RepositoryIFC::modifyClass const String ns,
const CIMClass cimClass,
OperationContext context
[pure virtual]
 

set a class in the store - note children are not affected

Parameters:
ns The namespace in which to modify the class.
cimClass The class to modify
context ACL object describing user making request.
Returns:
an CIMClass representing the state of the class prior to the update. This is likely usefull only for creating CIM_ClassModification indications.
Exceptions:
CIMException if the class already exists

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual CIMInstance OW_NAMESPACE::RepositoryIFC::modifyInstance const String ns,
const CIMInstance modifiedInstance,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
const StringArray propertyList,
OperationContext context
[pure virtual]
 

Update an instance.

Parameters:
ns The namespace in which an instance should be modified.
ci The instance with the new values
includeQualfiers If set to E_INCLUDE_QUALIFIERS, then the qualifiers will be modified as well.
context ACL object describing user making request.
Returns:
a CIMInstance representing the state of the instance prior to the update. This is likely usefull only for creating CIM_InstModification indications.
Exceptions:
HDBException 
CIMException 
IOException 

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::open const String path  )  [pure virtual]
 

Open this RepositoryIFC.

Exceptions:
IOException 

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::referenceNames const String ns,
const CIMObjectPath path,
CIMObjectPathResultHandlerIFC result,
const String resultClass,
const String role,
OperationContext context
[pure 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.

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::references const String ns,
const CIMObjectPath path,
CIMInstanceResultHandlerIFC result,
const String resultClass,
const String role,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin,
const StringArray propertyList,
OperationContext context
[pure 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.

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::referencesClasses const String ns,
const CIMObjectPath path,
CIMClassResultHandlerIFC result,
const String resultClass,
const String role,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin,
const StringArray propertyList,
OperationContext context
[pure 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.

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::setProperty const String ns,
const CIMObjectPath name,
const String propertyName,
const CIMValue cv,
OperationContext context
[pure virtual]
 

Set a property value on an CIMInstance.

Parameters:
ns The namespace in which a property should be modified.
name The object path of the instance.
propertyName The name of the property to update
cv The value to set the property to.
context ACL object describing user making request.
Exceptions:
CIMException 

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.

virtual void OW_NAMESPACE::RepositoryIFC::setQualifierType const String ns,
const CIMQualifierType qt,
OperationContext context
[pure virtual]
 

Updates the specified CIM qualifier type in the specified namespace.

Parameters:
ns The namespace from which the qualifier should be updated.
qt The CIM qualifier type to be updated.
context ACL object describing user making request.
Exceptions:
CIMException If the qualifier type cannot be found or the user does not have write permission to the namespace.

Implemented in OW_NAMESPACE::SimpleAuthorizer, OW_NAMESPACE::CIMServer, OW_NAMESPACE::SharedLibraryRepository, OW_NAMESPACE::WQLFilterRep, OW_NAMESPACE::IndicationRepLayerImpl, OW_NAMESPACE::CIMRepository, and OW_NAMESPACE::CIMRepository2.


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:15:12 2006 for openwbem by  doxygen 1.4.6