class Taxon::DeleteOperation
- Taxon::DeleteOperation
- Avram::DeleteOperation(Taxon)
- Reference
- Object
Direct Known Subclasses
Defined in:
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}] of Nil
-
OPERATION_NEEDS =
[] of Nil
Constructors
-
.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.
-
.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 Summary
-
.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.
-
.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.
-
.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.
-
.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.
-
.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.
-
.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 Summary
Instance Method Summary
- #actual_dist_year
- #actual_dist_year=(_value)
- #attributes
- #change_genus_brackets
- #change_genus_brackets=(_value)
- #class_name
- #class_name=(_value)
- #created_at
- #created_at=(_value)
- #delete_status : OperationStatus
- #delete_status=(delete_status : OperationStatus)
- #distribution
- #distribution=(_value)
- #family
- #family=(_value)
- #genus
- #genus=(_value)
- #id
- #id=(_value)
- #image1
- #image1=(_value)
- #image2
- #image2=(_value)
- #image3
- #image3=(_value)
- #image4
- #image4=(_value)
- #image5
- #image5=(_value)
- #japanese_name
- #japanese_name=(_value)
- #kingdom
- #kingdom=(_value)
- #name_publishedin_year
- #name_publishedin_year=(_value)
- #note
- #note=(_value)
- #order
- #order=(_value)
- #params : Avram::Paramable
- #permitted_params : Hash(String, Array(String) | String)
- #phylum
- #phylum=(_value)
- #record : Taxon
- #required_attributes
- #scientific_name_author
- #scientific_name_author=(_value)
- #set_actual_dist_year_from_param(_value)
-
#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.
- #set_change_genus_brackets_from_param(_value)
- #set_class_name_from_param(_value)
- #set_created_at_from_param(_value)
- #set_distribution_from_param(_value)
- #set_family_from_param(_value)
- #set_genus_from_param(_value)
- #set_id_from_param(_value)
- #set_image1_from_param(_value)
- #set_image2_from_param(_value)
- #set_image3_from_param(_value)
- #set_image4_from_param(_value)
- #set_image5_from_param(_value)
- #set_japanese_name_from_param(_value)
- #set_kingdom_from_param(_value)
- #set_name_publishedin_year_from_param(_value)
- #set_note_from_param(_value)
- #set_order_from_param(_value)
- #set_phylum_from_param(_value)
- #set_scientific_name_author_from_param(_value)
- #set_species_from_param(_value)
- #set_subfamily_from_param(_value)
- #set_subgenus_from_param(_value)
- #set_suborder_from_param(_value)
- #set_subspecies_from_param(_value)
- #set_subtribe_from_param(_value)
- #set_tribe_from_param(_value)
- #set_unknown_author_brackets_from_param(_value)
- #set_unknown_name_publishedin_year_brackets_from_param(_value)
- #species
- #species=(_value)
- #subfamily
- #subfamily=(_value)
- #subgenus
- #subgenus=(_value)
- #suborder
- #suborder=(_value)
- #subspecies
- #subspecies=(_value)
- #subtribe
- #subtribe=(_value)
- #tribe
- #tribe=(_value)
- #unknown_author_brackets
- #unknown_author_brackets=(_value)
- #unknown_name_publishedin_year_brackets
- #unknown_name_publishedin_year_brackets=(_value)
Constructor Detail
This is called at the end so @type will be of the subclass, and not the parent abstract class.
This is called at the end so @type will be of the subclass, and not the parent abstract class.
Class Method Detail
This is called at the end so @type will be of the subclass, and not the parent abstract class.
This is called at the end so @type will be of the subclass, and not the parent abstract class.
This is called at the end so @type will be of the subclass, and not the parent abstract class.
This is called at the end so @type will be of the subclass, and not the parent abstract class.
This is called at the end so @type will be of the subclass, and not the parent abstract class.
This is called at the end so @type will be of the subclass, and not the parent abstract class.
Macro Detail
Instance Method Detail
This is called at the end so @type will be of the subclass, and not the parent abstract class.