D4CRIS-338 save granted date into dcterms.accessRights (was dc.rights.date)

This commit is contained in:
Luigi Andrea Pascarelli
2017-11-15 11:39:13 +01:00
parent 7a3532993f
commit 3e77e73fc2
3 changed files with 4 additions and 9 deletions

View File

@@ -447,7 +447,7 @@ public class Bitstream extends DSpaceObject implements DSpaceObjectLegacySupport
* @throws SQLException
*/
public void setAcceptanceDate(Context context, DCDate acceptanceDate) throws SQLException {
getBitstreamService().setMetadataSingleValue(context, this, MetadataSchema.DC_SCHEMA, "rights", "date", null, acceptanceDate.toString());
getBitstreamService().setMetadataSingleValue(context, this, "dcterms", "accessRights", null, null, acceptanceDate.toString());
}
}