Interface MigrationMapping


@Internal public interface MigrationMapping
Stores mappings from entity ID in the backup file to restored entity ID.
  • Method Details

    • getStructureIds

      @NotNull Map<Long,Long> getStructureIds()
      Returns structure IDs mapping. Also defines the set of structures to migrate.
      Returns:
      keys of this map are IDs of structures to migrate as they occur in the backup file; values - corresponding structure IDs in the system.
    • getItemIds

      @NotNull Map<ItemIdentity,ItemIdentity> getItemIds()
      Returns non-issue item IDs (folders, memos, generators, etc) mapping. May contain ItemIdentity.ITEM_ZERO value for unresolved items.
      Returns:
      keys of this map are item IDs to migrate as they occur in the backup file; values - corresponding item IDs in the system.