Package org.dspace.orcid.service
Interface OrcidProfileSectionFactoryService
- All Known Implementing Classes:
OrcidProfileSectionFactoryServiceImpl
public interface OrcidProfileSectionFactoryService
Interface that mark classes that handle the configured instance of
OrcidProfileSectionFactory.- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrcidObject(Context context, List<MetadataValue> metadataValues, OrcidProfileSectionType type) Builds an ORCID object starting from the given metadata values compliance to the given profile section type.findByPreferences(List<OrcidProfileSyncPreference> preferences) Returns all the profile section configurations relative to the given preferences.Returns the profile section factory of the given type.
-
Method Details
-
findBySectionType
Returns the profile section factory of the given type.- Parameters:
type- the type of the section configurations to retrieve- Returns:
- the section configurations of the given type
-
findByPreferences
Returns all the profile section configurations relative to the given preferences.- Parameters:
preferences- the preferences to search for- Returns:
- the section configurations
-
createOrcidObject
Object createOrcidObject(Context context, List<MetadataValue> metadataValues, OrcidProfileSectionType type) Builds an ORCID object starting from the given metadata values compliance to the given profile section type.- Parameters:
context- the DSpace contextmetadataValues- the metadata valuestype- the profile section type- Returns:
- the created object
-