Module: CurationConcerns

Defined in:
app/models/concerns/curation_concerns/with_file_sets.rb,
lib/curation_concerns.rb,
lib/curation_concerns/name.rb,
lib/curation_concerns/engine.rb,
lib/curation_concerns/version.rb,
lib/curation_concerns/callbacks.rb,
app/forms/curation_concerns/forms.rb,
lib/curation_concerns/collections.rb,
lib/curation_concerns/null_logger.rb,
app/models/curation_concerns/group.rb,
app/actors/curation_concerns/actors.rb,
app/services/curation_concerns/noid.rb,
lib/curation_concerns/configuration.rb,
app/models/curation_concerns/operation.rb,
lib/curation_concerns/single_use_error.rb,
app/services/curation_concerns/lockable.rb,
app/values/curation_concerns/chart_data.rb,
app/helpers/curation_concerns/url_helper.rb,
lib/curation_concerns/callbacks/registry.rb,
app/renderers/curation_concerns/renderers.rb,
lib/curation_concerns/controller_resource.rb,
app/helpers/curation_concerns/lease_helper.rb,
app/forms/curation_concerns/forms/work_form.rb,
app/helpers/curation_concerns/charts_helper.rb,
app/indexers/curation_concerns/work_indexer.rb,
app/services/curation_concerns/lock_manager.rb,
app/services/curation_concerns/time_service.rb,
app/helpers/curation_concerns/ability_helper.rb,
app/helpers/curation_concerns/embargo_helper.rb,
app/models/concerns/curation_concerns/naming.rb,
app/presenters/curation_concerns/model_proxy.rb,
app/services/curation_concerns/lease_service.rb,
app/models/concerns/curation_concerns/ability.rb,
app/models/curation_concerns/classify_concern.rb,
app/services/curation_concerns/graph_exporter.rb,
app/services/curation_concerns/parent_service.rb,
app/actors/curation_concerns/actors/base_actor.rb,
app/actors/curation_concerns/actors/file_actor.rb,
app/actors/curation_concerns/actors/root_actor.rb,
app/controllers/concerns/curation_concerns/api.rb,
app/services/curation_concerns/contextual_path.rb,
app/services/curation_concerns/derivative_path.rb,
app/services/curation_concerns/embargo_service.rb,
app/services/curation_concerns/license_service.rb,
app/actors/curation_concerns/actors/actor_stack.rb,
app/actors/curation_concerns/actors/lease_actor.rb,
app/indexers/curation_concerns/file_set_indexer.rb,
app/indexers/curation_concerns/indexes_workflow.rb,
app/services/curation_concerns/curation_concern.rb,
app/indexers/curation_concerns/admin_set_indexer.rb,
app/models/concerns/curation_concerns/collection.rb,
app/presenters/curation_concerns/lease_presenter.rb,
app/services/curation_concerns/admin_set_service.rb,
app/services/curation_concerns/qa_select_service.rb,
app/services/curation_concerns/rights_statements.rb,
app/services/curation_concerns/work_form_service.rb,
app/services/curation_concerns/working_directory.rb,
lib/curation_concerns/collections/search_service.rb,
app/actors/curation_concerns/actors/embargo_actor.rb,
app/indexers/curation_concerns/collection_indexer.rb,
app/models/concerns/curation_concerns/permissions.rb,
app/models/concerns/curation_concerns/serializers.rb,
app/models/curation_concerns/workflow_action_info.rb,
app/presenters/curation_concerns/permission_badge.rb,
app/services/curation_concerns/indexes_thumbnails.rb,
app/services/curation_concerns/local_file_service.rb,
app/services/curation_concerns/versioning_service.rb,
lib/curation_concerns/collections/accepts_batches.rb,
lib/generators/curation_concerns/assets_generator.rb,
app/actors/curation_concerns/actors/abstract_actor.rb,
app/actors/curation_concerns/actors/file_set_actor.rb,
app/connections/curation_concerns/clean_connection.rb,
app/models/concerns/curation_concerns/in_admin_set.rb,
app/models/concerns/curation_concerns/nested_works.rb,
app/models/concerns/curation_concerns/suppressible.rb,
app/presenters/curation_concerns/embargo_presenter.rb,
app/presenters/curation_concerns/presenter_factory.rb,
app/presenters/curation_concerns/version_presenter.rb,
app/services/curation_concerns/collections_service.rb,
app/services/curation_concerns/persist_derivatives.rb,
app/services/curation_concerns/restriction_service.rb,
lib/generators/curation_concerns/install_generator.rb,
app/forms/curation_concerns/forms/file_manager_form.rb,
app/presenters/curation_concerns/file_set_presenter.rb,
app/presenters/curation_concerns/workflow_presenter.rb,
app/search_builders/curation_concerns/single_result.rb,
app/search_builders/curation_concerns/work_relation.rb,
app/services/curation_concerns/actors/actor_factory.rb,
app/services/curation_concerns/list_source_exporter.rb,
app/models/concerns/curation_concerns/basic_metadata.rb,
app/presenters/curation_concerns/presents_attributes.rb,
app/presenters/curation_concerns/work_show_presenter.rb,
app/search_builders/curation_concerns/filter_by_type.rb,
app/actors/curation_concerns/actors/add_to_work_actor.rb,
app/actors/curation_concerns/actors/apply_order_actor.rb,
app/controllers/concerns/curation_concerns/admin_page.rb,
app/presenters/curation_concerns/collection_presenter.rb,
app/services/curation_concerns/file_set_audit_service.rb,
app/services/curation_concerns/thumbnail_path_service.rb,
lib/generators/curation_concerns/collection_generator.rb,
app/actors/curation_concerns/actors/attach_files_actor.rb,
app/actors/curation_concerns/optimistic_lock_validator.rb,
app/controllers/curation_concerns/file_sets_controller.rb,
app/forms/curation_concerns/forms/collection_edit_form.rb,
app/forms/curation_concerns/forms/workflow_action_form.rb,
lib/curation_concerns/workflow_authorization_exception.rb,
lib/generators/curation_concerns/sample_data_generator.rb,
app/controllers/curation_concerns/operations_controller.rb,
app/helpers/curation_concerns/render_constraints_helper.rb,
app/models/concerns/curation_concerns/file_set/indexing.rb,
app/models/concerns/curation_concerns/file_set/querying.rb,
app/models/concerns/curation_concerns/file_set_behavior.rb,
app/models/concerns/curation_concerns/required_metadata.rb,
app/models/curation_concerns/quick_classification_query.rb,
app/presenters/curation_concerns/inspect_work_presenter.rb,
app/presenters/curation_concerns/version_list_presenter.rb,
app/search_builders/curation_concerns/filter_suppressed.rb,
app/services/curation_concerns/repository_audit_service.rb,
app/services/curation_concerns/workflow/activate_object.rb,
app/services/curation_concerns/workflow/workflow_schema.rb,
app/controllers/curation_concerns/application_controller.rb,
app/models/concerns/curation_concerns/admin_set_behavior.rb,
app/services/curation_concerns/workflow/method_generator.rb,
app/services/curation_concerns/workflow/permission_query.rb,
app/services/curation_concerns/workflow/workflow_factory.rb,
app/sources/curation_concerns/resource_statistics_source.rb,
app/models/concerns/curation_concerns/collection_behavior.rb,
app/models/concerns/curation_concerns/human_readable_type.rb,
app/presenters/curation_concerns/member_presenter_factory.rb,
app/search_builders/curation_concerns/work_search_builder.rb,
app/services/curation_concerns/workflow/deactivate_object.rb,
app/services/curation_concerns/workflow/workflow_importer.rb,
app/models/concerns/curation_concerns/file_set/derivatives.rb,
app/models/concerns/curation_concerns/permissions/readable.rb,
app/models/concerns/curation_concerns/permissions/writable.rb,
app/presenters/curation_concerns/characterization_behavior.rb,
app/presenters/curation_concerns/single_use_link_presenter.rb,
app/search_builders/curation_concerns/lease_search_builder.rb,
lib/curation_concerns/data_migration/collections_migration.rb,
lib/generators/curation_concerns/admin_dashboard_generator.rb,
app/services/curation_concerns/workflow/status_list_service.rb,
app/controllers/concerns/curation_concerns/download_behavior.rb,
app/controllers/concerns/curation_concerns/manages_embargoes.rb,
app/models/concerns/curation_concerns/solr_document_behavior.rb,
app/presenters/curation_concerns/composite_presenter_factory.rb,
app/renderers/curation_concerns/renderers/attribute_renderer.rb,
app/search_builders/curation_concerns/embargo_search_builder.rb,
app/services/curation_concerns/workflow/action_taken_service.rb,
app/services/curation_concerns/workflow/notification_service.rb,
app/services/curation_concerns/workflow/permission_generator.rb,
app/actors/curation_concerns/actors/initialize_workflow_actor.rb,
app/controllers/curation_concerns/single_use_links_controller.rb,
app/controllers/curation_concerns/workflow_actions_controller.rb,
app/search_builders/curation_concerns/file_set_search_builder.rb,
app/actors/curation_concerns/actors/interpret_visibility_actor.rb,
app/controllers/curation_concerns/classify_concerns_controller.rb,
app/forms/curation_concerns/forms/workflow_responsibility_form.rb,
app/presenters/curation_concerns/admin/workflow_role_presenter.rb,
app/renderers/curation_concerns/renderers/configured_microdata.rb,
app/search_builders/curation_concerns/admin_set_search_builder.rb,
app/services/curation_concerns/workflow/notification_generator.rb,
app/actors/curation_concerns/actors/assign_representative_actor.rb,
app/models/concerns/curation_concerns/file_set/belongs_to_works.rb,
app/models/concerns/curation_concerns/file_set/characterization.rb,
app/search_builders/curation_concerns/collection_search_builder.rb,
app/services/curation_concerns/workflow/grant_edit_to_depositor.rb,
app/services/curation_concerns/workflow/state_machine_generator.rb,
app/services/curation_concerns/workflow/workflow_action_service.rb,
app/services/curation_concerns/workflow/sipity_actions_generator.rb,
app/controllers/curation_concerns/admin/workflow_roles_controller.rb,
app/renderers/curation_concerns/renderers/date_attribute_renderer.rb,
app/services/curation_concerns/workflow/default_workflow_strategy.rb,
app/controllers/concerns/curation_concerns/act_as_admin_controller.rb,
app/search_builders/curation_concerns/expired_lease_search_builder.rb,
app/search_builders/curation_concerns/filter_suppressed_with_roles.rb,
app/renderers/curation_concerns/renderers/linked_attribute_renderer.rb,
app/renderers/curation_concerns/renderers/rights_attribute_renderer.rb,
app/controllers/concerns/curation_concerns/admin_controller_behavior.rb,
app/controllers/curation_concerns/single_use_links_viewer_controller.rb,
app/models/concerns/curation_concerns/solr_behavior/characterization.rb,
app/renderers/curation_concerns/renderers/faceted_attribute_renderer.rb,
app/search_builders/curation_concerns/expired_embargo_search_builder.rb,
app/search_builders/curation_concerns/single_use_link_search_builder.rb,
app/controllers/concerns/curation_concerns/leases_controller_behavior.rb,
app/actors/curation_concerns/actors/add_as_member_of_collections_actor.rb,
app/controllers/concerns/curation_concerns/curation_concern_controller.rb,
app/controllers/concerns/curation_concerns/welcome_controller_behavior.rb,
app/search_builders/curation_concerns/collection_member_search_builder.rb,
app/search_builders/curation_concerns/deactivated_lease_search_builder.rb,
app/search_builders/curation_concerns/single_collection_search_builder.rb,
app/services/curation_concerns/workflow/workflow_permissions_generator.rb,
app/services/curation_concerns/workflow/workflow_by_model_name_strategy.rb,
app/controllers/concerns/curation_concerns/embargoes_controller_behavior.rb,
app/controllers/concerns/curation_concerns/file_sets_controller_behavior.rb,
app/search_builders/curation_concerns/deactivated_embargo_search_builder.rb,
app/controllers/concerns/curation_concerns/application_controller_behavior.rb,
app/controllers/concerns/curation_concerns/collections_controller_behavior.rb,
app/controllers/concerns/curation_concerns/permissions_controller_behavior.rb,
app/renderers/curation_concerns/renderers/external_link_attribute_renderer.rb,
app/services/curation_concerns/workflow/notification_configuration_parameter.rb,
app/services/curation_concerns/persist_directly_contained_output_file_service.rb,
app/controllers/concerns/curation_concerns/single_use_links_controller_behavior.rb,
app/controllers/concerns/curation_concerns/single_use_links_viewer_controller_behavior.rb,
lib/generators/curation_concerns/templates/app/controllers/curation_concerns/admin_controller.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 CurationConcerns::FileSetBehavior

