org.sblim.wbem.client

Class BatchCIMClient

Implemented Interfaces:
BatchHandle

public class BatchCIMClient
extends java.lang.Object
implements BatchHandle

BatchCIMClientM.java (C) Copyright IBM Corp. 2005, 2006 THIS FILE IS PROVIDED UNDER THE TERMS OF THE COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT. You can obtain a current copy of the Common Public License from http://www.opensource.org/licenses/cpl1.0.php

Constructor Summary

BatchCIMClient()

Method Summary

int
associatorNames(CIMObjectPath pObjectName)
int
associatorNames(CIMObjectPath pObjectName, String pAssociationClass, String pResultClass, String pRole, String pResultRole)
int
associators(CIMObjectPath pObjectName)
int
associators(CIMObjectPath pObjectName, String pAssociationClass, String pResultClass, String pRole, String pResultRole, boolean pIncludeQualifiers, boolean pIncludeClassOrigin, String[] pPropertyList)
int
createClass(CIMObjectPath pPath, CIMClass pClass)
int
createInstance(CIMObjectPath pPath, CIMInstance pInstance)
int
createNameSpace(CIMNameSpace pNamespace)
int
createQualifierType(CIMObjectPath pPath, CIMQualifierType pQualifierType)
int
deleteClass(CIMObjectPath pPath)
int
deleteInstance(CIMObjectPath pPath)
int
deleteNameSpace(CIMNameSpace pNamespace)
int
deleteQualifierType(CIMObjectPath pPath)
int
enumNameSpace(CIMNameSpace pNamespace)
int
enumQualifierTypes(CIMObjectPath pPath)
int
enumerateClassNames(CIMObjectPath pPath, boolean pDeep)
int
enumerateClasses(CIMObjectPath pPath, boolean pDeep, boolean pLocalOnly, boolean pIncludeQualifiers, boolean pIncludeClassOrigin)
int
enumerateInstanceNames(CIMObjectPath pPath)
int
enumerateInstances(CIMObjectPath pPath, boolean pDeep, boolean pLocalOnly, boolean pIncludeQualifiers, boolean pIncludeClassOrigin, String[] pPropertyList)
int
execQuery(CIMObjectPath pPath, String pQuery, String pQueryLanguage)
int
getClass(CIMObjectPath pPath, boolean pLocalOnly, boolean pIncludeQualifiers, boolean pIncludeClassOrigin, String[] pPropertyList)
int
getInstance(CIMObjectPath pPath, boolean pLocalOnly, boolean pIncludeQualifiers, boolean pIncludeClassOrigin, String[] pPropertyList)
Vector
getOperations()
int
getProperty(CIMObjectPath pPath, String pName)
int
getQualifierType(CIMObjectPath pPath)
int
getQualifierType(CIMObjectPath pPath, String pQualifierType)
No idea what this method is for
int
invokeMethod(CIMObjectPath pPath, String pMethodName, Vector pInParameters, Vector pOutParameters)
int
referenceNames(CIMObjectPath pPath)
int
referenceNames(CIMObjectPath pPath, String pResultClass, String pRole)
int
references(CIMObjectPath pPath)
int
references(CIMObjectPath pPath, String pResultClass, String pRole, boolean pIncludeQualifiers, boolean pIncludeClassOrigin, String[] pPropertyList)
int
setClass(CIMObjectPath pPath, CIMClass pClass)
int
setInstance(CIMObjectPath pPath, CIMInstance pInstance)
int
setInstance(CIMObjectPath pPath, CIMInstance pInstance, boolean pIncludeQualifiers, String[] pPropertyList)
int
setProperty(CIMObjectPath pPath, String pName)
int
setProperty(CIMObjectPath pPath, String pName, CIMValue pValue)
int
setQualifierType(CIMObjectPath pPath, CIMQualifierType pQualifierType)

Constructor Details

BatchCIMClient

public BatchCIMClient()

Method Details

associatorNames

public int associatorNames(CIMObjectPath pObjectName)
Specified by:
associatorNames in interface BatchHandle

associatorNames

public int associatorNames(CIMObjectPath pObjectName,
                           String pAssociationClass,
                           String pResultClass,
                           String pRole,
                           String pResultRole)
Specified by:
associatorNames in interface BatchHandle

associators

public int associators(CIMObjectPath pObjectName)
Specified by:
associators in interface BatchHandle

associators

public int associators(CIMObjectPath pObjectName,
                       String pAssociationClass,
                       String pResultClass,
                       String pRole,
                       String pResultRole,
                       boolean pIncludeQualifiers,
                       boolean pIncludeClassOrigin,
                       String[] pPropertyList)
Specified by:
associators in interface BatchHandle

createClass

public int createClass(CIMObjectPath pPath,
                       CIMClass pClass)
Specified by:
createClass in interface BatchHandle

createInstance

public int createInstance(CIMObjectPath pPath,
                          CIMInstance pInstance)
Specified by:
createInstance in interface BatchHandle

createNameSpace

public int createNameSpace(CIMNameSpace pNamespace)
Specified by:
createNameSpace in interface BatchHandle

