Ejemplo n.º 1
0
def getCounter(self):
    """ return a counter which is increased on catalog changes """
    processQueue()
    return self.__af_old_getCounter()
Ejemplo n.º 2
0
def unrestrictedSearchResults(self, REQUEST=None, **kw):
    """ flush the queue before querying the catalog """
    processQueue()
    return self.__af_old_unrestrictedSearchResults(REQUEST, **kw)
Ejemplo n.º 3
0
 def unindex(self, obj):
     result = orig_unindex(self, obj)
     processQueue()
     return result
Ejemplo n.º 4
0
 def reindex(self, obj, attributes=None):
     result = orig_reindex(self, obj, attributes=attributes)
     processQueue()
     return result
Ejemplo n.º 5
0
def getCounter(self):
    """ return a counter which is increased on catalog changes """
    processQueue()
    return self.__af_old_getCounter()
Ejemplo n.º 6
0
def unrestrictedSearchResults(self, REQUEST=None, **kw):
    """ flush the queue before querying the catalog """
    processQueue()
    return self.__af_old_unrestrictedSearchResults(REQUEST, **kw)