Interface DescriptionService
public interface DescriptionService
-
Method Summary
Modifier and TypeMethodDescriptionReturns a map containing all the descriptions of an object or null if the object is not internationalized.voidsetDescriptions(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
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
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 iddescriptions- the new descriptions
-