|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AdminLanguageMgrIf
AdminLanguageMgrIf
| Method Summary | |
|---|---|
int |
deleteLanguage(int langId)
Delete a Language |
boolean |
doesLanguageExistForId(int langId)
Checks to see whether a language already exists with this id |
AdminLanguage[] |
getAllLanguages()
Returns an array of language objects for all languages that have been defined in the system. |
AdminLanguage |
getDefaultLanguage()
Returns the default language |
java.lang.String |
getDefaultLanguageCode()
|
int |
getDefaultLanguageId()
Returns the default language id |
java.lang.String |
getDefaultLocale()
|
AdminLanguage |
getLanguageByCode(java.lang.String code)
Retrieves the language object referenced by the code (i.e. |
AdminLanguage |
getLanguageById(int languageId)
Returns the language referenced by the language id |
AdminLanguage |
getLanguageForLocale(java.lang.String locale)
Retrieves the language for the locale |
int |
getLanguageIdForLocale(java.lang.String locale)
Retrieves the language Id for the locale |
AdminLanguageSearchResult |
getLanguages(AdminLanguageSearch search)
This returns an AdminLanguageSearchResult object. |
int |
getNumLanguages()
Returns the total number of languages defined for the store - it does not include the display-only languages |
int |
insertLanguage(AdminLanguage lang)
Insert a Language |
void |
refreshConfigs()
Retrieve some commonly-used properties and set the velocity log file location |
void |
setDefaultLanguage(java.lang.String langCode)
Sets the default language. |
int |
updateLanguage(AdminLanguage lang)
Update a Language |
| Method Detail |
|---|
AdminLanguage[] getAllLanguages()
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException,
KKAdminException
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
KKAdminException
AdminLanguageSearchResult getLanguages(AdminLanguageSearch search)
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException,
KKAdminException
search -
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
KKAdminException
int getDefaultLanguageId()
throws java.lang.Exception
java.lang.Exception
AdminLanguage getDefaultLanguage()
throws java.lang.Exception
java.lang.Exception
int getNumLanguages()
throws java.lang.Exception
java.lang.Exception
AdminLanguage getLanguageById(int languageId)
throws java.lang.Exception
languageId -
java.lang.Exception
AdminLanguage getLanguageByCode(java.lang.String code)
throws java.lang.Exception
code -
java.lang.Exception
int getLanguageIdForLocale(java.lang.String locale)
throws java.lang.Exception
locale - a 2 or 4 character locale (eg. en, de, es)
java.lang.Exception
AdminLanguage getLanguageForLocale(java.lang.String locale)
throws java.lang.Exception
locale - a 2 or 4 character locale (eg. en, de, es)
java.lang.Exception
void setDefaultLanguage(java.lang.String langCode)
throws java.lang.Exception
langCode -
java.lang.Exception
java.lang.String getDefaultLocale()
throws KKAdminException
KKAdminException
java.lang.String getDefaultLanguageCode()
throws KKAdminException
KKAdminException
int deleteLanguage(int langId)
throws KKAdminException
langId - A language id
KKAdminException
int insertLanguage(AdminLanguage lang)
throws KKAdminException
lang - A language object
KKAdminException
int updateLanguage(AdminLanguage lang)
throws java.lang.Exception
lang - A language object
java.lang.Exception
boolean doesLanguageExistForId(int langId)
throws org.apache.torque.TorqueException,
KKAdminException
langId -
org.apache.torque.TorqueException
KKAdminException
void refreshConfigs()
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||