public interface LanguageIf
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode()
Examples of the code are en, es, de etc.
|
int |
getDataLanguageId()
For languages that are not display-only this id will be the same as the language Id.
|
java.lang.String |
getDirectory()
Examples of the directory are english, german, espanol etc.
|
int |
getId() |
java.lang.String |
getImage()
Normally a flag of the country where the language is spoken, stored in the directory of
images specific to this language.
|
java.lang.String |
getLocale() |
java.lang.String |
getName() |
int |
getSortOrder() |
boolean |
isDisplayOnly()
If a language is marked as display-only it is not used as a language for providing
translations for the various KonaKart entities that need translations for each language -
such as products and categories etc.
|
void |
setCode(java.lang.String code)
Examples of the code are en, es, de etc.
|
void |
setDataLanguageId(int dataLanguageId) |
void |
setDirectory(java.lang.String directory)
Examples of the directory are english, german, espanol etc.
|
void |
setDisplayOnly(boolean displayOnly) |
void |
setId(int id) |
void |
setImage(java.lang.String image)
Normally a flag of the country where the language is spoken, stored in the directory of
images specific to this language.
|
void |
setLocale(java.lang.String locale) |
void |
setName(java.lang.String name) |
void |
setSortOrder(int sortOrder) |
java.lang.String getCode()
void setCode(java.lang.String code)
code
- The code to set.java.lang.String getDirectory()
void setDirectory(java.lang.String directory)
directory
- The directory to set.java.lang.String getLocale()
void setLocale(java.lang.String locale)
locale
- the locale to setint getId()
void setId(int id)
id
- The id to set.java.lang.String getImage()
void setImage(java.lang.String image)
image
- The image to set.java.lang.String getName()
void setName(java.lang.String name)
name
- The name to set.int getSortOrder()
void setSortOrder(int sortOrder)
sortOrder
- The sortOrder to set.boolean isDisplayOnly()
void setDisplayOnly(boolean displayOnly)
displayOnly
- the displayOnly to setint getDataLanguageId()
void setDataLanguageId(int dataLanguageId)
dataLanguageId
- the dataLanguageId to setCopyright © 2018 DS Data Systems UK Ltd.