Utility method to check if the license allows the file to be downloaded.
Utility method to check if the license allows the file to be downloaded. Currently, if the license type is NOT "license1", or if it is "license1" and the "allowDownload" flag is set, the file can be downloaded.
A boolean, true if the license type allows the file to be downloaded, false otherwise.
Utility method to check if a name matches the rights holder of the license.
Utility method to check if a name matches the rights holder of the license.
A String that represents the name of a user to compare to the current rights holder.
A boolean, true if the parameter matches the owner, false otherwise.
Utility function, similar to a json Write, to return string version in json-ld format Should also return key
Utility to return a url even if empty, but enough other attributes available to determine it this is repurposed from: function updateData(id, imageBase, sourceObject, authorName) in updateLicenseInfo.
Utility to return a url even if empty, but enough other attributes available to determine it this is repurposed from: function updateData(id, imageBase, sourceObject, authorName) in updateLicenseInfo.js line:88
case class to handle specific license information. Currently attached to individual Datasets and Files.