Package com.znize.platform.entity
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 Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTY_CONTENTProperty constant: content.static java.lang.StringPROPERTY_ENTITY_TYPEProperty constant: entityType.static java.lang.StringPROPERTY_LOCALEProperty constant: locale.static java.lang.StringPROPERTY_SHOW_BARCODEProperty constant: showBarcode.-
Fields inherited from interface com.znize.platform.entity.PersistenceEntity
ID_SEPARATOR, PROPERTY_ID, PROPERTY_INSTANCE, PROPERTY_SELECTED, PROPERTY_SEQUENCE_NO, PROPERTY_VERSION
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetContent()Get footer content.DataTypegetEntityType()Get the entityType of the formDesigns to which this footer will apply.java.util.LocalegetLocale()Get the locale in which this footer is created.java.lang.BooleangetShowBarcode()Whether to show barcode?voidsetEntityType(DataType entityType)Set the entityType of the formDesigns to which this footer will apply.voidsetLocale(java.util.Locale locale)Set the locale in which this footer is created.-
Methods inherited from interface com.znize.platform.entity.PersistenceEntity
clone, getId, getInstance, getSequenceNo, getVersion, isChanged, isPartiallyInitialized, isPersisted, isSelected, isStatistics, setChanged, setId, setInstance, setPartiallyInitialized, setPersisted, setSelected, setSequenceNo, setStatistics, setVersion
-
-
-
-
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:
getEntityTypein interfaceDataTypeAware- 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:
setEntityTypein interfaceDataTypeAware- 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
-
-