Ejemplo n.º 1
0
 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 []
Ejemplo n.º 2
0
 def idx_macAddresses(self):
     return IIndexableWrapper(self).macAddresses()
Ejemplo n.º 3
0
    def idx_decimal_ipAddress(self):

        return IIndexableWrapper(self).ipAddress
Ejemplo n.º 4
0
 def idx_zProperties(self):
     return IIndexableWrapper(self).zProperties
Ejemplo n.º 5
0
 def idx_productionState(self):
     return IIndexableWrapper(self).productionState()
Ejemplo n.º 6
0
 def idx_collectors(self):
     cols = IIndexableWrapper(self).collectors()
     if cols:
         return [ col for col in cols if col ]
     else:
         return []
Ejemplo n.º 7
0
 def idx_monitored(self):
     return True if IIndexableWrapper(self).monitored() else False
Ejemplo n.º 8
0
 def idx_searchIcon(self):
     return IIndexableWrapper(self).searchIcon()
Ejemplo n.º 9
0
 def idx_searchExcerpt(self):
     return IIndexableWrapper(self).searchExcerpt()
Ejemplo n.º 10
0
 def idx_objectImplements(self):
     """
     All interfaces and classes implemented by an object.
     """
     return IIndexableWrapper(self).objectImplements()
Ejemplo n.º 11
0
 def idx_allowedRolesAndUsers(self):
     """
     Roles and users with View permission.
     """
     return IIndexableWrapper(self).allowedRolesAndUsers()
Ejemplo n.º 12
0
 def idx_path(self):
     """
     Paths under which this object may be found.
     """
     return [ '/'.join(p) for p in IIndexableWrapper(self).path() ]
Ejemplo n.º 13
0
 def idx_meta_type(self):
     """
     Object's meta_type. Mostly used for backwards compatibility.
     """
     return IIndexableWrapper(self).meta_type()
Ejemplo n.º 14
0
 def idx_name(self):
     """
     The name of the object.
     """
     return IIndexableWrapper(self).name()
Ejemplo n.º 15
0
 def idx_uuid(self):
     """
     Object's uuid.
     """
     return IIndexableWrapper(self).uuid()
Ejemplo n.º 16
0
 def idx_uid(self):
     return IIndexableWrapper(self).uid()