class CollectPoint::DeleteOperation

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: 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

Class Method Summary

Macro Summary

Instance Method Summary

Constructor Detail

def self.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.


def self.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 Method Detail

def self.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.


def self.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.


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, 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.


def self.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.


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 attributes #

def contient #

def contient=(_value) #

def coordinate_precision #

def coordinate_precision=(_value) #

def country #

def country=(_value) #

def county #

def county=(_value) #

def created_at #

def created_at=(_value) #

def delete_status : OperationStatus #

def delete_status=(delete_status : OperationStatus) #

def id #

def id=(_value) #

def image1 #

def image1=(_value) #

def image2 #

def image2=(_value) #

def image3 #

def image3=(_value) #

def image4 #

def image4=(_value) #

def image5 #

def image5=(_value) #

def island #

def island=(_value) #

def island_group #

def island_group=(_value) #

def japanese_place_name #

def japanese_place_name=(_value) #

def japanese_place_name_detail #

def japanese_place_name_detail=(_value) #

def location #

def location=(_value) #

def maximum_depth #

def maximum_depth=(_value) #

def maximum_elevation #

def maximum_elevation=(_value) #

def minimum_depth #

def minimum_depth=(_value) #

def minimum_elevation #

def minimum_elevation=(_value) #

def municipality #

def municipality=(_value) #

def note #

def note=(_value) #

def params : Avram::Paramable #

def permitted_params : Hash(String, Array(String) | String) #

def record : CollectPoint #

def required_attributes #

def 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.


def set_contient_from_param(_value) #

def set_coordinate_precision_from_param(_value) #

def set_country_from_param(_value) #

def set_county_from_param(_value) #

def set_created_at_from_param(_value) #

def set_id_from_param(_value) #

def set_image1_from_param(_value) #

def set_image2_from_param(_value) #

def set_image3_from_param(_value) #

def set_image4_from_param(_value) #

def set_image5_from_param(_value) #

def set_island_from_param(_value) #

def set_island_group_from_param(_value) #

def set_japanese_place_name_detail_from_param(_value) #

def set_japanese_place_name_from_param(_value) #

def set_location_from_param(_value) #

def set_maximum_depth_from_param(_value) #

def set_maximum_elevation_from_param(_value) #

def set_minimum_depth_from_param(_value) #

def set_minimum_elevation_from_param(_value) #

def set_municipality_from_param(_value) #

def set_note_from_param(_value) #

def set_state_provice_from_param(_value) #

def set_user_id_from_param(_value) #

def set_verbatim_locality_from_param(_value) #

def state_provice #

def state_provice=(_value) #

def user_id #

def user_id=(_value) #

def verbatim_locality #

def verbatim_locality=(_value) #