class DeleteSpecimen

Defined in:

operations/delete_specimen.cr

Constant Summary

ATTRIBUTES = [] of Nil
COLUMN_ATTRIBUTES = [{name: id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: date_last_modified, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: user_id, type: Int32, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: collection_code, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: identified_by, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: date_identified, type: Time, nilable: false, autogenerated: false, value: Time.local, serialized: false, allow_blank: false}, {name: collecter, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: year, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: month, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: day, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: sex, type: String, nilable: false, autogenerated: false, value: "U", serialized: false, allow_blank: true}, {name: preparation_type, type: String, nilable: false, autogenerated: false, value: "dry specimens", serialized: false, allow_blank: true}, {name: disposition, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: sampling_protocol, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: sampling_effort, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: lifestage, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: establishment_means, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: rights, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: custom_taxon_info_id, type: Taxon::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: default_taxon_info_id, type: Taxon::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: collect_point_info_id, type: CollectPoint::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: collection_settings_info_id, type: CollectionSetting::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: tour_id, type: Tour::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: note, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: allow_kojin_shuzo, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: published_kojin_shuzo, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {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: date_last_modified, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: user_id, type: Int32, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: collection_code, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: identified_by, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: date_identified, type: Time, nilable: false, autogenerated: false, value: Time.local, serialized: false, allow_blank: false}, {name: collecter, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: year, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: month, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: day, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: sex, type: String, nilable: false, autogenerated: false, value: "U", serialized: false, allow_blank: true}, {name: preparation_type, type: String, nilable: false, autogenerated: false, value: "dry specimens", serialized: false, allow_blank: true}, {name: disposition, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: sampling_protocol, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: sampling_effort, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: lifestage, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: establishment_means, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: rights, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: custom_taxon_info_id, type: Taxon::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: default_taxon_info_id, type: Taxon::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: collect_point_info_id, type: CollectPoint::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: collection_settings_info_id, type: CollectionSetting::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: tour_id, type: Tour::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: note, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: allow_kojin_shuzo, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: published_kojin_shuzo, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {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 Specimen::DeleteOperation

allow_kojin_shuzo allow_kojin_shuzo, allow_kojin_shuzo=(_value) allow_kojin_shuzo=, attributes attributes, collect_point_info_id collect_point_info_id, collect_point_info_id=(_value) collect_point_info_id=, collecter collecter, collecter=(_value) collecter=, collection_code collection_code, collection_code=(_value) collection_code=, collection_settings_info_id collection_settings_info_id, collection_settings_info_id=(_value) collection_settings_info_id=, custom_taxon_info_id custom_taxon_info_id, custom_taxon_info_id=(_value) custom_taxon_info_id=, date_identified date_identified, date_identified=(_value) date_identified=, date_last_modified date_last_modified, date_last_modified=(_value) date_last_modified=, day day, day=(_value) day=, default_taxon_info_id default_taxon_info_id, default_taxon_info_id=(_value) default_taxon_info_id=, delete_status : OperationStatus delete_status, delete_status=(delete_status : OperationStatus) delete_status=, disposition disposition, disposition=(_value) disposition=, establishment_means establishment_means, establishment_means=(_value) establishment_means=, id id, id=(_value) id=, identified_by identified_by, identified_by=(_value) identified_by=, 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=, lifestage lifestage, lifestage=(_value) lifestage=, month month, month=(_value) month=, note note, note=(_value) note=, params : Avram::Paramable params, permitted_params : Hash(String, Array(String) | String) permitted_params, preparation_type preparation_type, preparation_type=(_value) preparation_type=, published_kojin_shuzo published_kojin_shuzo, published_kojin_shuzo=(_value) published_kojin_shuzo=, record : Specimen record, required_attributes required_attributes, rights rights, rights=(_value) rights=, sampling_effort sampling_effort, sampling_effort=(_value) sampling_effort=, sampling_protocol sampling_protocol, sampling_protocol=(_value) sampling_protocol=, set_allow_kojin_shuzo_from_param(_value) set_allow_kojin_shuzo_from_param, set_attributes(id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | 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_collect_point_info_id_from_param(_value) set_collect_point_info_id_from_param, set_collecter_from_param(_value) set_collecter_from_param, set_collection_code_from_param(_value) set_collection_code_from_param, set_collection_settings_info_id_from_param(_value) set_collection_settings_info_id_from_param, set_custom_taxon_info_id_from_param(_value) set_custom_taxon_info_id_from_param, set_date_identified_from_param(_value) set_date_identified_from_param, set_date_last_modified_from_param(_value) set_date_last_modified_from_param, set_day_from_param(_value) set_day_from_param, set_default_taxon_info_id_from_param(_value) set_default_taxon_info_id_from_param, set_disposition_from_param(_value) set_disposition_from_param, set_establishment_means_from_param(_value) set_establishment_means_from_param, set_id_from_param(_value) set_id_from_param, set_identified_by_from_param(_value) set_identified_by_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_lifestage_from_param(_value) set_lifestage_from_param, set_month_from_param(_value) set_month_from_param, set_note_from_param(_value) set_note_from_param, set_preparation_type_from_param(_value) set_preparation_type_from_param, set_published_kojin_shuzo_from_param(_value) set_published_kojin_shuzo_from_param, set_rights_from_param(_value) set_rights_from_param, set_sampling_effort_from_param(_value) set_sampling_effort_from_param, set_sampling_protocol_from_param(_value) set_sampling_protocol_from_param, set_sex_from_param(_value) set_sex_from_param, set_tour_id_from_param(_value) set_tour_id_from_param, set_user_id_from_param(_value) set_user_id_from_param, set_year_from_param(_value) set_year_from_param, sex sex, sex=(_value) sex=, tour_id tour_id, tour_id=(_value) tour_id=, user_id user_id, user_id=(_value) user_id=, year year, year=(_value) year=

Constructor methods inherited from class Specimen::DeleteOperation

new(record : T, params : Avram::Paramable, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | 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, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | 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 Specimen::DeleteOperation

delete(record : T, params, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | 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, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | 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, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | 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, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | 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 Specimen::DeleteOperation

param_key(key) param_key

Constructor Detail

def self.new(record : T, params : Avram::Paramable, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | 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, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | 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, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | 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, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | 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, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | 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, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | 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 : Specimen #

def set_attributes(id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | 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.