Package org.ametys.odf.catalog
Interface CopyCatalogUpdater
- All Superinterfaces:
CopyODFUpdater
- All Known Implementing Classes:
AbstractProgramItemAttributeCopyUpdater
,CoursePartHolderUpdater
,EducationalBookletCopyUpdater
,EducationalPathCopyUpdater
,MCCCopyUpdater
,PilotageAttributeCopyUpdater
,ProgramItemReferencesCopyUpdater
,PublishableCopyUpdater
,SCCCopyUpdater
,SkillsCopyUpdater
,ThematicsUpdater
,TranslationUpdater
,WorkflowPilotageUpdater
Interface to update contents after a copy of ODF catalog
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
copyAdditionalContents
(String initialCatalogName, String newCatalogName, Map<Content, Content> copiedContents) Copy additional contents from the initial to the new cataloggetAdditionalContents
(String catalogName) Get the additional contents of the catalogMethods inherited from interface org.ametys.odf.CopyODFUpdater
updateContents
-
Method Details
-
getAdditionalContents
Get the additional contents of the catalog- Parameters:
catalogName
- the catalog name- Returns:
- additional contents managed by the updater
-
copyAdditionalContents
default void copyAdditionalContents(String initialCatalogName, String newCatalogName, Map<Content, Content> copiedContents) Copy additional contents from the initial to the new catalog- Parameters:
initialCatalogName
- the name of initial catalognewCatalogName
- the name of new catalogcopiedContents
- the initial contents with their copied content
-