class

CollectPoint::DeleteOperation

Inherits Avram::DeleteOperation < Avram::AddColumnAttributes < Avram::InheritColumnAttributes < Avram::Callbacks < Avram::ParamKeyOverride < Avram::OperationErrors < Avram::Validations < Avram::DefineAttribute < Avram::NeedyInitializerAndDeleteMethods < Reference < Object

Constants

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: contient, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: island_group, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: island, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: country, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: state_provice, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: county, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: municipality, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: verbatim_locality, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: japanese_place_name, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: japanese_place_name_detail, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: coordinate_precision, type: Float64, nilable: false, autogenerated: false, value: 0.0, serialized: false, allow_blank: false}, {name: location, type: PostGIS::Point2D, nilable: false, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: minimum_elevation, type: Float64, nilable: false, autogenerated: false, value: 0.0, serialized: false, allow_blank: false}, {name: maximum_elevation, type: Float64, nilable: false, autogenerated: false, value: 0.0, serialized: false, allow_blank: false}, {name: minimum_depth, type: Float64, nilable: false, autogenerated: false, value: 0.0, serialized: false, allow_blank: false}, {name: maximum_depth, type: Float64, nilable: false, autogenerated: false, value: 0.0, serialized: false, allow_blank: false}, {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: user_id, type: Int32, 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, contient : String | Avram::Nothing = IGNORE, island_group : String | Avram::Nothing = IGNORE, island : String | Avram::Nothing = IGNORE, country : String | Avram::Nothing = IGNORE, state_provice : String | Avram::Nothing = IGNORE, county : String | Avram::Nothing = IGNORE, municipality : String | Avram::Nothing = IGNORE, verbatim_locality : String | Avram::Nothing = IGNORE, japanese_place_name : String | Avram::Nothing = IGNORE, japanese_place_name_detail : String | Avram::Nothing = IGNORE, coordinate_precision : Float64 | Avram::Nothing = IGNORE, location : PostGIS::Point2D | Avram::Nothing = IGNORE, minimum_elevation : Float64 | Avram::Nothing = IGNORE, maximum_elevation : Float64 | Avram::Nothing = IGNORE, minimum_depth : Float64 | Avram::Nothing = IGNORE, maximum_depth : Float64 | 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, user_id : Int32 | 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, contient : String | Avram::Nothing = IGNORE, island_group : String | Avram::Nothing = IGNORE, island : String | Avram::Nothing = IGNORE, country : String | Avram::Nothing = IGNORE, state_provice : String | Avram::Nothing = IGNORE, county : String | Avram::Nothing = IGNORE, municipality : String | Avram::Nothing = IGNORE, verbatim_locality : String | Avram::Nothing = IGNORE, japanese_place_name : String | Avram::Nothing = IGNORE, japanese_place_name_detail : String | Avram::Nothing = IGNORE, coordinate_precision : Float64 | Avram::Nothing = IGNORE, location : PostGIS::Point2D | Avram::Nothing = IGNORE, minimum_elevation : Float64 | Avram::Nothing = IGNORE, maximum_elevation : Float64 | Avram::Nothing = IGNORE, minimum_depth : Float64 | Avram::Nothing = IGNORE, maximum_depth : Float64 | 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, user_id : Int32 | Avram::Nothing | Nil = IGNORE)

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

Class methods

