Interface OrcidProfileSectionFactory

    • Method Detail

      • create

        Object create​(Context context,
                      List<MetadataValue> metadataValues)
        Creates an instance of an ORCID object starting from the metadata values
        Parameters:
        context - the DSpace Context
        metadataValues - 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

        List<String> getMetadataFields()
        Returns all the metadata fields involved in the profile section configuration.
        Returns:
        the metadataFields
      • getMetadataSignatures

        List<String> 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.
        Parameters:
        context - the DSpace context
        item - the item
        Returns:
        the metadata signatures
      • getDescription

        String getDescription​(Context context,
                              Item item,
                              String signature)
        Returns a description of the item's metadata values related to the given signature.
        Parameters:
        context - the DSpace context
        item - the item
        signature - the metadata signature
        Returns:
        the metadata values description