Interface FormDesignFooter

  • All Superinterfaces:
    java.lang.Cloneable, DataTypeAware, PersistenceEntity

    public interface FormDesignFooter
    extends DataTypeAware
    FormDesignFooter is the footer part of a formDesign, which is created by user in different locales. locale fallback is supported in looking for a FormDesignFooter from a user locale.
    Since:
    5.20
    • Field Detail

      • PROPERTY_ENTITY_TYPE

        static final java.lang.String PROPERTY_ENTITY_TYPE
        Property constant: entityType.
        See Also:
        Constant Field Values
      • PROPERTY_LOCALE

        static final java.lang.String PROPERTY_LOCALE
        Property constant: locale.
        See Also:
        Constant Field Values
      • PROPERTY_CONTENT

        static final java.lang.String PROPERTY_CONTENT
        Property constant: content.
        See Also:
        Constant Field Values
      • PROPERTY_SHOW_BARCODE

        static final java.lang.String PROPERTY_SHOW_BARCODE
        Property constant: showBarcode.
        See Also:
        Constant Field Values
    • Method Detail

      • getEntityType

        DataType getEntityType()
        Get the entityType of the formDesigns to which this footer will apply. For example, For SalesOrder form designs, the entity type is SalesOrder.
        Specified by:
        getEntityType in interface DataTypeAware
        Returns:
        entity type
      • setEntityType

        void setEntityType​(DataType entityType)
        Set the entityType of the formDesigns to which this footer will apply. For example, For SalesOrder form designs, the entity type is SalesOrder.
        Specified by:
        setEntityType in interface DataTypeAware
        Parameters:
        entityType - entity type
      • getLocale

        java.util.Locale getLocale()
        Get the locale in which this footer is created.
        Returns:
        locale
      • setLocale

        void setLocale​(java.util.Locale locale)
        Set the locale in which this footer is created.
        Parameters:
        locale - a locale
      • getContent

        java.lang.String getContent()
        Get footer content.
        Returns:
        text content
      • getShowBarcode

        java.lang.Boolean getShowBarcode()
        Whether to show barcode?
        Returns:
        true to show barcode, false otherwise