Class: Lims::Core::Persistence::Search::SearchPersistor
- Defined in:
- lib/lims-core/persistence/search/search_persistor.rb
Overview
Base persistor for Search object. It should be called Persistence::Search but, this is already taken by the main Search class.
Direct Known Subclasses
Constant Summary collapse
- Model =
Persistence::Search
Instance Method Summary collapse
-
#parents(resource) ⇒ Object
Override default one, because filter are serialized and even though they are a Resource they are not counted as parents.
Methods inherited from Persistor
#[], #bind_state_to_id, #bind_state_to_resource, #bulk_delete, #bulk_delete_raw, #bulk_insert, #bulk_retrieve, #bulk_update, #children, #count, #deletable_children, #deletable_parents, #dirty_key_for, #for_each_in_slice, #id_for, #ids_for, inherited, #initialize, #invalid_resource?, #load_children, #model, #new_from_attributes, #new_object, #object_for, #on_object_load, #parents_for_attributes, #purge_invalid_object, register_model, #retrieve, #slice, #state_for, #state_for?, #state_for_id
Constructor Details
This class inherits a constructor from Lims::Core::Persistence::Persistor
Instance Method Details
#parents(resource) ⇒ Object
Override default one, because filter are serialized and even though they are a Resource they are not counted as parents
36 37 38 |
# File 'lib/lims-core/persistence/search/search_persistor.rb', line 36 def parents(resource) [] end |