class

DeleteCustomTaxon

Inherits CustomTaxon::DeleteOperation < 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: taxon_ptr_id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: is_private, type: Bool, nilable: false, autogenerated: false, value: true, serialized: false, allow_blank: false}, {name: user_id, type: Int32, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: taxon_ptr_id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: is_private, type: Bool, nilable: false, autogenerated: false, value: true, 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, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = 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, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = 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, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = 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, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = 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, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = 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, taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = 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

delete_status
delete_status=(delete_status : OperationStatus)
params
record
set_attributes(taxon_ptr_id : UUID | Avram::Nothing = IGNORE, is_private : Bool | Avram::Nothing = 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.

Macros

param_key(key)