doc/api/predicates.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 24 Nov 2015 14:36:41 +0100
changeset 10912 addc7ba36f69
parent 10499 d0907690af55
child 12792 e2cdb1be6bd9
permissions -rw-r--r--
[ldapfeed / dataimport] port ldapfeed parser to dataimport API This makes the code easier to understand and will allow to deprecate the old multi-sources api, based on creation callback through repo.extid2eid. Currently with this patch, modification dates are not checked, hence entities will be systematically updated. We run the import with no hooks, because RQLObjectStore can only add entities to the system source.

.. _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