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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    io.jmix.messagetemplates.entity.MessageTemplate
     
     
    io.jmix.messagetemplates.entity.MessageTemplate
     
    void
     
    void
    setAttachInvoiceToMail(Boolean attachInvoiceToMail)
     
    void
     
    void
    setEmailNotifications(MailAccount emailNotifications)
     
    void
    setEmailTemplate(io.jmix.messagetemplates.entity.MessageTemplate emailTemplate)
     
    void
    setEncoding(String encoding)
     
    void
    setInvoiceTemplate(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

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • InvoiceSettings

      public InvoiceSettings()
  • Method Details

    • getAttachInvoiceToMail

      public Boolean getAttachInvoiceToMail()
    • setAttachInvoiceToMail

      public void setAttachInvoiceToMail(Boolean attachInvoiceToMail)
    • 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

      public MailAccount getEmailNotifications()
    • setEmailNotifications

      public void setEmailNotifications(MailAccount emailNotifications)
    • getEncoding

      public String getEncoding()
    • setEncoding

      public void setEncoding(String encoding)
    • getDebug

      public Boolean getDebug()
    • setDebug

      public void setDebug(Boolean debug)
    • postConstruct

      @PostConstruct public void postConstruct()