public interface CopyCatalogUpdater
Modifier and Type | Method and Description |
---|---|
void |
updateContent(String initialCatalogName,
String newCatalogName,
Program initialProgram,
Program createdProgram)
Update content during copy of a catalog.
|
void |
updateContents(String initialCatalogName,
String newCatalogName,
Map<String,String> copiedPrograms,
Map<String,String> copiedSubPrograms,
Map<String,String> copiedContainers,
Map<String,String> copiedCourseLists,
Map<String,String> copiedCourses)
Update contents after the full copy of a catalog.
|
void updateContent(String initialCatalogName, String newCatalogName, Program initialProgram, Program createdProgram)
initialCatalogName
- the name of initial catalognewCatalogName
- the name of new cataloginitialProgram
- the initial programcreatedProgram
- the created programvoid updateContents(String initialCatalogName, String newCatalogName, Map<String,String> copiedPrograms, Map<String,String> copiedSubPrograms, Map<String,String> copiedContainers, Map<String,String> copiedCourseLists, Map<String,String> copiedCourses)
initialCatalogName
- the name of initial catalognewCatalogName
- the name of new catalogcopiedPrograms
- the id of initial programs with their copied contentcopiedSubPrograms
- the id of initial subprograms with their copied contentcopiedContainers
- the id of initial containers with their copied contentcopiedCourseLists
- the id of initial course lists with their copied contentcopiedCourses
- the id of initial courses with their copied content