Interface RealmLocalizationResource
-
public interface RealmLocalizationResource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createOrUpdateRealmLocalizationTexts(String locale, Map<String,String> localizationTexts)
void
deleteRealmLocalizationText(String locale, String key)
void
deleteRealmLocalizationTexts(String locale)
String
getRealmLocalizationText(String locale, String key)
Map<String,String>
getRealmLocalizationTexts(String locale, Boolean useRealmDefaultLocaleFallback)
List<String>
getRealmSpecificLocales()
void
saveRealmLocalizationText(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)
-
-