Class FolderUtils

java.lang.Object
org.ehrbase.util.FolderUtils

public class FolderUtils extends Object
  • Method Details

    • checkSiblingNameConflicts

      public static void checkSiblingNameConflicts(com.nedap.archie.rm.directory.Folder folder)
      Checks each sub folder level for conflicts. For this purpose for each sub folder level there will be a set created that contains all names of the siblings as values. If at least one value could not be inserted it will be identified as duplicate and will throw an IllegalArgumentException that results to a 400 error on the controller layer.
      Parameters:
      folder - - Folder to check sub folders for