Interface DynamicRegionalForm

All Superinterfaces:
org.broadleafcommerce.common.copy.MultiTenantCloneable<DynamicRegionalForm>, Serializable
All Known Implementing Classes:
DynamicRegionalFormImpl

public interface DynamicRegionalForm extends Serializable, org.broadleafcommerce.common.copy.MultiTenantCloneable<DynamicRegionalForm>
Author:
Elbert Bautista (elbertbautista)
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.broadleafcommerce.common.web.form.BroadleafFormType
    Get the BroadleafFormType form this Dynamic Form
    Unique id of the DB record
    org.broadleafcommerce.common.i18n.domain.ISOCountry
    Returns the ISOCountry that this form is associated with
    Get the name of this Dynamic Form
    void
    setFormType(org.broadleafcommerce.common.web.form.BroadleafFormType formType)
    Sets the BroadleafFormType for this Dynamic Form
    void
    setId(Long id)
    Sets the id of the DB record
    void
    setIsoCountry(org.broadleafcommerce.common.i18n.domain.ISOCountry isoCountry)
    Sets the ISOCountry for this Form.
    void
    setName(String formType)
    Sets the name for this Dynamic Form
    void
    sets the DynamicRegionalFormFieldlist.

    Methods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable

    createOrRetrieveCopyInstance
  • Method Details

    • getId

      Long getId()
      Unique id of the DB record
      Returns:
      the id
    • setId

      void setId(Long id)
      Sets the id of the DB record
      Parameters:
      id -
    • getIsoCountry

      org.broadleafcommerce.common.i18n.domain.ISOCountry getIsoCountry()
      Returns the ISOCountry that this form is associated with
      Returns:
      the ISOCountry
    • setIsoCountry

      void setIsoCountry(org.broadleafcommerce.common.i18n.domain.ISOCountry isoCountry)
      Sets the ISOCountry for this Form. A Regional Form is tied to an ISOCountry and not a Country allowing you to internationalize a form for all countries and not just those restricted to the lookup table.

      For example: You can prevent shipping to specified countries using the Country on a shipping address form, however that shouldn't inhibit customers from paying with a billing address based in another country.

      Parameters:
      isoCountry -
    • setRegionalFormFieldList

      void setRegionalFormFieldList(List<DynamicRegionalFormField> regionalFormFieldList)
      sets the DynamicRegionalFormFieldlist. Each line in the form is seen as a DynamicRegionalFormField. which contain DynamicRegionalFormFieldItems.
      Parameters:
      regionalFormFieldList -
    • getDynamicFormFieldList

      List<DynamicRegionalFormField> getDynamicFormFieldList()
      Returns:
      the list of the FormFields
    • getName

      String getName()
      Get the name of this Dynamic Form
      Returns:
    • setName

      void setName(String formType)
      Sets the name for this Dynamic Form
      Parameters:
      formType -
    • getFormType

      org.broadleafcommerce.common.web.form.BroadleafFormType getFormType()
      Get the BroadleafFormType form this Dynamic Form
      Returns:
    • setFormType

      void setFormType(org.broadleafcommerce.common.web.form.BroadleafFormType formType)
      Sets the BroadleafFormType for this Dynamic Form
      Parameters:
      formType -