Class DefaultCoverPageContributor

java.lang.Object
org.dspace.disseminate.DefaultCoverPageContributor
All Implemented Interfaces:
CoverPageContributor

public class DefaultCoverPageContributor extends Object implements CoverPageContributor
  • Constructor Details

    • DefaultCoverPageContributor

      public DefaultCoverPageContributor()
  • Method Details

    • processCoverPageParams

      public Map<String,String> processCoverPageParams(Item item, Map<String,String> parameters)
      Description copied from interface: CoverPageContributor
      Processes and potentially modifies or adds parameters related to cover page generation. Implementers can use the provided Item object and an existing map of parameters to modify or add new key-value pairs. The resulting set of parameters will be passed on to the rendering step.
      Specified by:
      processCoverPageParams in interface CoverPageContributor
      Parameters:
      item - The Item that the coverpage is rendered for.
      parameters - A map of existing parameters that are already set for the cover page.
      Returns:
      A map containing the final set of parameters after modification. This map will be passed to the rendering step for cover page generation.
    • getParams

      protected List<String> getParams(Item item, String metaDataField)
    • join

      protected static String join(List<String> items, String separator, int limit, String limitMessage)