Module: Hyrax

Extended by:
ActiveSupport::Autoload
Defined in:
app/forms/hyrax/forms/work_form.rb,
lib/hyrax.rb,
lib/hyrax/name.rb,
lib/hyrax/arkivo.rb,
lib/hyrax/engine.rb,
lib/hyrax/errors.rb,
lib/hyrax/zotero.rb,
lib/hyrax/version.rb,
lib/hyrax/callbacks.rb,
app/models/hyrax/event.rb,
app/models/hyrax/group.rb,
lib/hyrax/arkivo/actor.rb,
lib/hyrax/search_state.rb,
app/services/hyrax/noid.rb,
lib/hyrax/arkivo/config.rb,
lib/hyrax/configuration.rb,
lib/hyrax/resource_sync.rb,
lib/hyrax/role_registry.rb,
lib/hyrax/zotero/config.rb,
app/models/hyrax/feature.rb,
app/models/hyrax/download.rb,
app/models/hyrax/pageview.rb,
app/models/hyrax/operation.rb,
app/models/hyrax/statistic.rb,
app/services/hyrax/lockable.rb,
app/values/hyrax/chart_data.rb,
lib/hyrax/redis_event_store.rb,
app/helpers/hyrax/url_helper.rb,
app/services/hyrax/analytics.rb,
app/services/hyrax/microdata.rb,
lib/hyrax/callbacks/registry.rb,
app/jobs/hyrax/grant_edit_job.rb,
app/jobs/hyrax/grant_read_job.rb,
app/models/hyrax/contact_form.rb,
app/renderers/hyrax/renderers.rb,
lib/hyrax/controller_resource.rb,
app/helpers/hyrax/lease_helper.rb,
app/jobs/hyrax/application_job.rb,
app/jobs/hyrax/revoke_edit_job.rb,
app/models/hyrax/uploaded_file.rb,
app/services/hyrax/institution.rb,
app/builders/hyrax/form_builder.rb,
app/helpers/hyrax/charts_helper.rb,
app/helpers/hyrax/trophy_helper.rb,
app/indexers/hyrax/work_indexer.rb,
app/presenters/hyrax/file_usage.rb,
app/presenters/hyrax/model_icon.rb,
app/presenters/hyrax/work_usage.rb,
app/services/hyrax/lock_manager.rb,
app/services/hyrax/time_service.rb,
app/helpers/hyrax/ability_helper.rb,
app/helpers/hyrax/embargo_helper.rb,
app/mailers/hyrax/contact_mailer.rb,
app/models/concerns/hyrax/naming.rb,
app/models/hyrax/orcid_validator.rb,
app/presenters/hyrax/model_proxy.rb,
app/services/hyrax/lease_service.rb,
lib/hyrax/arkivo/metadata_munger.rb,
app/models/concerns/hyrax/ability.rb,
app/models/hyrax/avatar_validator.rb,
app/services/hyrax/graph_exporter.rb,
app/services/hyrax/parent_service.rb,
lib/hyrax/arkivo/schema_validator.rb,
lib/hyrax/controlled_vocabularies.rb,
app/actors/hyrax/actors/base_actor.rb,
app/actors/hyrax/actors/file_actor.rb,
app/actors/hyrax/actors/terminator.rb,
app/controllers/concerns/hyrax/api.rb,
app/models/hyrax/version_committer.rb,
app/services/hyrax/contextual_path.rb,
app/services/hyrax/derivative_path.rb,
app/services/hyrax/embargo_service.rb,
app/services/hyrax/license_service.rb,
app/actors/hyrax/actors/environment.rb,
app/actors/hyrax/actors/lease_actor.rb,
app/actors/hyrax/actors/model_actor.rb,
app/controllers/hyrax/my_controller.rb,
app/indexers/hyrax/file_set_indexer.rb,
app/indexers/hyrax/indexes_workflow.rb,
app/presenters/hyrax/menu_presenter.rb,
app/services/hyrax/curation_concern.rb,
app/forms/hyrax/forms/admin_set_form.rb,
app/helpers/hyrax/batch_edits_helper.rb,
app/helpers/hyrax/citations_behavior.rb,
app/helpers/hyrax/collections_helper.rb,
app/helpers/hyrax/permissions_helper.rb,
app/indexers/hyrax/admin_set_indexer.rb,
app/models/hyrax/permission_template.rb,
app/presenters/hyrax/lease_presenter.rb,
app/services/hyrax/admin_set_service.rb,
app/services/hyrax/database_migrator.rb,
app/services/hyrax/messenger_service.rb,
app/services/hyrax/qa_select_service.rb,
app/services/hyrax/work_form_service.rb,
app/services/hyrax/working_directory.rb,
app/actors/hyrax/actors/embargo_actor.rb,
app/forms/hyrax/forms/batch_edit_form.rb,
app/forms/hyrax/forms/collection_form.rb,
app/helpers/hyrax/blacklight_override.rb,
app/indexers/hyrax/collection_indexer.rb,
app/models/concerns/hyrax/permissions.rb,
app/models/concerns/hyrax/serializers.rb,
app/models/concerns/hyrax/with_events.rb,
app/models/hyrax/workflow_action_info.rb,
app/presenters/hyrax/permission_badge.rb,
app/presenters/hyrax/trophy_presenter.rb,
app/services/hyrax/indexes_thumbnails.rb,
app/services/hyrax/local_file_service.rb,
app/services/hyrax/user_stat_importer.rb,
app/services/hyrax/versioning_service.rb,
app/services/hyrax/work_query_service.rb,
app/actors/hyrax/actors/abstract_actor.rb,
app/actors/hyrax/actors/file_set_actor.rb,
app/connections/hyrax/clean_connection.rb,
app/controllers/hyrax/pages_controller.rb,
app/controllers/hyrax/stats_controller.rb,
app/controllers/hyrax/users_controller.rb,
app/forms/hyrax/forms/admin/appearance.rb,
app/helpers/hyrax/content_block_helper.rb,
app/models/concerns/hyrax/in_admin_set.rb,
app/models/concerns/hyrax/nested_works.rb,
app/models/concerns/hyrax/suppressible.rb,
app/presenters/hyrax/embargo_presenter.rb,
app/presenters/hyrax/presenter_factory.rb,
app/presenters/hyrax/twitter_presenter.rb,
app/presenters/hyrax/version_presenter.rb,
app/services/hyrax/collections_service.rb,
app/services/hyrax/persist_derivatives.rb,
app/services/hyrax/restriction_service.rb,
lib/generators/hyrax/install_generator.rb,
app/controllers/hyrax/leases_controller.rb,
app/controllers/hyrax/static_controller.rb,
app/forms/hyrax/forms/batch_upload_form.rb,
app/forms/hyrax/forms/file_manager_form.rb,
app/helpers/hyrax/hyrax_helper_behavior.rb,
app/models/concerns/hyrax/core_metadata.rb,
app/models/concerns/hyrax/proxy_deposit.rb,
app/models/concerns/hyrax/work_behavior.rb,
app/models/hyrax/batch_create_operation.rb,
app/presenters/hyrax/file_set_presenter.rb,
app/presenters/hyrax/homepage_presenter.rb,
app/presenters/hyrax/presenter_renderer.rb,
app/presenters/hyrax/workflow_presenter.rb,
app/search_builders/hyrax/single_result.rb,
app/search_builders/hyrax/work_relation.rb,
app/services/hyrax/file_set_csv_service.rb,
app/services/hyrax/list_source_exporter.rb,
app/services/hyrax/statistics/over_time.rb,
app/channels/hyrax/notifications_channel.rb,
app/controllers/hyrax/uploads_controller.rb,
app/indexers/hyrax/deep_indexing_service.rb,
app/jobs/hyrax/grant_edit_to_members_job.rb,
app/jobs/hyrax/grant_read_to_members_job.rb,
app/models/concerns/hyrax/basic_metadata.rb,
app/models/concerns/hyrax/with_file_sets.rb,
app/presenters/hyrax/admin_set_presenter.rb,
app/presenters/hyrax/presents_attributes.rb,
app/presenters/hyrax/transfers_presenter.rb,
app/presenters/hyrax/work_show_presenter.rb,
app/search_builders/hyrax/filter_by_type.rb,
app/search_builders/hyrax/search_builder.rb,
app/search_builders/hyrax/search_filters.rb,
app/services/hyrax/form_metadata_service.rb,
app/services/hyrax/statistics/term_query.rb,
lib/hyrax/arkivo/create_subscription_job.rb,
app/actors/hyrax/actors/add_to_work_actor.rb,
app/actors/hyrax/actors/apply_order_actor.rb,
app/controllers/hyrax/my/works_controller.rb,
app/controllers/hyrax/trophies_controller.rb,
app/indexers/hyrax/basic_metadata_indexer.rb,
app/presenters/hyrax/collection_presenter.rb,
app/services/hyrax/resource_types_service.rb,
app/services/hyrax/statistics/works/count.rb,
app/services/hyrax/thumbnail_path_service.rb,
lib/generators/hyrax/collection_generator.rb,
app/controllers/concerns/hyrax/breadcrumbs.rb,
app/controllers/concerns/hyrax/collections.rb,
app/controllers/hyrax/api/items_controller.rb,
app/controllers/hyrax/citations_controller.rb,
app/controllers/hyrax/dashboard_controller.rb,
app/controllers/hyrax/downloads_controller.rb,
app/controllers/hyrax/embargoes_controller.rb,
app/controllers/hyrax/file_sets_controller.rb,
app/controllers/hyrax/my/shares_controller.rb,
app/controllers/hyrax/transfers_controller.rb,
app/forms/hyrax/forms/workflow_action_form.rb,
app/presenters/hyrax/admin/users_presenter.rb,
app/presenters/hyrax/admin_stats_presenter.rb,
app/presenters/hyrax/select_type_presenter.rb,
app/presenters/hyrax/stats_usage_presenter.rb,
app/services/hyrax/collection_size_service.rb,
app/services/hyrax/statistics/system_stats.rb,
app/uploaders/hyrax/uploaded_file_uploader.rb,
lib/generators/hyrax/sample_data_generator.rb,
lib/hyrax/controlled_vocabularies/location.rb,
lib/hyrax/resource_sync/change_list_writer.rb,
app/actors/hyrax/actors/featured_work_actor.rb,
app/controllers/hyrax/api/zotero_controller.rb,
app/controllers/hyrax/depositors_controller.rb,
app/controllers/hyrax/operations_controller.rb,
app/helpers/hyrax/dashboard_helper_behavior.rb,
app/jobs/hyrax/revoke_edit_from_members_job.rb,
app/models/concerns/hyrax/file_set/indexing.rb,
app/models/concerns/hyrax/file_set/querying.rb,
app/models/concerns/hyrax/file_set_behavior.rb,
app/models/hyrax/permission_template_access.rb,
app/presenters/hyrax/inspect_work_presenter.rb,
app/presenters/hyrax/user_profile_presenter.rb,
app/presenters/hyrax/version_list_presenter.rb,
app/search_builders/hyrax/filter_suppressed.rb,
app/search_builders/hyrax/my/search_builder.rb,
app/services/hyrax/abstract_message_service.rb,
app/services/hyrax/admin_set_create_service.rb,
app/services/hyrax/default_middleware_stack.rb,
app/services/hyrax/rights_statement_service.rb,
app/services/hyrax/statistics/query_service.rb,
app/services/hyrax/workflow/activate_object.rb,
app/services/hyrax/workflow/workflow_schema.rb,
app/actors/hyrax/actors/attach_members_actor.rb,
app/channels/hyrax/application_cable/channel.rb,
app/controllers/hyrax/admin/stats_controller.rb,
app/controllers/hyrax/admin/users_controller.rb,
app/controllers/hyrax/batch_edits_controller.rb,
app/controllers/hyrax/collections_controller.rb,
app/controllers/hyrax/permissions_controller.rb,
app/presenters/hyrax/fixity_status_presenter.rb,
app/services/hyrax/collection_member_service.rb,
app/services/hyrax/workflow/method_generator.rb,
app/services/hyrax/workflow/permission_query.rb,
app/services/hyrax/workflow/workflow_factory.rb,
app/validators/hyrax/has_one_title_validator.rb,
lib/hyrax/resource_sync/resource_list_writer.rb,
app/actors/hyrax/actors/transactional_request.rb,
app/controllers/hyrax/contact_form_controller.rb,
app/models/concerns/hyrax/collection_behavior.rb,
app/models/concerns/hyrax/human_readable_type.rb,
app/presenters/hyrax/dashboard/user_presenter.rb,
app/presenters/hyrax/member_presenter_factory.rb,
app/search_builders/hyrax/work_search_builder.rb,
app/services/hyrax/collections/search_service.rb,
app/services/hyrax/import_url_failure_service.rb,
app/services/hyrax/quick_classification_query.rb,
app/services/hyrax/statistics/users/over_time.rb,
app/services/hyrax/statistics/works/over_time.rb,
app/services/hyrax/workflow/deactivate_object.rb,
app/services/hyrax/workflow/workflow_importer.rb,
app/actors/hyrax/actors/cleanup_trophies_actor.rb,
app/actors/hyrax/actors/transfer_request_actor.rb,
app/controllers/hyrax/batch_uploads_controller.rb,
app/controllers/hyrax/fixity_checks_controller.rb,
app/controllers/hyrax/my/highlights_controller.rb,
app/controllers/hyrax/notifications_controller.rb,
app/forms/hyrax/forms/permission_template_form.rb,
app/models/concerns/hyrax/file_set/derivatives.rb,
app/models/concerns/hyrax/permissions/readable.rb,
app/models/concerns/hyrax/permissions/writable.rb,
app/models/concerns/hyrax/solr_document/export.rb,
app/presenters/hyrax/admin/dashboard_presenter.rb,
app/presenters/hyrax/characterization_behavior.rb,
app/presenters/hyrax/single_use_link_presenter.rb,
app/search_builders/hyrax/lease_search_builder.rb,
app/search_builders/hyrax/works_search_builder.rb,
app/services/hyrax/work_thumbnail_path_service.rb,
lib/hyrax/resource_sync/capability_list_writer.rb,
app/actors/hyrax/actors/cleanup_file_sets_actor.rb,
app/actors/hyrax/actors/create_with_files_actor.rb,
app/actors/hyrax/actors/default_admin_set_actor.rb,
app/channels/hyrax/application_cable/connection.rb,
app/controllers/concerns/hyrax/parent_container.rb,
app/controllers/hyrax/admin/features_controller.rb,
app/controllers/hyrax/content_blocks_controller.rb,
app/controllers/hyrax/featured_works_controller.rb,
app/controllers/hyrax/my/collections_controller.rb,
app/helpers/hyrax/content_block_helper_behavior.rb,
app/presenters/hyrax/select_type_list_presenter.rb,
app/services/hyrax/batch_create_failure_service.rb,
app/services/hyrax/batch_create_success_service.rb,
app/services/hyrax/file_set_derivatives_service.rb,
app/services/hyrax/fixity_check_failure_service.rb,
app/services/hyrax/workflow/status_list_service.rb,
app/controllers/concerns/hyrax/manages_embargoes.rb,
app/controllers/hyrax/admin/workflows_controller.rb,
app/controllers/hyrax/dashboard/works_controller.rb,
app/helpers/hyrax/citations_behaviors/formatters.rb,
app/models/concerns/hyrax/solr_document/metadata.rb,
app/models/concerns/hyrax/solr_document_behavior.rb,
app/presenters/hyrax/admin_set_options_presenter.rb,
app/presenters/hyrax/composite_presenter_factory.rb,
app/renderers/hyrax/renderers/attribute_renderer.rb,
app/search_builders/hyrax/abstract_type_relation.rb,
app/search_builders/hyrax/deposit_search_builder.rb,
app/search_builders/hyrax/embargo_search_builder.rb,
app/services/hyrax/file_set_fixity_check_service.rb,
app/services/hyrax/statistics/depositors/summary.rb,
app/services/hyrax/statistics/works/by_depositor.rb,
app/services/hyrax/workflow/action_taken_service.rb,
app/services/hyrax/workflow/notification_service.rb,
app/services/hyrax/workflow/permission_generator.rb,
app/actors/hyrax/actors/initialize_workflow_actor.rb,
app/actors/hyrax/actors/optimistic_lock_validator.rb,
app/controllers/hyrax/admin/admin_sets_controller.rb,
app/controllers/hyrax/admin/strategies_controller.rb,
app/controllers/hyrax/single_use_links_controller.rb,
app/controllers/hyrax/workflow_actions_controller.rb,
app/presenters/hyrax/collection_options_presenter.rb,
app/search_builders/hyrax/exposed_models_relation.rb,
app/search_builders/hyrax/file_set_search_builder.rb,
app/search_builders/hyrax/my/works_search_builder.rb,
app/services/hyrax/statistics/file_sets/by_format.rb,
app/services/hyrax/workflow/abstract_notification.rb,
lib/hyrax/controlled_vocabulary/importer/language.rb,
lib/hyrax/resource_sync/source_description_writer.rb,
app/actors/hyrax/actors/interpret_visibility_actor.rb,
app/controllers/hyrax/admin/appearances_controller.rb,
app/forms/hyrax/forms/widgets/admin_set_visibility.rb,
app/forms/hyrax/forms/workflow_responsibility_form.rb,
app/indexers/concerns/hyrax/indexes_basic_metadata.rb,
app/presenters/hyrax/admin/user_activity_presenter.rb,
app/presenters/hyrax/admin/workflow_role_presenter.rb,
app/presenters/hyrax/collapsable_section_presenter.rb,
app/renderers/hyrax/renderers/configured_microdata.rb,
app/search_builders/hyrax/admin_set_search_builder.rb,
app/services/hyrax/repository_fixity_check_service.rb,
app/services/hyrax/workflow/deposited_notification.rb,
app/services/hyrax/workflow/notification_generator.rb,
app/controllers/concerns/hyrax/admin/stats_behavior.rb,
app/controllers/hyrax/dashboard/profiles_controller.rb,
app/helpers/hyrax/citations_behaviors/name_behavior.rb,
app/indexers/concerns/hyrax/indexes_linked_metadata.rb,
app/models/concerns/hyrax/file_set/belongs_to_works.rb,
app/models/concerns/hyrax/file_set/characterization.rb,
app/presenters/hyrax/admin/workflow_roles_presenter.rb,
app/search_builders/hyrax/collection_search_builder.rb,
app/services/hyrax/change_content_depositor_service.rb,
app/services/hyrax/statistics/collections/over_time.rb,
app/services/hyrax/workflow/grant_edit_to_depositor.rb,
app/services/hyrax/workflow/grant_read_to_depositor.rb,
app/services/hyrax/workflow/state_machine_generator.rb,
app/services/hyrax/workflow/workflow_action_service.rb,
lib/hyrax/controlled_vocabulary/importer/downloader.rb,
app/actors/hyrax/actors/collections_membership_actor.rb,
app/controllers/concerns/hyrax/breadcrumbs_for_works.rb,
app/controllers/hyrax/featured_work_lists_controller.rb,
app/helpers/hyrax/citations_behaviors/title_behavior.rb,
app/services/hyrax/collection_thumbnail_path_service.rb,
app/services/hyrax/statistics/works/by_resource_type.rb,
app/services/hyrax/workflow/sipity_actions_generator.rb,
app/controllers/hyrax/admin/workflow_roles_controller.rb,
app/helpers/hyrax/citations_behaviors/common_behavior.rb,
app/renderers/hyrax/renderers/date_attribute_renderer.rb,
app/actors/hyrax/actors/create_with_remote_files_actor.rb,
app/controllers/hyrax/dashboard/collections_controller.rb,
app/forms/hyrax/forms/widgets/admin_set_embargo_period.rb,
app/presenters/hyrax/admin/repository_growth_presenter.rb,
app/presenters/hyrax/admin/repository_object_presenter.rb,
app/search_builders/hyrax/expired_lease_search_builder.rb,
app/search_builders/hyrax/filter_suppressed_with_roles.rb,
app/services/hyrax/workflow/revoke_edit_from_depositor.rb,
app/actors/hyrax/actors/apply_permission_template_actor.rb,
app/controllers/concerns/hyrax/themed_layout_controller.rb,
app/renderers/hyrax/renderers/linked_attribute_renderer.rb,
app/services/hyrax/workflow/pending_review_notification.rb,
lib/generators/hyrax/templates/config/arkivo_constraint.rb,
app/controllers/concerns/hyrax/works_controller_behavior.rb,
app/controllers/hyrax/single_use_links_viewer_controller.rb,
app/models/concerns/hyrax/solr_document/characterization.rb,
app/renderers/hyrax/renderers/faceted_attribute_renderer.rb,
app/renderers/hyrax/renderers/license_attribute_renderer.rb,
app/search_builders/hyrax/expired_embargo_search_builder.rb,
app/search_builders/hyrax/single_use_link_search_builder.rb,
app/controllers/concerns/hyrax/leases_controller_behavior.rb,
app/indexers/hyrax/collection_with_basic_metadata_indexer.rb,
app/search_builders/hyrax/single_admin_set_search_builder.rb,
app/services/hyrax/workflow/changes_required_notification.rb,
app/controllers/concerns/hyrax/breadcrumbs_for_collections.rb,
app/controllers/concerns/hyrax/collections/accepts_batches.rb,
app/helpers/hyrax/citations_behaviors/publication_behavior.rb,
app/search_builders/hyrax/collection_member_search_builder.rb,
app/search_builders/hyrax/deactivated_lease_search_builder.rb,
app/search_builders/hyrax/member_with_files_search_builder.rb,
app/search_builders/hyrax/parent_collection_search_builder.rb,
app/search_builders/hyrax/single_collection_search_builder.rb,
app/search_builders/hyrax/stats/work_status_search_builder.rb,
app/services/hyrax/workflow/workflow_permissions_generator.rb,
app/controllers/hyrax/admin/permission_templates_controller.rb,
app/services/hyrax/workflow/invalid_state_removal_exception.rb,
app/controllers/concerns/hyrax/deny_access_override_behavior.rb,
app/controllers/concerns/hyrax/embargoes_controller_behavior.rb,
app/search_builders/hyrax/deactivated_embargo_search_builder.rb,
app/controllers/concerns/hyrax/admin/users_controller_behavior.rb,
app/controllers/concerns/hyrax/collections_controller_behavior.rb,
app/controllers/concerns/hyrax/singular_subresource_controller.rb,
app/helpers/hyrax/citations_behaviors/formatters/apa_formatter.rb,
app/helpers/hyrax/citations_behaviors/formatters/mla_formatter.rb,
app/renderers/hyrax/renderers/external_link_attribute_renderer.rb,
app/search_builders/hyrax/admin_admin_set_member_search_builder.rb,
app/services/hyrax/workflow/notification_configuration_parameter.rb,
app/renderers/hyrax/renderers/rights_statement_attribute_renderer.rb,
app/services/hyrax/persist_directly_contained_output_file_service.rb,
app/helpers/hyrax/citations_behaviors/formatters/chicago_formatter.rb,
app/controllers/hyrax/admin/permission_template_accesses_controller.rb,
app/helpers/hyrax/citations_behaviors/formatters/open_url_formatter.rb

