Class DDMFormTemplateContext.Builder
java.lang.Object
com.liferay.dynamic.data.mapping.test.util.DDMFormTemplateContext.Builder
- Enclosing class:
- DDMFormTemplateContext
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
newBuilder
(com.liferay.dynamic.data.mapping.form.renderer.DDMFormTemplateContextFactory ddmFormTemplateContextFactory) withContainerId
(String containerId) withHttpServletRequest
(javax.servlet.http.HttpServletRequest httpServletRequest) withLocale
(Locale locale) withPaginationMode
(String paginationMode) withPortletNamespace
(String portletNamespace) withProperty
(String name, Object value) withReadOnly
(boolean readOnly) withShowRequiredFieldsWarning
(boolean showRequiredFieldsWarning) withShowSubmitButton
(boolean showSubmitButton) withSubmitLabel
(String submitLabel) withViewMode
(boolean viewMode)
-
Method Details
-
newBuilder
public static DDMFormTemplateContext.Builder newBuilder(com.liferay.dynamic.data.mapping.form.renderer.DDMFormTemplateContextFactory ddmFormTemplateContextFactory) -
build
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
withContainerId
-
withHttpServletRequest
public DDMFormTemplateContext.Builder withHttpServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest) -
withLocale
-
withPaginationMode
-
withPortletNamespace
-
withProperty
-
withReadOnly
-
withShowRequiredFieldsWarning
public DDMFormTemplateContext.Builder withShowRequiredFieldsWarning(boolean showRequiredFieldsWarning) -
withShowSubmitButton
-
withSubmitLabel
-
withViewMode
-