mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-12 04:23:13 +00:00
w2p-80200 Retain UUIDs of DSpace objects when using packager
This commit is contained in:
@@ -11,6 +11,7 @@ import java.util.Arrays;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import javax.persistence.Cacheable;
|
||||
import javax.persistence.CascadeType;
|
||||
import javax.persistence.Column;
|
||||
@@ -96,6 +97,10 @@ public class Community extends DSpaceObject implements DSpaceObjectLegacySupport
|
||||
|
||||
}
|
||||
|
||||
protected Community(UUID uuid) {
|
||||
this.predefinedUUID = uuid;
|
||||
}
|
||||
|
||||
void addSubCommunity(Community subCommunity) {
|
||||
subCommunities.add(subCommunity);
|
||||
setModified();
|
||||
|
Reference in New Issue
Block a user