delete(record : T, params, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, contient : String | Avram::Nothing = IGNORE, island_group : String | Avram::Nothing = IGNORE, island : String | Avram::Nothing = IGNORE, country : String | Avram::Nothing = IGNORE, state_provice : String | Avram::Nothing = IGNORE, county : String | Avram::Nothing = IGNORE, municipality : String | Avram::Nothing = IGNORE, verbatim_locality : String | Avram::Nothing = IGNORE, japanese_place_name : String | Avram::Nothing = IGNORE, japanese_place_name_detail : String | Avram::Nothing = IGNORE, coordinate_precision : Float64 | Avram::Nothing = IGNORE, location : PostGIS::Point2D | Avram::Nothing = IGNORE, minimum_elevation : Float64 | Avram::Nothing = IGNORE, maximum_elevation : Float64 | Avram::Nothing = IGNORE, minimum_depth : Float64 | Avram::Nothing = IGNORE, maximum_depth : Float64 | 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, user_id : Int32 | 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, contient : String | Avram::Nothing = IGNORE, island_group : String | Avram::Nothing = IGNORE, island : String | Avram::Nothing = IGNORE, country : String | Avram::Nothing = IGNORE, state_provice : String | Avram::Nothing = IGNORE, county : String | Avram::Nothing = IGNORE, municipality : String | Avram::Nothing = IGNORE, verbatim_locality : String | Avram::Nothing = IGNORE, japanese_place_name : String | Avram::Nothing = IGNORE, japanese_place_name_detail : String | Avram::Nothing = IGNORE, coordinate_precision : Float64 | Avram::Nothing = IGNORE, location : PostGIS::Point2D | Avram::Nothing = IGNORE, minimum_elevation : Float64 | Avram::Nothing = IGNORE, maximum_elevation : Float64 | Avram::Nothing = IGNORE, minimum_depth : Float64 | Avram::Nothing = IGNORE, maximum_depth : Float64 | 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, user_id : Int32 | 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, contient : String | Avram::Nothing = IGNORE, island_group : String | Avram::Nothing = IGNORE, island : String | Avram::Nothing = IGNORE, country : String | Avram::Nothing = IGNORE, state_provice : String | Avram::Nothing = IGNORE, county : String | Avram::Nothing = IGNORE, municipality : String | Avram::Nothing = IGNORE, verbatim_locality : String | Avram::Nothing = IGNORE, japanese_place_name : String | Avram::Nothing = IGNORE, japanese_place_name_detail : String | Avram::Nothing = IGNORE, coordinate_precision : Float64 | Avram::Nothing = IGNORE, location : PostGIS::Point2D | Avram::Nothing = IGNORE, minimum_elevation : Float64 | Avram::Nothing = IGNORE, maximum_elevation : Float64 | Avram::Nothing = IGNORE, minimum_depth : Float64 | Avram::Nothing = IGNORE, maximum_depth : Float64 | 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, user_id : Int32 | 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, contient : String | Avram::Nothing = IGNORE, island_group : String | Avram::Nothing = IGNORE, island : String | Avram::Nothing = IGNORE, country : String | Avram::Nothing = IGNORE, state_provice : String | Avram::Nothing = IGNORE, county : String | Avram::Nothing = IGNORE, municipality : String | Avram::Nothing = IGNORE, verbatim_locality : String | Avram::Nothing = IGNORE, japanese_place_name : String | Avram::Nothing = IGNORE, japanese_place_name_detail : String | Avram::Nothing = IGNORE, coordinate_precision : Float64 | Avram::Nothing = IGNORE, location : PostGIS::Point2D | Avram::Nothing = IGNORE, minimum_elevation : Float64 | Avram::Nothing = IGNORE, maximum_elevation : Float64 | Avram::Nothing = IGNORE, minimum_depth : Float64 | Avram::Nothing = IGNORE, maximum_depth : Float64 | 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, user_id : Int32 | 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.

Instance methods

attributes
contient
contient=(_value)
coordinate_precision
coordinate_precision=(_value)
country
country=(_value)
county
county=(_value)
created_at
created_at=(_value)
delete_status
delete_status=(delete_status : OperationStatus)
id
id=(_value)
image1
image1=(_value)
image2
image2=(_value)
image3
image3=(_value)
image4
image4=(_value)
image5
image5=(_value)
island
island=(_value)
island_group
island_group=(_value)
japanese_place_name
japanese_place_name=(_value)
japanese_place_name_detail
japanese_place_name_detail=(_value)
location
location=(_value)
maximum_depth
maximum_depth=(_value)
maximum_elevation
maximum_elevation=(_value)
minimum_depth
minimum_depth=(_value)
minimum_elevation
minimum_elevation=(_value)
municipality
municipality=(_value)
note
note=(_value)
params
permitted_params
record
required_attributes
set_attributes(id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, contient : String | Avram::Nothing = IGNORE, island_group : String | Avram::Nothing = IGNORE, island : String | Avram::Nothing = IGNORE, country : String | Avram::Nothing = IGNORE, state_provice : String | Avram::Nothing = IGNORE, county : String | Avram::Nothing = IGNORE, municipality : String | Avram::Nothing = IGNORE, verbatim_locality : String | Avram::Nothing = IGNORE, japanese_place_name : String | Avram::Nothing = IGNORE, japanese_place_name_detail : String | Avram::Nothing = IGNORE, coordinate_precision : Float64 | Avram::Nothing = IGNORE, location : PostGIS::Point2D | Avram::Nothing = IGNORE, minimum_elevation : Float64 | Avram::Nothing = IGNORE, maximum_elevation : Float64 | Avram::Nothing = IGNORE, minimum_depth : Float64 | Avram::Nothing = IGNORE, maximum_depth : Float64 | 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, user_id : Int32 | Avram::Nothing | Nil = IGNORE)

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

set_contient_from_param(_value)
set_coordinate_precision_from_param(_value)
set_country_from_param(_value)
set_county_from_param(_value)
set_created_at_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_island_from_param(_value)
set_island_group_from_param(_value)
set_japanese_place_name_detail_from_param(_value)
set_japanese_place_name_from_param(_value)
set_location_from_param(_value)
set_maximum_depth_from_param(_value)
set_maximum_elevation_from_param(_value)
set_minimum_depth_from_param(_value)
set_minimum_elevation_from_param(_value)
set_municipality_from_param(_value)
set_note_from_param(_value)
set_state_provice_from_param(_value)
set_user_id_from_param(_value)
set_verbatim_locality_from_param(_value)
state_provice
state_provice=(_value)
user_id
user_id=(_value)
verbatim_locality
verbatim_locality=(_value)

Macros

param_key(key)