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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidupdateForm(Form originalForm, Form createdForm) Update form after copyvoidupdateFormPage(FormPage originalFormPage, FormPage createdFormPage) Update page after copyvoidupdateFormQuestion(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:CopyFormUpdaterUpdate form after copy- Parameters:
originalForm- the original formcreatedForm- the new form
-
updateFormPage
Description copied from interface:CopyFormUpdaterUpdate page after copy- Parameters:
originalFormPage- the original form pagecreatedFormPage- the new form page
-
updateFormQuestion
Description copied from interface:CopyFormUpdaterUpdate question after copy- Parameters:
originalFormQuestion- the original form questioncreatedFormQuestion- the new form question
-