Overview

This module points the FileSet to the location of the technical metdata. By default, the file holding the metadata is :original_file and the terms are listed under ::characterization_terms. Implementations may define their own terms or use a different source file, but any terms must be set on the ::characterization_proxy by the Hydra::Works::CharacterizationService

class MyFileSet

include Hyrax::FileSetBehavior

end

MyFileSet.characterization_proxy = :master_file MyFileSet.characterization_terms = [:term1, :term2, :term3]

Defined Under Namespace

Modules: API, Ability, AbilityHelper, Actors, Admin, Analytics, ApplicationCable, Arkivo, BasicMetadata, BatchEditsHelper, BlacklightOverride, Breadcrumbs, BreadcrumbsForCollections, BreadcrumbsForWorks, Callbacks, CharacterizationBehavior, ChartsHelper, CitationsBehavior, CitationsBehaviors, CollectionBehavior, Collections, CollectionsControllerBehavior, CollectionsHelper, ContentBlockHelper, ContentBlockHelperBehavior, ControlledVocabularies, ControlledVocabulary, Controller, CoreMetadata, Dashboard, DashboardHelperBehavior, DenyAccessOverrideBehavior, EmbargoHelper, EmbargoesControllerBehavior, FileSet, FileSetBehavior, FileSetHelper, FilterByType, FilterSuppressed, FilterSuppressedWithRoles, Forms, HasRepresentative, HumanReadableType, HyraxHelperBehavior, InAdminSet, IndexesBasicMetadata, IndexesLinkedMetadata, IndexesThumbnails, IndexesWorkflow, LeaseHelper, LeasesControllerBehavior, Lockable, ManagesEmbargoes, ModelProxy, My, Naming, NestedWorks, Noid, ParentContainer, Permissions, PermissionsHelper, PresentsAttributes, ProxyDeposit, Renderers, ResourceSync, ResourceTypesService, SearchFilters, Serializers, SingleResult, SingularSubresourceController, SolrDocument, SolrDocumentBehavior, Statistics, Stats, Strategies, Suppressible, ThemedLayoutController, TitleHelper, TrophyHelper, TwitterPresenter, UrlHelper, User, UserUsageStats, WithEvents, WithFileSets, WorkBehavior, Workflow, Works, WorksControllerBehavior, Zotero Classes: AbstractMessageService, AbstractTypeRelation, AdminAdminSetMemberSearchBuilder, AdminSetCreateService, AdminSetIndexer, AdminSetOptionsPresenter, AdminSetPresenter, AdminSetSearchBuilder, AdminSetService, AdminStatsPresenter, ApplicationJob, ArkivoApiGenerator, ArkivoConstraint, AssetsGenerator, AvatarUploader, AvatarValidator, BasicMetadataIndexer, BatchCreateFailureService, BatchCreateOperation, BatchCreateSuccessService, BatchEditsController, BatchUploadsController, BootstrapBreadcrumbsBuilder, CatalogSearchBuilder, ChangeContentDepositorService, ChartData, CitationsController, ClamavGenerator, CleanConnection, CollapsableSectionPresenter, CollectionGenerator, CollectionIndexer, CollectionMemberSearchBuilder, CollectionMemberService, CollectionOptionsPresenter, CollectionPresenter, CollectionSearchBuilder, CollectionSizeService, CollectionThumbnailPathService, CollectionWithBasicMetadataIndexer, CollectionsController, CollectionsService, CompositePresenterFactory, ConfigGenerator, Configuration, ContactForm, ContactFormController, ContactMailer, ContentBlocksController, ContextualPath, ControllerResource, CurationConcern, DashboardController, DatabaseMigrator, DeactivatedEmbargoSearchBuilder, DeactivatedLeaseSearchBuilder, DeepIndexingService, DefaultMiddlewareStack, DepositSearchBuilder, DepositorsController, DerivativePath, DerivativeService, Download, DownloadsController, EmbargoPresenter, EmbargoSearchBuilder, EmbargoService, EmbargoesController, Engine, Event, ExpiredEmbargoSearchBuilder, ExpiredLeaseSearchBuilder, ExposedModelsRelation, Feature, FeaturedWorkListsController, FeaturedWorksController, FileSetCSVService, FileSetDerivativesService, FileSetFixityCheckService, FileSetIndexer, FileSetPresenter, FileSetSearchBuilder, FileSetsController, FileUsage, FixityCheckFailureService, FixityChecksController, FixityStatusPresenter, FormBuilder, FormMetadataService, GrantEditJob, GrantEditToMembersJob, GrantReadJob, GrantReadToMembersJob, GraphExporter, Group, HasOneTitleValidator, HomepageController, HomepagePresenter, HomepageSearchBuilder, HyraxError, ImportUrlFailureService, InspectWorkPresenter, Install, Institution, LeasePresenter, LeaseSearchBuilder, LeaseService, LeasesController, LicenseService, ListSourceExporter, LocalFileService, LockManager, MemberPresenterFactory, MemberWithFilesSearchBuilder, MenuPresenter, MessengerService, Microdata, MissingWorkflowError, ModelIcon, ModelsGenerator, MyController, Name, NotificationsChannel, NotificationsController, Operation, OperationsController, OrcidValidator, PagesController, Pageview, ParentCollectionSearchBuilder, ParentService, PermissionBadge, PermissionTemplate, PermissionTemplateAccess, PermissionsController, PersistDerivatives, PersistDirectlyContainedOutputFileService, PresenterFactory, PresenterRenderer, QaSelectService, QuickClassificationQuery, RedisEventStore, RepositoryFixityCheckService, ResourceSyncController, RestrictionService, RevokeEditFromMembersJob, RevokeEditJob, RightsStatementService, RoleRegistry, SampleDataGenerator, SearchBuilder, SearchState, SelectTypeListPresenter, SelectTypePresenter, SingleAdminSetSearchBuilder, SingleCollectionSearchBuilder, SingleUseError, SingleUseLinkPresenter, SingleUseLinkSearchBuilder, SingleUseLinksController, SingleUseLinksViewerController, StaticController, Statistic, StatsController, StatsUsagePresenter, ThumbnailPathService, TimeService, TransfersController, TransfersPresenter, TrophiesController, TrophyPresenter, UploadedFile, UploadedFileUploader, UploadsController, UserProfilePresenter, UserStatImporter, UsersController, VersionCommitter, VersionListPresenter, VersionPresenter, VersioningService, WorkFormService, WorkGenerator, WorkIndexer, WorkQueryService, WorkRelation, WorkSearchBuilder, WorkShowPresenter, WorkThumbnailPathService, WorkUsage, WorkflowActionInfo, WorkflowActionsController, WorkflowAuthorizationException, WorkflowPresenter, WorkingDirectory, WorksSearchBuilder

Constant Summary collapse

VERSION =
'2.0.2'.freeze

Class Method Summary collapse

Class Method Details

.config {|Hyrax::Configuration| ... } ⇒ Hyrax::Configuration

Exposes the Hyrax configuration

Yields:

Returns:

See Also:



41
42
43
44
45
46
47
# File 'lib/hyrax.rb', line 41

def self.config(&block)
  @config ||= Hyrax::Configuration.new

  yield @config if block

  @config
end

.primary_work_typeObject



49
50
51
# File 'lib/hyrax.rb', line 49

def self.primary_work_type
  Hyrax::WorkRelation::DummyModel.primary_concern
end