Class LanguageResource

    • Constructor Detail

      • LanguageResource

        public LanguageResource()
    • Method Detail

      • getComponentId

        public String getComponentId()
        Description copied from interface: SilverpeasWebResource
        Gets the identifier of the component instance to which the requested resource belongs to.
        Returns:
        the identifier of the Silverpeas component instance.
      • getAvailableLanguages

        @GET
        @Produces("application/json")
        public List<LanguageEntity> getAvailableLanguages()
        Gets all the languages that are available in this running Silverpeas.
        Returns:
        a list of languages supported by the platform.