Interface DescriptionService


public interface DescriptionService
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a map containing all the descriptions of an object or null if the object is not internationalized.
    void
    setDescriptions(String id, Map<Locale,State> descriptions)
    Updates the description of the specified object or remove the internationalized characteristic of the object if the description map is null.
  • Method Details

    • getDescriptions

      Map<Locale,State> getDescriptions(String id)
      Returns a map containing all the descriptions of an object or null if the object is not internationalized.
      Parameters:
      id - the object id
      Returns:
      the map the description map
    • setDescriptions

      void setDescriptions(String id, Map<Locale,State> descriptions)
      Updates the description of the specified object or remove the internationalized characteristic of the object if the description map is null.
      Parameters:
      id - the object id
      descriptions - the new descriptions