class CollectionSetting::DeleteOperation
- CollectionSetting::DeleteOperation
- Avram::DeleteOperation(CollectionSetting)
- 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: created_at, 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_name, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: institution_code, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: latest_collection_code, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: note, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}] of Nil
-
OPERATION_NEEDS =
[] of Nil
Constructors
-
.new(record : T, params : Avram::Paramable, id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_name : String | Avram::Nothing = IGNORE, institution_code : String | Avram::Nothing = IGNORE, latest_collection_code : Int32 | Avram::Nothing = IGNORE, note : String | Avram::Nothing = 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, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_name : String | Avram::Nothing = IGNORE, institution_code : String | Avram::Nothing = IGNORE, latest_collection_code : Int32 | Avram::Nothing = IGNORE, note : String | Avram::Nothing = 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, created_at : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_name : String | Avram::Nothing = IGNORE, institution_code : String | Avram::Nothing = IGNORE, latest_collection_code : Int32 | Avram::Nothing = IGNORE, note : String | Avram::Nothing = 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, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_name : String | Avram::Nothing = IGNORE, institution_code : String | Avram::Nothing = IGNORE, latest_collection_code : Int32 | Avram::Nothing = IGNORE, note : String | Avram::Nothing = 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, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_name : String | Avram::Nothing = IGNORE, institution_code : String | Avram::Nothing = IGNORE, latest_collection_code : Int32 | Avram::Nothing = IGNORE, note : String | Avram::Nothing = 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, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_name : String | Avram::Nothing = IGNORE, institution_code : String | Avram::Nothing = IGNORE, latest_collection_code : Int32 | Avram::Nothing = IGNORE, note : String | Avram::Nothing = 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
- #attributes
- #collection_name
- #collection_name=(_value)
- #created_at
- #created_at=(_value)
- #delete_status : OperationStatus
- #delete_status=(delete_status : OperationStatus)
- #id
- #id=(_value)
- #institution_code
- #institution_code=(_value)
- #latest_collection_code
- #latest_collection_code=(_value)
- #note
- #note=(_value)
- #params : Avram::Paramable
- #permitted_params : Hash(String, Array(String) | String)
- #record : CollectionSetting
- #required_attributes
-
#set_attributes(id : UUID | Avram::Nothing = IGNORE, created_at : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_name : String | Avram::Nothing = IGNORE, institution_code : String | Avram::Nothing = IGNORE, latest_collection_code : Int32 | Avram::Nothing = IGNORE, note : String | Avram::Nothing = IGNORE)
This is called at the end so @type will be of the subclass, and not the parent abstract class.
- #set_collection_name_from_param(_value)
- #set_created_at_from_param(_value)
- #set_id_from_param(_value)
- #set_institution_code_from_param(_value)
- #set_latest_collection_code_from_param(_value)
- #set_note_from_param(_value)
- #set_user_id_from_param(_value)
- #user_id
- #user_id=(_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.