Package org.dspace.orcid.model.factory
Interface OrcidProfileSectionFactory
- All Known Implementing Classes:
AbstractOrcidProfileSectionFactory,OrcidPersonExternalIdentifierFactory,OrcidSimpleValueObjectFactory
public interface OrcidProfileSectionFactory
Interface for classes that creates ORCID profile section object.
- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
-
Method Summary
Modifier and TypeMethodDescriptioncreate(Context context, List<MetadataValue> metadataValues) Creates an instance of an ORCID object starting from the metadata valuesgetDescription(Context context, Item item, String signature) Returns a description of the item's metadata values related to the given signature.Returns all the metadata fields involved in the profile section configuration.getMetadataSignatures(Context context, Item item) Given the input item's metadata values generate a metadata signature for each metadata field groups handled by this factory or for each metadata fields if the factory is configured with single metadata fields.Returns the profile section type related to this factory.Returns the profile synchronization preference related to this factory.
-
Method Details
-
create
Creates an instance of an ORCID object starting from the metadata values- Parameters:
context- the DSpace ContextmetadataValues- the metadata values- Returns:
- the ORCID object
-
getProfileSectionType
OrcidProfileSectionType getProfileSectionType()Returns the profile section type related to this factory.- Returns:
- the profile section type
-
getSynchronizationPreference
OrcidProfileSyncPreference getSynchronizationPreference()Returns the profile synchronization preference related to this factory.- Returns:
- the synchronization preference
-
getMetadataFields
Returns all the metadata fields involved in the profile section configuration.- Returns:
- the metadataFields
-
getMetadataSignatures
Given the input item's metadata values generate a metadata signature for each metadata field groups handled by this factory or for each metadata fields if the factory is configured with single metadata fields.- Parameters:
context- the DSpace contextitem- the item- Returns:
- the metadata signatures
-
getDescription
Returns a description of the item's metadata values related to the given signature.- Parameters:
context- the DSpace contextitem- the itemsignature- the metadata signature- Returns:
- the metadata values description
-