Class AbstractOrcidProfileSectionFactory
java.lang.Object
org.dspace.orcid.model.factory.impl.AbstractOrcidProfileSectionFactory
- All Implemented Interfaces:
OrcidProfileSectionFactory
- Direct Known Subclasses:
OrcidSimpleValueObjectFactory
public abstract class AbstractOrcidProfileSectionFactory
extends Object
implements OrcidProfileSectionFactory
Abstract class for that handle commons behaviors of all the available orcid
profile section factories.
- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ItemServiceprotected MetadataSignatureGeneratorprotected OrcidCommonObjectFactoryprotected final OrcidProfileSyncPreferenceprotected final OrcidProfileSectionType -
Constructor Summary
ConstructorsConstructorDescriptionAbstractOrcidProfileSectionFactory(OrcidProfileSectionType sectionType, OrcidProfileSyncPreference preference) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<MetadataValue>getMetadataValues(Item item, String metadataField) Returns the profile section type related to this factory.protected abstract List<OrcidProfileSectionType>Returns the profile synchronization preference related to this factory.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.orcid.model.factory.OrcidProfileSectionFactory
create, getDescription, getMetadataFields, getMetadataSignatures
-
Field Details
-
sectionType
-
preference
-
itemService
-
orcidCommonObjectFactory
-
metadataSignatureGenerator
-
-
Constructor Details
-
AbstractOrcidProfileSectionFactory
public AbstractOrcidProfileSectionFactory(OrcidProfileSectionType sectionType, OrcidProfileSyncPreference preference)
-
-
Method Details
-
getSupportedTypes
-
getProfileSectionType
Description copied from interface:OrcidProfileSectionFactoryReturns the profile section type related to this factory.- Specified by:
getProfileSectionTypein interfaceOrcidProfileSectionFactory- Returns:
- the profile section type
-
getSynchronizationPreference
Description copied from interface:OrcidProfileSectionFactoryReturns the profile synchronization preference related to this factory.- Specified by:
getSynchronizationPreferencein interfaceOrcidProfileSectionFactory- Returns:
- the synchronization preference
-
getMetadataValues
-