|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.forum.upgrade.tasks.UpdateRootCategoryLocale
public class UpdateRootCategoryLocale
Nullifies the LOCALECODE column for the root category in the jiveCategory table. In the jive_startup_data.sql (.inc) it was improperly set to "en_US". The result is that some pages do not pick up the system default local when it is anything other than english.
Since this is a one line query, using a PreparedStatement was preferred rather than extending AbstractDatabaseUpgradeTask and creating database specific scripts.
| Constructor Summary | |
|---|---|
UpdateRootCategoryLocale()
|
|
| Method Summary | |
|---|---|
void |
doTask()
Executes the upgrade task |
java.lang.String |
getDescription()
Upgrade task description |
java.lang.String |
getEstimatedRunTime()
Upgrade task estimated run time |
java.lang.String |
getInstructionsFile()
Returns the name of the manual instructions file that will be displayed if the task fails. |
java.lang.String |
getName()
Upgrade task name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateRootCategoryLocale()
| Method Detail |
|---|
public java.lang.String getName()
UpgradeTask
getName in interface UpgradeTaskpublic java.lang.String getDescription()
UpgradeTask
getDescription in interface UpgradeTaskpublic java.lang.String getEstimatedRunTime()
UpgradeTask
getEstimatedRunTime in interface UpgradeTaskpublic java.lang.String getInstructionsFile()
UpgradeTask
getInstructionsFile in interface UpgradeTask
public void doTask()
throws java.sql.SQLException
UpgradeTask
doTask in interface UpgradeTaskjava.sql.SQLException
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||