Class InvoiceSettings
java.lang.Object
io.jmix.appsettings.entity.AppSettingsEntity
de.bytestore.hostinger.entity.settings.InvoiceSettings
- All Implemented Interfaces:
io.jmix.core.Entity,io.jmix.core.entity.JmixEntityEntryEnhanced,io.jmix.core.entity.JmixSettersEnhanced,Serializable,Cloneable,org.eclipse.persistence.descriptors.changetracking.ChangeTracker,org.eclipse.persistence.internal.descriptors.PersistenceEntity,org.eclipse.persistence.internal.descriptors.PersistenceObject,org.eclipse.persistence.internal.weaving.PersistenceWeaved,org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking,org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups,org.eclipse.persistence.queries.FetchGroupTracker
@Entity(name="host_InvoiceSettings")
public class InvoiceSettings
extends io.jmix.appsettings.entity.AppSettingsEntity
Represents the settings for invoice management in the application.
This class contains configuration properties and associations related to
invoice templates, email notifications, encoding, and other settings that
influence the behavior of invoice-related functionality. It is associated
with a database table `host_InvoiceSettings` with predefined indexes for
efficient querying of specific columns.
The class extends
AppSettingsEntity, inheriting common settings
management functionality.
Key Features:
- Manage whether debug mode is enabled.
- Define templates for invoices and email notifications.
- Specify whether invoices should be attached to emails.
- Configure character encoding for invoice-related processing.
Lifecycle:
This entity has a `@PostConstruct` method, which initializes default values
such as setting debug mode to `false` and establishing default encoding.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.appsettings.entity.AppSettingsEntity
io.jmix.appsettings.entity.AppSettingsEntity.JmixEntityEntry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDebug()io.jmix.messagetemplates.entity.MessageTemplateio.jmix.messagetemplates.entity.MessageTemplatevoidvoidsetAttachInvoiceToMail(Boolean attachInvoiceToMail) voidvoidsetEmailNotifications(MailAccount emailNotifications) voidsetEmailTemplate(io.jmix.messagetemplates.entity.MessageTemplate emailTemplate) voidsetEncoding(String encoding) voidsetInvoiceTemplate(io.jmix.messagetemplates.entity.MessageTemplate invoiceTemplate) Methods inherited from class io.jmix.appsettings.entity.AppSettingsEntity
__copyEntityEntry, __getEntityEntry, _persistence_checkFetched, _persistence_checkFetchedForSet, _persistence_get, _persistence_getCacheKey, _persistence_getFetchGroup, _persistence_getId, _persistence_getPropertyChangeListener, _persistence_getSession, _persistence_isAttributeFetched, _persistence_new, _persistence_post_clone, _persistence_propertyChange, _persistence_resetFetchGroup, _persistence_set, _persistence_setCacheKey, _persistence_setFetchGroup, _persistence_setId, _persistence_setPropertyChangeListener, _persistence_setSession, _persistence_setShouldRefreshFetchGroup, _persistence_shallow_clone, _persistence_shouldRefreshFetchGroup, equals, getId, getVersion, hashCode, setId, setVersion, toString
-
Constructor Details
-
InvoiceSettings
public InvoiceSettings()
-
-
Method Details
-
getAttachInvoiceToMail
-
setAttachInvoiceToMail
-
getInvoiceTemplate
public io.jmix.messagetemplates.entity.MessageTemplate getInvoiceTemplate() -
setInvoiceTemplate
public void setInvoiceTemplate(io.jmix.messagetemplates.entity.MessageTemplate invoiceTemplate) -
getEmailTemplate
public io.jmix.messagetemplates.entity.MessageTemplate getEmailTemplate() -
setEmailTemplate
public void setEmailTemplate(io.jmix.messagetemplates.entity.MessageTemplate emailTemplate) -
getEmailNotifications
-
setEmailNotifications
-
getEncoding
-
setEncoding
-
getDebug
-
setDebug
-
postConstruct
@PostConstruct public void postConstruct()
-