Class SystemSettings
java.lang.Object
io.jmix.appsettings.entity.AppSettingsEntity
de.bytestore.hostinger.entity.settings.SystemSettings
- 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_SystemSettings")
public class SystemSettings
extends io.jmix.appsettings.entity.AppSettingsEntity
Represents system settings for configuration within the application.
This entity is mapped to the database table "host_SystemSettings" and includes configurations for debugging,
HTTPS handling, email notification settings, and module/host updates.
Contains methods to access and modify these system settings.
Annotations:
- Table: Specifies the table name and index.
- JmixEntity: Identifies this as a Jmix entity.
- Entity: Marks this as a JPA entity.
Fields:
- debug: Configures whether the system is in debug mode.
- ignoreHTTPS: Determines whether HTTPS should be ignored.
- emailNotifications: References the email notification settings through a MailAccount object.
- autoUpdateHostinger: Controls automatic updates for Hostinger integration.
- autoUpdateModules: Controls automatic updates for application modules.
Methods:
- getIgnoreHTTPS/getDebug/getAutoUpdateModules/getAutoUpdateHostinger/getEmailNotifications:
Getter methods to retrieve the configuration values.
- setIgnoreHTTPS/setDebug/setAutoUpdateModules/setAutoUpdateHostinger/setEmailNotifications:
Setter methods to update the configuration values.
Lifecycle:
- Uses @PostConstruct to initialize default field values after the bean is constructed.
- 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()voidvoidsetAutoUpdateHostinger(Boolean autoUpdateHostinger) voidsetAutoUpdateModules(Boolean autoUpdateModules) voidvoidsetEmailNotifications(MailAccount emailNotifications) voidsetIgnoreHTTPS(Boolean ignoreHTTPS) 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
-
SystemSettings
public SystemSettings()
-
-
Method Details
-
getIgnoreHTTPS
-
setIgnoreHTTPS
-
getEmailNotifications
-
setEmailNotifications
-
getAutoUpdateModules
-
setAutoUpdateModules
-
getAutoUpdateHostinger
-
setAutoUpdateHostinger
-
getDebug
-
setDebug
-
postConstruct
@PostConstruct public void postConstruct()
-