Interface RealmLocalizationResource


  • public interface RealmLocalizationResource
    • Method Detail

      • getRealmSpecificLocales

        @GET
        @Produces("application/json")
        List<String> getRealmSpecificLocales()
      • getRealmLocalizationTexts

        @Path("{locale}")
        @GET
        @Produces("application/json")
        Map<String,​String> getRealmLocalizationTexts​(@PathParam("locale")
                                                           String locale,
                                                           @QueryParam("useRealmDefaultLocaleFallback")
                                                           Boolean useRealmDefaultLocaleFallback)
      • getRealmLocalizationText

        @Path("{locale}/{key}")
        @GET
        @Produces("text/plain")
        String getRealmLocalizationText​(@PathParam("locale")
                                        String locale,
                                        @PathParam("key")
                                        String key)
      • deleteRealmLocalizationTexts

        @Path("{locale}")
        @DELETE
        void deleteRealmLocalizationTexts​(@PathParam("locale")
                                          String locale)
      • deleteRealmLocalizationText

        @Path("{locale}/{key}")
        @DELETE
        void deleteRealmLocalizationText​(@PathParam("locale")
                                         String locale,
                                         @PathParam("key")
                                         String key)
      • saveRealmLocalizationText

        @Path("{locale}/{key}")
        @PUT
        @Consumes("text/plain")
        void saveRealmLocalizationText​(@PathParam("locale")
                                       String locale,
                                       @PathParam("key")
                                       String key,
                                       String text)
      • createOrUpdateRealmLocalizationTexts

        @Path("{locale}")
        @POST
        @Consumes("application/json")
        void createOrUpdateRealmLocalizationTexts​(@PathParam("locale")
                                                  String locale,
                                                  Map<String,​String> localizationTexts)