Class CudamiLocalesClient

java.lang.Object
de.digitalcollections.client.BaseRestClient<Locale>
de.digitalcollections.cudami.client.CudamiLocalesClient

public class CudamiLocalesClient extends BaseRestClient<Locale>
  • Constructor Details

    • CudamiLocalesClient

      public CudamiLocalesClient(HttpClient http, String serverUrl, com.fasterxml.jackson.databind.ObjectMapper mapper)
  • Method Details

    • getAllLanguages

      public List<String> getAllLanguages() throws de.digitalcollections.model.exception.TechnicalException
      Throws:
      de.digitalcollections.model.exception.TechnicalException
    • getAllLanguagesAsLocales

      public List<Locale> getAllLanguagesAsLocales() throws de.digitalcollections.model.exception.TechnicalException
      Throws:
      de.digitalcollections.model.exception.TechnicalException
    • getAllLocales

      public List<Locale> getAllLocales() throws de.digitalcollections.model.exception.TechnicalException
      Throws:
      de.digitalcollections.model.exception.TechnicalException
    • getDefaultLanguage

      public Locale getDefaultLanguage() throws de.digitalcollections.model.exception.TechnicalException
      Throws:
      de.digitalcollections.model.exception.TechnicalException
    • getDefaultLocale

      public String getDefaultLocale() throws de.digitalcollections.model.exception.TechnicalException
      Throws:
      de.digitalcollections.model.exception.TechnicalException