Package org.ametys.odf.catalog
Class PublishableCopyUpdater
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.odf.catalog.PublishableCopyUpdater
- All Implemented Interfaces:
CopyCatalogUpdater,CopyODFUpdater,ProgramTranslationUpdater,LogEnabled
public class PublishableCopyUpdater
extends AbstractLogEnabled
implements CopyCatalogUpdater, ProgramTranslationUpdater
Copy updater to update the publishable value of program items after a catalog copy
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.odf.catalog.CopyCatalogUpdater
copyAdditionalContents, getAdditionalContents
-
Constructor Details
-
PublishableCopyUpdater
public PublishableCopyUpdater()
-
-
Method Details
-
updateContents
public void updateContents(String initialCatalogName, String newCatalogName, Map<Content, Content> copiedContents, Content targetParentContent) Description copied from interface:CopyODFUpdaterUpdate contents after the full copy of an ODF content. Implements this method when you need to do some stuff when all contents have been copied.- Specified by:
updateContentsin interfaceCopyODFUpdater- Parameters:
initialCatalogName- the name of initial catalognewCatalogName- the name of new catalogcopiedContents- the initial contents with their copied contenttargetParentContent- the target parent content where the contents are copied. Can be null.
-