Class FormPageRuleCopyUpdater
java.lang.Object
org.ametys.plugins.forms.repository.AbstractFormCopyUpdater
org.ametys.plugins.forms.repository.FormPageRuleCopyUpdater
- All Implemented Interfaces:
CopyFormUpdater
,Serviceable
Updates copied pages rules
-
Field Summary
Fields inherited from class org.ametys.plugins.forms.repository.AbstractFormCopyUpdater
_resolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updateForm
(Form originalForm, Form createdForm) Update form after copyvoid
updateFormPage
(FormPage originalFormPage, FormPage createdFormPage) Update page after copyvoid
updateFormQuestion
(FormQuestion originalFormQuestion, FormQuestion createdFormQuestion) Update question after copyMethods inherited from class org.ametys.plugins.forms.repository.AbstractFormCopyUpdater
_getCopiedPage, _getCopiedQuestion, service
-
Constructor Details
-
FormPageRuleCopyUpdater
public FormPageRuleCopyUpdater()
-
-
Method Details
-
updateForm
Description copied from interface:CopyFormUpdater
Update form after copy- Parameters:
originalForm
- the original formcreatedForm
- the new form
-
updateFormPage
Description copied from interface:CopyFormUpdater
Update page after copy- Parameters:
originalFormPage
- the original form pagecreatedFormPage
- the new form page
-
updateFormQuestion
Description copied from interface:CopyFormUpdater
Update question after copy- Parameters:
originalFormQuestion
- the original form questioncreatedFormQuestion
- the new form question
-