mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 10:34:25 +00:00
Replace deprecated setMetadata() that uses removed field names. #2956
Once upon a time, DSOs had dedicated fields for some metadata. These were moved into the Metadatavalue table long ago, but there were still methods which used the old field names instead of proper MetadataField triplets.
This commit is contained in:
@@ -94,18 +94,6 @@ public class Collection extends DSpaceObject implements DSpaceObjectLegacySuppor
|
||||
@Transient
|
||||
private transient CollectionService collectionService;
|
||||
|
||||
// Keys for accessing Collection metadata
|
||||
@Transient
|
||||
public static final String COPYRIGHT_TEXT = "copyright_text";
|
||||
@Transient
|
||||
public static final String INTRODUCTORY_TEXT = "introductory_text";
|
||||
@Transient
|
||||
public static final String SHORT_DESCRIPTION = "short_description";
|
||||
@Transient
|
||||
public static final String SIDEBAR_TEXT = "side_bar_text";
|
||||
@Transient
|
||||
public static final String PROVENANCE_TEXT = "provenance_description";
|
||||
|
||||
/**
|
||||
* Protected constructor, create object using:
|
||||
* {@link org.dspace.content.service.CollectionService#create(Context, Community)}
|
||||
|
Reference in New Issue
Block a user