4 import NavigationInstance
6 class ServiceReference(eServiceReference):
7 def __init__(self, ref):
8 if not isinstance(ref, eServiceReference):
9 self.ref = eServiceReference(ref or "")
12 self.serviceHandler = eServiceCenter.getInstance()
15 return self.ref.toString()
17 def getServiceName(self):
19 return info and info.getName(self.ref) or ""
22 return self.serviceHandler.info(self.ref)
25 return self.serviceHandler.record(self.ref)
28 return self.serviceHandler.list(self.ref)
31 return self.serviceHandler.info(self.ref)
33 def offlineOperations(self):
34 return self.serviceHandler.offlineOperations(self.ref)