Class: StructuredDateRange

Inherits:
Sequel::Model
  • Object
show all
Includes:
ASModel, AgentNameDates
Defined in:
backend/app/model/structured_date_range.rb

Constant Summary

Constants included from JSONModel

JSONModel::REFERENCE_KEY_REGEX

Instance Method Summary collapse

Methods included from AgentNameDates

#update_associated_name_forms

Methods included from ASModel

all_models, included, update_publish_flag, update_suppressed_flag

Methods included from JSONModel

JSONModel, #JSONModel, add_error_handler, all, allow_unmapped_enum_value, backend_url, check_valid_refs, client_mode?, custom_validations, destroy_model, enum_default_value, enum_values, handle_error, init, load_schema, #models, models, parse_jsonmodel_ref, parse_reference, repository, repository_for, schema_src, set_publish_flags!, set_repository, strict_mode, strict_mode?, validate_schema, with_repository

Instance Method Details

#after_createObject



10
11
12
# File 'backend/app/model/structured_date_range.rb', line 10

def after_create
  update_associated_name_forms
end

#after_updateObject



14
15
16
# File 'backend/app/model/structured_date_range.rb', line 14

def after_update
  update_associated_name_forms
end