end

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

Defined Under Namespace

Modules: API, Ability, AbilityHelper, ActAsAdminController, Actors, Admin, AdminControllerBehavior, AdminPage, AdminSetBehavior, ApplicationControllerBehavior, BasicMetadata, Callbacks, CatalogController, CatalogHelper, CharacterizationBehavior, ChartsHelper, Collection, CollectionBehavior, Collections, CollectionsControllerBehavior, CollectionsHelper, CurationConcernController, DataMigration, DownloadBehavior, EmbargoHelper, EmbargoesControllerBehavior, FileSet, FileSetBehavior, FileSetHelper, FileSetsControllerBehavior, FilterByType, FilterSuppressed, FilterSuppressedWithRoles, Forms, HasRepresentative, HumanReadableType, InAdminSet, IndexesThumbnails, IndexesWorkflow, LeaseHelper, LeasesControllerBehavior, Lockable, MainAppHelpers, ManagesEmbargoes, ModelProxy, Naming, NestedWorks, Noid, ParentContainer, Permissions, PermissionsControllerBehavior, PresentsAttributes, RenderConstraintsHelper, Renderers, RequiredMetadata, RightsHelper, SearchFilters, SearchPathsHelper, SelectsCollections, Serializers, SingleResult, SingleUseLinksControllerBehavior, SingleUseLinksViewerControllerBehavior, SolrBehavior, SolrDocumentBehavior, Suppressible, ThemedLayoutController, TitleHelper, UrlHelper, User, WelcomeControllerBehavior, WithFileSets, WorkBehavior, Workflow Classes: AdminController, AdminDashboardGenerator, AdminSetIndexer, AdminSetSearchBuilder, AdminSetService, ApplicationController, Assets, ChartData, ClamavGenerator, ClassifyConcern, ClassifyConcernsController, CleanConnection, CollectionGenerator, CollectionIndexer, CollectionMemberSearchBuilder, CollectionPresenter, CollectionSearchBuilder, CollectionsService, CompositePresenterFactory, Configuration, ContextualPath, ControllerResource, CurationConcern, DeactivatedEmbargoSearchBuilder, DeactivatedLeaseSearchBuilder, DerivativePath, EmbargoPresenter, EmbargoSearchBuilder, EmbargoService, Engine, ExpiredEmbargoSearchBuilder, ExpiredLeaseSearchBuilder, FileSetAuditService, FileSetIndexer, FileSetPresenter, FileSetSearchBuilder, FileSetsController, GraphExporter, Group, InspectWorkPresenter, Install, LeasePresenter, LeaseSearchBuilder, LeaseService, LicenseService, ListSourceExporter, LocalFileService, LockManager, MemberPresenterFactory, ModelsGenerator, Name, NullLogger, Operation, OperationsController, OptimisticLockValidator, ParentService, PermissionBadge, PermissionsController, PersistDerivatives, PersistDirectlyContainedOutputFileService, PresenterFactory, QaSelectService, QuickClassificationQuery, RepositoryAuditService, ResourceStatisticsSource, RestrictionService, RightsStatements, SampleDataGenerator, SingleCollectionSearchBuilder, SingleUseError, SingleUseLinkPresenter, SingleUseLinkSearchBuilder, SingleUseLinksController, SingleUseLinksViewerController, ThumbnailPathService, TimeService, VersionListPresenter, VersionPresenter, VersioningService, WorkFormService, WorkGenerator, WorkIndexer, WorkRelation, WorkSearchBuilder, WorkShowPresenter, WorkflowActionInfo, WorkflowActionsController, WorkflowAuthorizationException, WorkflowPresenter, WorkingDirectory

Constant Summary collapse

VERSION =
'2.0.0'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



5
6
7
# File 'lib/curation_concerns/configuration.rb', line 5

def config
  @config
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



8
9
10
11
# File 'lib/curation_concerns/configuration.rb', line 8

def self.configure
  self.config ||= Configuration.new
  yield(config)
end