Class: Dor::Abstract

Inherits:
ActiveFedora::Base
  • Object
show all
Includes:
Describable, Eventable, Governable, Identifiable, Processable, Rightsable, Versionable
Defined in:
lib/dor/models/abstract.rb

Direct Known Subclasses

AdminPolicyObject, Item, Set, WorkflowObject

Constant Summary

Constants included from Processable

Processable::STATUS_CODE_DISP_TXT, Processable::STEPS

Constants included from Describable

Describable::MODS_TO_DC_XSLT, Describable::XMLNS_DC, Describable::XMLNS_OAI_DC

Constants included from Identifiable

Identifiable::CATKEY_TYPE_ID, Identifiable::PREVIOUS_CATKEY_TYPE_ID

Instance Method Summary collapse

Methods included from Processable

#build_datastream, #cleanup, #create_workflow, #empty_datastream?, #find_metadata_file, #initialize_workflow, #milestones, #status, #status_info

Methods included from Versionable

#allows_modification?, #close_version, #current_version, #new_version_open?, #open_new_version

Methods included from Describable

#build_descMetadata_datastream, #fetch_descMetadata_datastream, #full_title, #generate_dublin_core, #generate_public_desc_md, get_collection_title, #set_desc_metadata_using_label, #stanford_mods

Methods included from Rightsable

#build_rightsMetadata_datastream, #world_doc

Methods included from Governable

#add_collection, #can_manage_content?, #can_manage_desc_metadata?, #can_manage_embargo?, #can_manage_item?, #can_manage_rights?, #can_manage_system_metadata?, #can_view_content?, #can_view_metadata?, #default_workflow_lane, #groups_which_manage_content, #groups_which_manage_desc_metadata, #groups_which_manage_embargo, #groups_which_manage_item, #groups_which_manage_rights, #groups_which_manage_system_metadata, #groups_which_view_content, #groups_which_view_metadata, #initiate_apo_workflow, #intersect, #reapplyAdminPolicyObjectDefaults, #remove_collection, #reset_to_apo_default, #rights, #set_read_rights, #unshelve_and_unpublish

Methods included from Eventable

#add_event

Methods included from Identifiable

#adapt_to_cmodel, #add_other_Id, #add_tag, #catkey, #catkey=, #content_type_tag, #druid_regex, #normalize_tag, #normalize_tag_arr, #pid_regex, #previous_catkeys, #remove_druid_prefix, #remove_other_Id, #remove_tag, #source_id, #source_id=, #split_tag_to_arr, #tags, #update_other_Id, #update_tag, #validate_and_normalize_tag, #validate_tag_format

Instance Method Details

#to_solrObject



14
15
16
# File 'lib/dor/models/abstract.rb', line 14

def to_solr
  resource_indexer.new(resource: self).to_solr
end