示例#1
0
 def setSharedGlobal(self, name, value):
     self._sa.SetSharedGlobal(vstr(name), vstr(value), vshort(0))
示例#2
0
 def setPositionName(self, value):
     self._sa.SetPositionName(vstr(value), vshort(0))
示例#3
0
 def setProfileAttr(self, name, value):
     self._sa.SetProfileAttr(vstr(name), vstr(value), vshort(0))
示例#4
0
 def invokeMethod(self, methodName, *methodArgs):
     return self._sa.InvokeMethod(vstr(methodName),
                                  vstrarr(list(methodArgs)),
                                  vshort(0))
示例#5
0
 def login(self, login, password):
     self._sa.Login(vstr(login), vstr(password), vshort(0))
示例#6
0
 def getSharedGlobal(self, name):
     return self._sa.GetSharedGlobal(vstr(name), vshort(0))
示例#7
0
 def getService(self, name):
     return SiebelService(self._sa.GetService(vstr(name), vshort(0)),
                          self._sa)
示例#8
0
 def getProfileAttr(self, name):
     return self._sa.GetProfileAttr(vstr(name), vshort(0))
示例#9
0
 def getBusObject(self, name):
     return SiebelBusObject(self._sa.GetBusObject(vstr(name), vshort(0)),
                            self._sa)
示例#10
0
 def __init__(self, conf):
     self._sa = wc.Dispatch(PROGID)
     self._sa.LoadObjects(vstr(conf), vshort(0))