doc/api/predicates.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 06 Jul 2016 20:14:55 +0200
branch3.22
changeset 11440 8388b37720e1
parent 10499 d0907690af55
child 12792 e2cdb1be6bd9
permissions -rw-r--r--
[session] Ensure access to rql varmaker always mark the session as dirty When one accesses the rql_varmaker, that's usually to use it. The pb was that when the varmaker was already in page's data (which is stored as session data), session storage such as redis won't see that the session data is dirty and has to be stored back at the end of the request. To fix this, systematically call set_page_data. (grafted from 3432f0e2540d)

.. _predicates_module:

:mod:`cubicweb.predicates`
==========================

.. automodule:: cubicweb.predicates

   .. autoclass:: cubicweb.appobject.yes
   .. autoclass:: cubicweb.predicates.match_kwargs
   .. autoclass:: cubicweb.predicates.appobject_selectable
   .. autoclass:: cubicweb.predicates.adaptable
   .. autoclass:: cubicweb.predicates.configuration_values
   
   .. autoclass:: cubicweb.predicates.none_rset
   .. autoclass:: cubicweb.predicates.any_rset
   .. autoclass:: cubicweb.predicates.nonempty_rset
   .. autoclass:: cubicweb.predicates.empty_rset
   .. autoclass:: cubicweb.predicates.one_line_rset
   .. autoclass:: cubicweb.predicates.multi_lines_rset
   .. autoclass:: cubicweb.predicates.multi_columns_rset
   .. autoclass:: cubicweb.predicates.paginated_rset
   .. autoclass:: cubicweb.predicates.sorted_rset
   .. autoclass:: cubicweb.predicates.one_etype_rset
   .. autoclass:: cubicweb.predicates.multi_etypes_rset
   
   .. autoclass:: cubicweb.predicates.non_final_entity
   .. autoclass:: cubicweb.predicates.is_instance
   .. autoclass:: cubicweb.predicates.score_entity
   .. autoclass:: cubicweb.predicates.rql_condition
   .. autoclass:: cubicweb.predicates.relation_possible
   .. autoclass:: cubicweb.predicates.partial_relation_possible
   .. autoclass:: cubicweb.predicates.has_related_entities
   .. autoclass:: cubicweb.predicates.partial_has_related_entities
   .. autoclass:: cubicweb.predicates.has_permission
   .. autoclass:: cubicweb.predicates.has_add_permission
   .. autoclass:: cubicweb.predicates.has_mimetype
   .. autoclass:: cubicweb.predicates.is_in_state
   .. autofunction:: cubicweb.predicates.on_fire_transition
   
   .. autoclass:: cubicweb.predicates.match_user_groups
   
   .. autoclass:: cubicweb.predicates.no_cnx
   .. autoclass:: cubicweb.predicates.anonymous_user
   .. autoclass:: cubicweb.predicates.authenticated_user
   .. autoclass:: cubicweb.predicates.match_form_params
   .. autoclass:: cubicweb.predicates.match_search_state
   .. autoclass:: cubicweb.predicates.match_context_prop
   .. autoclass:: cubicweb.predicates.match_context
   .. autoclass:: cubicweb.predicates.match_view
   .. autoclass:: cubicweb.predicates.primary_view
   .. autoclass:: cubicweb.predicates.contextual
   .. autoclass:: cubicweb.predicates.specified_etype_implements
   .. autoclass:: cubicweb.predicates.attribute_edited
   .. autoclass:: cubicweb.predicates.match_transition
   
   .. autoclass:: cubicweb.predicates.match_exception
   .. autoclass:: cubicweb.predicates.debug_mode