Class HvlOAuthSettingIntegrationProviderImpl

java.lang.Object
tr.com.havelsan.javarch.oauth.setting.integration.provider.HvlOAuthSettingIntegrationProviderImpl
All Implemented Interfaces:
HvlOAuthSettingIntegrationProvider

@ConditionalOnProperty(prefix="hvl.oauth.setting", name="circuit-breaker-enabled", havingValue="false") @Service("settingService") public class HvlOAuthSettingIntegrationProviderImpl extends Object implements HvlOAuthSettingIntegrationProvider
The class which implements HvlOAuthSettingIntegrationProvider.
  • Constructor Details

    • HvlOAuthSettingIntegrationProviderImpl

      public HvlOAuthSettingIntegrationProviderImpl(tr.com.havelsan.javarch.system.setting.cloud.client.service.HvlSettingRestService settingRestService)
      Instantiates a new HvlOAuthSettingIntegrationProvider.
      Parameters:
      settingRestService - the setting service
  • Method Details

    • getNumberSettingByCode

      public long getNumberSettingByCode(@NotBlank @Size(max=200) @NotBlank @Size(max=200) String code)
      Method that returns number setting data by code
      Specified by:
      getNumberSettingByCode in interface HvlOAuthSettingIntegrationProvider
      Parameters:
      code - the code
      Returns:
      number setting by code
    • getStringSettingByCode

      public String getStringSettingByCode(@NotBlank @Size(max=200) @NotBlank @Size(max=200) String code)
      Method that returns string setting data by code
      Specified by:
      getStringSettingByCode in interface HvlOAuthSettingIntegrationProvider
      Parameters:
      code - the code
      Returns:
      string setting by code
    • getBooleanSettingByCode

      public boolean getBooleanSettingByCode(@NotBlank @Size(max=200) @NotBlank @Size(max=200) String code)
      Method that returns boolean setting data by code
      Specified by:
      getBooleanSettingByCode in interface HvlOAuthSettingIntegrationProvider
      Parameters:
      code - the code
      Returns:
      boolean setting by code
    • getNumberSettingByCodeAndTenant

      public long getNumberSettingByCodeAndTenant(@NotBlank @Size(max=200) @NotBlank @Size(max=200) String code, @Size(max=100) @Size(max=100) String tenant)
      Method that returns number setting data by code and tenant
      Specified by:
      getNumberSettingByCodeAndTenant in interface HvlOAuthSettingIntegrationProvider
      Parameters:
      code - the code
      tenant - the tenant
      Returns:
      number setting by code
    • getStringSettingByCodeAndTenant

      public String getStringSettingByCodeAndTenant(@NotBlank @Size(max=200) @NotBlank @Size(max=200) String code, @Size(max=100) @Size(max=100) String tenant)
      Method that returns string setting data by code and tenant
      Specified by:
      getStringSettingByCodeAndTenant in interface HvlOAuthSettingIntegrationProvider
      Parameters:
      code - the code
      tenant - the tenant
      Returns:
      string setting by code
    • getBooleanSettingByCodeAndTenant

      public boolean getBooleanSettingByCodeAndTenant(@NotBlank @Size(max=200) @NotBlank @Size(max=200) String code, @Size(max=100) @Size(max=100) String tenant)
      Method that returns boolean setting data by code and tenant
      Specified by:
      getBooleanSettingByCodeAndTenant in interface HvlOAuthSettingIntegrationProvider
      Parameters:
      code - the code
      tenant - the tenant
      Returns:
      boolean setting by code