class DeleteTaxon

Defined in:

operations/delete_taxon.cr

Constant Summary

ATTRIBUTES = [] of Nil
COLUMN_ATTRIBUTES = [{name: id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: kingdom, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: phylum, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: class_name, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: order, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: suborder, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: family, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: subfamily, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: tribe, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: subtribe, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: genus, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: subgenus, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: species, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: subspecies, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: scientific_name_author, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: name_publishedin_year, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: true}, {name: change_genus_brackets, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: unknown_author_brackets, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: unknown_name_publishedin_year_brackets, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: actual_dist_year, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: japanese_name, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: distribution, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: note, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: image1, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image2, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image3, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image4, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image5, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: kingdom, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: phylum, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: class_name, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: order, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: suborder, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: family, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: subfamily, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: tribe, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: subtribe, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: genus, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: subgenus, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: species, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: subspecies, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: scientific_name_author, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: name_publishedin_year, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: true}, {name: change_genus_brackets, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: unknown_author_brackets, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: unknown_name_publishedin_year_brackets, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: actual_dist_year, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: japanese_name, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: distribution, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: note, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: image1, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image2, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image3, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image4, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image5, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}] of Nil
OPERATION_NEEDS = [] of Nil

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Instance methods inherited from class Taxon::DeleteOperation

actual_dist_year actual_dist_year, actual_dist_year=(_value) actual_dist_year=, attributes attributes, change_genus_brackets change_genus_brackets, change_genus_brackets=(_value) change_genus_brackets=, class_name class_name, class_name=(_value) class_name=, created_at created_at, created_at=(_value) created_at=, delete_status : OperationStatus delete_status, delete_status=(delete_status : OperationStatus) delete_status=, distribution distribution, distribution=(_value) distribution=, family family, family=(_value) family=, genus genus, genus=(_value) genus=, id id, id=(_value) id=, image1 image1, image1=(_value) image1=, image2 image2, image2=(_value) image2=, image3 image3, image3=(_value) image3=, image4 image4, image4=(_value) image4=, image5 image5, image5=(_value) image5=, japanese_name japanese_name, japanese_name=(_value) japanese_name=, kingdom kingdom, kingdom=(_value) kingdom=, name_publishedin_year name_publishedin_year, name_publishedin_year=(_value) name_publishedin_year=, note note, note=(_value) note=, order order, order=(_value) order=, params : Avram::Paramable params, permitted_params : Hash(String, Array(String) | String) permitted_params, phylum phylum, phylum=(_value) phylum=, record : Taxon record, required_attributes required_attributes, scientific_name_author scientific_name_author, scientific_name_author=(_value) scientific_name_author=, set_actual_dist_year_from_param(_value) set_actual_dist_year_from_param, set_attributes(id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) set_attributes, set_change_genus_brackets_from_param(_value) set_change_genus_brackets_from_param, set_class_name_from_param(_value) set_class_name_from_param, set_created_at_from_param(_value) set_created_at_from_param, set_distribution_from_param(_value) set_distribution_from_param, set_family_from_param(_value) set_family_from_param, set_genus_from_param(_value) set_genus_from_param, set_id_from_param(_value) set_id_from_param, set_image1_from_param(_value) set_image1_from_param, set_image2_from_param(_value) set_image2_from_param, set_image3_from_param(_value) set_image3_from_param, set_image4_from_param(_value) set_image4_from_param, set_image5_from_param(_value) set_image5_from_param, set_japanese_name_from_param(_value) set_japanese_name_from_param, set_kingdom_from_param(_value) set_kingdom_from_param, set_name_publishedin_year_from_param(_value) set_name_publishedin_year_from_param, set_note_from_param(_value) set_note_from_param, set_order_from_param(_value) set_order_from_param, set_phylum_from_param(_value) set_phylum_from_param, set_scientific_name_author_from_param(_value) set_scientific_name_author_from_param, set_species_from_param(_value) set_species_from_param, set_subfamily_from_param(_value) set_subfamily_from_param, set_subgenus_from_param(_value) set_subgenus_from_param, set_suborder_from_param(_value) set_suborder_from_param, set_subspecies_from_param(_value) set_subspecies_from_param, set_subtribe_from_param(_value) set_subtribe_from_param, set_tribe_from_param(_value) set_tribe_from_param, set_unknown_author_brackets_from_param(_value) set_unknown_author_brackets_from_param, set_unknown_name_publishedin_year_brackets_from_param(_value) set_unknown_name_publishedin_year_brackets_from_param, species species, species=(_value) species=, subfamily subfamily, subfamily=(_value) subfamily=, subgenus subgenus, subgenus=(_value) subgenus=, suborder suborder, suborder=(_value) suborder=, subspecies subspecies, subspecies=(_value) subspecies=, subtribe subtribe, subtribe=(_value) subtribe=, tribe tribe, tribe=(_value) tribe=, unknown_author_brackets unknown_author_brackets, unknown_author_brackets=(_value) unknown_author_brackets=, unknown_name_publishedin_year_brackets unknown_name_publishedin_year_brackets, unknown_name_publishedin_year_brackets=(_value) unknown_name_publishedin_year_brackets=

Constructor methods inherited from class Taxon::DeleteOperation

new(record : T, params : Avram::Paramable, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE)
new(record : T, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE)
new

Class methods inherited from class Taxon::DeleteOperation

delete(record : T, params, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &)
delete(record : T, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &)
delete(record : T, params : Hash, **named_args, &)
delete
, delete!(record : T, params, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE)
delete!(record : T, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE)
delete!(record : T, params : Hash, **named_args)
delete!

Macros inherited from class Taxon::DeleteOperation

param_key(key) param_key

Constructor Detail

def self.new(record : T, params : Avram::Paramable, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.new(record : T, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


Class Method Detail

def self.delete(record : T, params, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete(record : T, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete(record : T, params : Hash, **named_args, &) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete!(record : T, params, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete!(record : T, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete!(record : T, params : Hash, **named_args) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


Macro Detail

macro param_key(key) #

Instance Method Detail

def delete_status : OperationStatus #

def delete_status=(delete_status : OperationStatus) #

def params : Avram::Paramable #

def record : Taxon #

def set_attributes(id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, kingdom : String | Avram::Nothing = IGNORE, phylum : String | Avram::Nothing = IGNORE, class_name : String | Avram::Nothing = IGNORE, order : String | Avram::Nothing = IGNORE, suborder : String | Avram::Nothing = IGNORE, family : String | Avram::Nothing = IGNORE, subfamily : String | Avram::Nothing = IGNORE, tribe : String | Avram::Nothing = IGNORE, subtribe : String | Avram::Nothing = IGNORE, genus : String | Avram::Nothing = IGNORE, subgenus : String | Avram::Nothing = IGNORE, species : String | Avram::Nothing = IGNORE, subspecies : String | Avram::Nothing = IGNORE, scientific_name_author : String | Avram::Nothing = IGNORE, name_publishedin_year : Int32 | Avram::Nothing = IGNORE, change_genus_brackets : Bool | Avram::Nothing = IGNORE, unknown_author_brackets : Bool | Avram::Nothing = IGNORE, unknown_name_publishedin_year_brackets : Bool | Avram::Nothing = IGNORE, actual_dist_year : Int32 | Avram::Nothing = IGNORE, japanese_name : String | Avram::Nothing = IGNORE, distribution : String | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.