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:
Mark H. Wood
2020-11-17 12:25:48 -05:00
parent 3e7ac5d935
commit e94911ba19
13 changed files with 163 additions and 166 deletions

View File

@@ -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)}