Class ExternalMetadataUtils
java.lang.Object
org.opencastproject.external.util.ExternalMetadataUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidchangeSubjectToSubjects(org.opencastproject.metadata.dublincore.DublinCoreMetadataCollection collection) Change a subject metadata field for a subjects json array.static voidremoveCollectionList(org.opencastproject.metadata.dublincore.DublinCoreMetadataCollection metadata) Remove the collection list from the metadata to reduce to amount of data
-
Method Details
-
changeSubjectToSubjects
public static void changeSubjectToSubjects(org.opencastproject.metadata.dublincore.DublinCoreMetadataCollection collection) Change a subject metadata field for a subjects json array.- Parameters:
collection- The collection to update subject to subjects.
-
removeCollectionList
public static void removeCollectionList(org.opencastproject.metadata.dublincore.DublinCoreMetadataCollection metadata) Remove the collection list from the metadata to reduce to amount of data- Parameters:
metadata- The metadata from which the list have to be removed
-