Interface RealmLocalizationResource
-
public interface RealmLocalizationResource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateOrUpdateRealmLocalizationTexts(String locale, Map<String,String> localizationTexts)voiddeleteRealmLocalizationText(String locale, String key)voiddeleteRealmLocalizationTexts(String locale)StringgetRealmLocalizationText(String locale, String key)Map<String,String>getRealmLocalizationTexts(String locale, Boolean useRealmDefaultLocaleFallback)List<String>getRealmSpecificLocales()voidsaveRealmLocalizationText(String locale, String key, String text)
-
-
-
Method Detail
-
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)
-
-