JavaDocs and boolean name update

This commit is contained in:
Ben Bosman
2019-01-24 13:26:35 +01:00
parent 1ed01310b0
commit 51de4cd87c
2 changed files with 51 additions and 2 deletions

View File

@@ -1296,7 +1296,7 @@ prevent the generation of resource policy entry values with null dspace_object a
}
@Override
public List<RelationshipMetadataValue> getRelationshipMetadata(Item item, boolean extra) {
public List<RelationshipMetadataValue> getRelationshipMetadata(Item item, boolean enableVirtualMetadata) {
Context context = new Context();
List<RelationshipMetadataValue> fullMetadataValueList = new LinkedList<>();
try {
@@ -1306,7 +1306,7 @@ prevent the generation of resource policy entry values with null dspace_object a
List<Relationship> relationships = relationshipService.findByItem(context, item);
for (Relationship relationship : relationships) {
fullMetadataValueList
.addAll(handleItemRelationship(context, item, entityType, relationship, extra));
.addAll(handleItemRelationship(context, item, entityType, relationship, enableVirtualMetadata));
}
}