Class: BatchDeleteController

Inherits:
ApplicationController show all
Defined in:
frontend/app/controllers/batch_delete_controller.rb

Constant Summary

Constants included from Searchable

Searchable::ABSTRACT

Instance Method Summary collapse

Methods inherited from ApplicationController

#archivesspace, can_access?, permission_mappings, set_access_control

Methods included from JsonHelper

#merge_notes, #process_json_notes

Methods included from Searchable

#default_search_opts, #get_filter_years, #handle_results, #html_notes, #process_results, #process_search_results, #repo_context, #search_terms, #set_up_advanced_search, #set_up_and_run_search, #set_up_search, #strip_facet_fields

Methods included from HandleFaceting

#fetch_only_facets, #get_pretty_facet_value, #strip_facets

Methods included from ManipulateNode

#inheritance, #process_mixed_content, #strip_mixed_content

Instance Method Details

#agentsObject



23
24
25
# File 'frontend/app/controllers/batch_delete_controller.rb', line 23

def agents
  delete_records(params[:record_uris])
end

#archival_recordsObject



15
16
17
# File 'frontend/app/controllers/batch_delete_controller.rb', line 15

def archival_records
  delete_records(params[:record_uris])
end

#assessmentsObject



31
32
33
# File 'frontend/app/controllers/batch_delete_controller.rb', line 31

def assessments
  delete_records(params[:record_uris])
end

#classificationsObject



27
28
29
# File 'frontend/app/controllers/batch_delete_controller.rb', line 27

def classifications
  delete_records(params[:record_uris])
end

#container_profilesObject



35
36
37
# File 'frontend/app/controllers/batch_delete_controller.rb', line 35

def container_profiles
  delete_records(params[:record_uris])
end

#locationsObject



11
12
13
# File 'frontend/app/controllers/batch_delete_controller.rb', line 11

def locations
  delete_records(params[:record_uris])
end

#subjectsObject



19
20
21
# File 'frontend/app/controllers/batch_delete_controller.rb', line 19

def subjects
  delete_records(params[:record_uris])
end