Class AppSettingsService
java.lang.Object
systems.dennis.shared.utils.ApplicationContext
systems.dennis.shared.service.AbstractPaginationService<DB_TYPE,String>
systems.dennis.shared.mongo.service.PaginationService<AppSettingsModel>
systems.dennis.shared.scopes.service.AppSettingsService
- All Implemented Interfaces:
systems.dennis.shared.beans.AppSettingsResolver,systems.dennis.shared.service.AbstractService<AppSettingsModel,,String> systems.dennis.shared.service.DeleteObject<AppSettingsModel,String>
@Service
@Primary
public class AppSettingsService
extends systems.dennis.shared.mongo.service.PaginationService<AppSettingsModel>
implements systems.dennis.shared.beans.AppSettingsResolver
-
Field Summary
FieldsFields inherited from class systems.dennis.shared.utils.ApplicationContext
CREATED_FIELDS_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddToCache(AppSettingsModel setting) afterAdd(AppSettingsModel object) afterDelete(AppSettingsModel object) voidafterEdit(AppSettingsModel object, AppSettingsModel original) <T> T<T> T<T> TgetSetting(String settingKey) booleanhasSetting(String setting) voidMethods inherited from class systems.dennis.shared.mongo.service.PaginationService
getFilterImplMethods inherited from class systems.dennis.shared.service.AbstractPaginationService
deleteItems, edit, editField, exists, find, find, getAdditionalCases, getLogger, getRepository, getUtils, isIdSet, preFetchOriginal, saveMethods inherited from class systems.dennis.shared.utils.ApplicationContext
canEqual, equals, getBean, getContext, getCurrentUser, getDefaultLogger, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface systems.dennis.shared.service.AbstractService
checkMy, count, count, createFromRequest, delete, download, exists, find, find, findById, findById, findById, findByIdClone, findByIdOrThrow, getAdditionalSpecification, getByIdAndUserDataId, getContext, getFieldOrder, getForm, getInterNalResource, getItemFavoriteType, getModel, getSearchRequestAbstractDataFilter, getSelfCreatedItems, getSelfCreatedItems, getSelfCreatedItemsQuery, getSelfCreatedItemsQuery, isEmpty, isEmpty, isIdSet, isObjectDeleted, isPublicSearchEnabled, modifyQuery, preAdd, preDelete, preEdit, prepareAbstractDataFilter, preSearch, saveVersionIfRequired, search, search, updateId, updateIdsMethods inherited from interface systems.dennis.shared.service.DeleteObject
delete, getDeleteField, getDeleteStrategy, getNotDeletedQuery, getSelfOnly, getStoreHistoryRequired, saveDeleteHistoryIfRequired
-
Field Details
-
SPRING_PREFIX
- See Also:
-
SHARED_SETTINGS_WITH_DEFAULT_VALUE
-
-
Constructor Details
-
Method Details
-
getSetting
public <T> T getSetting(String settingKey) throws systems.dennis.shared.exceptions.SettingKeyNotFoundException, systems.dennis.shared.exceptions.SettingValueTypeNotFoundException - Throws:
systems.dennis.shared.exceptions.SettingKeyNotFoundExceptionsystems.dennis.shared.exceptions.SettingValueTypeNotFoundException
-
saveApplicationSettingsIntoDB
public void saveApplicationSettingsIntoDB() -
getEnvProperties
-
hasSetting
- Specified by:
hasSettingin interfacesystems.dennis.shared.beans.AppSettingsResolver
-
getEnv
- Specified by:
getEnvin interfacesystems.dennis.shared.beans.AppSettingsResolver
-
getEnv
- Specified by:
getEnvin interfacesystems.dennis.shared.beans.AppSettingsResolver
-