Package org.ametys.odf.catalog
Class AbstractCopyCatalogUpdater
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.odf.catalog.AbstractCopyCatalogUpdater
- All Implemented Interfaces:
CopyCatalogUpdater,CopyODFUpdater,LogEnabled
- Direct Known Subclasses:
APCCatalogCopyUpdater,CoursePartHolderUpdater,EducationalBookletCopyUpdater,EducationalPathCopyUpdater,MCCCopyUpdater,PilotageAttributeCopyUpdater,ProgramItemReferencesCopyUpdater,PublishableCopyUpdater,SCCCopyUpdater,SkillsCopyUpdater,ThematicsUpdater,TranslationUpdater,WorkflowPilotageUpdater
public abstract class AbstractCopyCatalogUpdater
extends AbstractLogEnabled
implements CopyCatalogUpdater
The abstract class to copy content attribute of program item type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void_updateContentAttribute(ModifiableModelAwareDataHolder dataHolder, String definitionPath, Map<Content, Content> copiedContents) Update the program item attribute with the value of the new catalog.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, getAdditionalContentsMethods inherited from interface org.ametys.odf.CopyODFUpdater
updateContents
-
Constructor Details
-
AbstractCopyCatalogUpdater
public AbstractCopyCatalogUpdater()
-
-
Method Details
-
_updateContentAttribute
protected void _updateContentAttribute(ModifiableModelAwareDataHolder dataHolder, String definitionPath, Map<Content, Content> copiedContents) Update the program item attribute with the value of the new catalog.- Parameters:
dataHolder- The data holderdefinitionPath- The definition pathcopiedContents- The copied contents for the referenced attribute
-