createQualifierType

public int createQualifierType(CIMObjectPath pPath,
                               CIMQualifierType pQualifierType)
Specified by:
createQualifierType in interface BatchHandle

deleteClass

public int deleteClass(CIMObjectPath pPath)
Specified by:
deleteClass in interface BatchHandle

deleteInstance

public int deleteInstance(CIMObjectPath pPath)
Specified by:
deleteInstance in interface BatchHandle

deleteNameSpace

public int deleteNameSpace(CIMNameSpace pNamespace)
Specified by:
deleteNameSpace in interface BatchHandle

deleteQualifierType

public int deleteQualifierType(CIMObjectPath pPath)
Specified by:
deleteQualifierType in interface BatchHandle

enumNameSpace

public int enumNameSpace(CIMNameSpace pNamespace)
Specified by:
enumNameSpace in interface BatchHandle

enumQualifierTypes

public int enumQualifierTypes(CIMObjectPath pPath)
Specified by:
enumQualifierTypes in interface BatchHandle

enumerateClassNames

public int enumerateClassNames(CIMObjectPath pPath,
                               boolean pDeep)
Specified by:
enumerateClassNames in interface BatchHandle

enumerateClasses

public int enumerateClasses(CIMObjectPath pPath,
                            boolean pDeep,
                            boolean pLocalOnly,
                            boolean pIncludeQualifiers,
                            boolean pIncludeClassOrigin)
Specified by:
enumerateClasses in interface BatchHandle

enumerateInstanceNames

public int enumerateInstanceNames(CIMObjectPath pPath)
Specified by:
enumerateInstanceNames in interface BatchHandle

enumerateInstances

public int enumerateInstances(CIMObjectPath pPath,
                              boolean pDeep,
                              boolean pLocalOnly,
                              boolean pIncludeQualifiers,
                              boolean pIncludeClassOrigin,
                              String[] pPropertyList)
Specified by:
enumerateInstances in interface BatchHandle

execQuery

public int execQuery(CIMObjectPath pPath,
                     String pQuery,
                     String pQueryLanguage)
Specified by:
execQuery in interface BatchHandle

getClass

public int getClass(CIMObjectPath pPath,
                    boolean pLocalOnly,
                    boolean pIncludeQualifiers,
                    boolean pIncludeClassOrigin,
                    String[] pPropertyList)
Specified by:
getClass in interface BatchHandle

getInstance

public int getInstance(CIMObjectPath pPath,
                       boolean pLocalOnly,
                       boolean pIncludeQualifiers,
                       boolean pIncludeClassOrigin,
                       String[] pPropertyList)
Specified by:
getInstance in interface BatchHandle

getOperations

public Vector getOperations()
Specified by:
getOperations in interface BatchHandle

getProperty

public int getProperty(CIMObjectPath pPath,
                       String pName)
Specified by:
getProperty in interface BatchHandle

getQualifierType

public int getQualifierType(CIMObjectPath pPath)
Specified by:
getQualifierType in interface BatchHandle

getQualifierType

public int getQualifierType(CIMObjectPath pPath,
                            String pQualifierType)
No idea what this method is for
Parameters:
pPath -
pQualifierType -
Returns:
int

invokeMethod

public int invokeMethod(CIMObjectPath pPath,
                        String pMethodName,
                        Vector pInParameters,
                        Vector pOutParameters)
Specified by:
invokeMethod in interface BatchHandle

referenceNames

public int referenceNames(CIMObjectPath pPath)
Specified by:
referenceNames in interface BatchHandle

referenceNames

public int referenceNames(CIMObjectPath pPath,
                          String pResultClass,
                          String pRole)
Specified by:
referenceNames in interface BatchHandle

references

public int references(CIMObjectPath pPath)
Specified by:
references in interface BatchHandle

references

public int references(CIMObjectPath pPath,
                      String pResultClass,
                      String pRole,
                      boolean pIncludeQualifiers,
                      boolean pIncludeClassOrigin,
                      String[] pPropertyList)
Specified by:
references in interface BatchHandle

setClass

public int setClass(CIMObjectPath pPath,
                    CIMClass pClass)
Specified by:
setClass in interface BatchHandle

setInstance

public int setInstance(CIMObjectPath pPath,
                       CIMInstance pInstance)
Specified by:
setInstance in interface BatchHandle

setInstance

public int setInstance(CIMObjectPath pPath,
                       CIMInstance pInstance,
                       boolean pIncludeQualifiers,
                       String[] pPropertyList)

setProperty

public int setProperty(CIMObjectPath pPath,
                       String pName)
Specified by:
setProperty in interface BatchHandle

setProperty

public int setProperty(CIMObjectPath pPath,
                       String pName,
                       CIMValue pValue)
Specified by:
setProperty in interface BatchHandle

setQualifierType

public int setQualifierType(CIMObjectPath pPath,
                            CIMQualifierType pQualifierType)
Specified by:
setQualifierType in interface BatchHandle

Copyright © 2005, 2006 IBM Corporation. All Rights Reserved.