Public Member Functions | |
def | __init__ |
def | __add__ |
def | __getitem__ |
def | __len__ |
def | resolve |
def | __repr__ |
Public Attributes | |
resolution | |
content |
Definition at line 108 of file __init__.py.
def DybPython::Catalog::__init__::EntrySelection::__init__ | ( | self, | ||
lhs, | ||||
rhs | ||||
) |
Definition at line 111 of file __init__.py.
00111 : 00112 """ 00113 Creates an selection. If the second argument in None, then 00114 the first argument is taken to be a single selection. Otherwise 00115 both argments are taken to be instances of this class. 00116 """ 00117 self.resolution = None 00118 self.content = [] 00119 if (None == rhs): self.content.append(lhs)
def DybPython::Catalog::__init__::EntrySelection::__add__ | ( | self, | ||
others | ||||
) |
def DybPython::Catalog::__init__::EntrySelection::__getitem__ | ( | self, | ||
key | ||||
) |
Definition at line 123 of file __init__.py.
00124 : 00125 return EntrySelection(self, others) 00126 def __getitem__(self, key):
def DybPython::Catalog::__init__::EntrySelection::__len__ | ( | self | ) |
Definition at line 127 of file __init__.py.
00127 : 00128 self.resolve() 00129 return self.resolution[key] 00130 def __len__(self):
def DybPython::Catalog::__init__::EntrySelection::resolve | ( | self | ) |
Definition at line 131 of file __init__.py.
00131 : 00132 self.resolve() 00133 return len(self.resolution) 00134 00135 def resolve(self): 00136 if self.resolution: 00137 return 00138 00139 from CatalogBeanService_services import CatalogBeanServiceLocator, CatalogBean_getBinaryFilesByEntryIds 00140 loc = CatalogBeanServiceLocator() 00141 port = loc.getCatalogBean(url) 00142 req = CatalogBean_getBinaryFilesByEntryIds() 00143 req._arg0 = self.content self.resolution = []
def DybPython::Catalog::__init__::EntrySelection::__repr__ | ( | self | ) |
Definition at line 144 of file __init__.py.
00145 : 00146 self.resolution.append(name.encode('utf-8')) 00147 00148 def __repr__(self): self.resolve()
Definition at line 113 of file __init__.py.
Definition at line 114 of file __init__.py.