public class SaveTranslationCmd extends Object implements Command<Translation>
Modifier and Type | Field and Description |
---|---|
protected String |
key |
protected String |
locale |
protected String |
scopeId |
protected String |
scopeType |
protected String |
value |
Constructor and Description |
---|
SaveTranslationCmd(String scopeId,
String scopeType,
String key,
String locale,
String value) |
Modifier and Type | Method and Description |
---|---|
Translation |
execute(CommandContext commandContext) |
protected String scopeId
protected String scopeType
protected String key
protected String locale
protected String value
public Translation execute(CommandContext commandContext)
execute
in interface Command<Translation>