def idx_searchKeywords(self): keywords = IIndexableWrapper(self).searchKeywords() if keywords: unique_keywords = { keyword for keyword in keywords if keyword } return list(unique_keywords) else: return []
def idx_macAddresses(self): return IIndexableWrapper(self).macAddresses()
def idx_decimal_ipAddress(self): return IIndexableWrapper(self).ipAddress
def idx_zProperties(self): return IIndexableWrapper(self).zProperties
def idx_productionState(self): return IIndexableWrapper(self).productionState()
def idx_collectors(self): cols = IIndexableWrapper(self).collectors() if cols: return [ col for col in cols if col ] else: return []
def idx_monitored(self): return True if IIndexableWrapper(self).monitored() else False
def idx_searchIcon(self): return IIndexableWrapper(self).searchIcon()
def idx_searchExcerpt(self): return IIndexableWrapper(self).searchExcerpt()
def idx_objectImplements(self): """ All interfaces and classes implemented by an object. """ return IIndexableWrapper(self).objectImplements()
def idx_allowedRolesAndUsers(self): """ Roles and users with View permission. """ return IIndexableWrapper(self).allowedRolesAndUsers()
def idx_path(self): """ Paths under which this object may be found. """ return [ '/'.join(p) for p in IIndexableWrapper(self).path() ]
def idx_meta_type(self): """ Object's meta_type. Mostly used for backwards compatibility. """ return IIndexableWrapper(self).meta_type()
def idx_name(self): """ The name of the object. """ return IIndexableWrapper(self).name()
def idx_uuid(self): """ Object's uuid. """ return IIndexableWrapper(self).uuid()
def idx_uid(self): return IIndexableWrapper(self).uid()