class Specimen::DeleteOperation
- Specimen::DeleteOperation
- Avram::DeleteOperation(Specimen)
- 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: 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
-
.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.
-
.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 Summary
-
.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.
-
.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.
-
.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, 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.
-
.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.
-
.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
- #allow_kojin_shuzo
- #allow_kojin_shuzo=(_value)
- #attributes
- #collect_point_info_id
- #collect_point_info_id=(_value)
- #collecter
- #collecter=(_value)
- #collection_code
- #collection_code=(_value)
- #collection_settings_info_id
- #collection_settings_info_id=(_value)
- #custom_taxon_info_id
- #custom_taxon_info_id=(_value)
- #date_identified
- #date_identified=(_value)
- #date_last_modified
- #date_last_modified=(_value)
- #day
- #day=(_value)
- #default_taxon_info_id
- #default_taxon_info_id=(_value)
- #delete_status : OperationStatus
- #delete_status=(delete_status : OperationStatus)
- #disposition
- #disposition=(_value)
- #establishment_means
- #establishment_means=(_value)
- #id
- #id=(_value)
- #identified_by
- #identified_by=(_value)
- #image1
- #image1=(_value)
- #image2
- #image2=(_value)
- #image3
- #image3=(_value)
- #image4
- #image4=(_value)
- #image5
- #image5=(_value)
- #lifestage
- #lifestage=(_value)
- #month
- #month=(_value)
- #note
- #note=(_value)
- #params : Avram::Paramable
- #permitted_params : Hash(String, Array(String) | String)
- #preparation_type
- #preparation_type=(_value)
- #published_kojin_shuzo
- #published_kojin_shuzo=(_value)
- #record : Specimen
- #required_attributes
- #rights
- #rights=(_value)
- #sampling_effort
- #sampling_effort=(_value)
- #sampling_protocol
- #sampling_protocol=(_value)
- #set_allow_kojin_shuzo_from_param(_value)
-
#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.
- #set_collect_point_info_id_from_param(_value)
- #set_collecter_from_param(_value)
- #set_collection_code_from_param(_value)
- #set_collection_settings_info_id_from_param(_value)
- #set_custom_taxon_info_id_from_param(_value)
- #set_date_identified_from_param(_value)
- #set_date_last_modified_from_param(_value)
- #set_day_from_param(_value)
- #set_default_taxon_info_id_from_param(_value)
- #set_disposition_from_param(_value)
- #set_establishment_means_from_param(_value)
- #set_id_from_param(_value)
- #set_identified_by_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_lifestage_from_param(_value)
- #set_month_from_param(_value)
- #set_note_from_param(_value)
- #set_preparation_type_from_param(_value)
- #set_published_kojin_shuzo_from_param(_value)
- #set_rights_from_param(_value)
- #set_sampling_effort_from_param(_value)
- #set_sampling_protocol_from_param(_value)
- #set_sex_from_param(_value)
- #set_tour_id_from_param(_value)
- #set_user_id_from_param(_value)
- #set_year_from_param(_value)
- #sex
- #sex=(_value)
- #tour_id
- #tour_id=(_value)
- #user_id
- #user_id=(_value)
- #year
- #year=(_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.