com.atlassian.jira.upgrade.tasks
Class UpgradeTask_Build325

java.lang.Object
  extended by com.atlassian.jira.upgrade.AbstractUpgradeTask
      extended by com.atlassian.jira.upgrade.tasks.UpgradeTask_Build325
All Implemented Interfaces:
UpgradeTask

public class UpgradeTask_Build325
extends AbstractUpgradeTask

This will do the following upgrade tasks - Update users "owned" portal pages to be favourites by default - Change the name of any called "dashboard" to an I18N version name - Change the system default dashboard page to have a new "System Dashboard" name

Since:
v3.13

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.upgrade.UpgradeTask
UpgradeTask.Status
 
Constructor Summary
UpgradeTask_Build325(org.ofbiz.core.entity.GenericDelegator delegator, FavouritesStore favouritesStore, PortalPageManager portalPageManager, I18nHelper.BeanFactory i18n)
           
 
Method Summary
 void doUpgrade(boolean setupMode)
          This upgrade task need to do 2 things.
 String getBuildNumber()
           
 String getShortDescription()
          A short (<50 chars) description of the upgrade action
 
Methods inherited from class com.atlassian.jira.upgrade.AbstractUpgradeTask
addError, addErrors, addErrors, convertToSchemaTableName, getApplicationProperties, getDatabaseConnection, getDelegator, getErrors, getI18nBean, getOfBizDelegator, isReindexRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeTask_Build325

public UpgradeTask_Build325(org.ofbiz.core.entity.GenericDelegator delegator,
                            FavouritesStore favouritesStore,
                            PortalPageManager portalPageManager,
                            I18nHelper.BeanFactory i18n)
Method Detail

getBuildNumber

public String getBuildNumber()
Specified by:
getBuildNumber in interface UpgradeTask
Specified by:
getBuildNumber in class AbstractUpgradeTask
Returns:
The build number that this upgrade is applicable to

getShortDescription

public String getShortDescription()
Description copied from interface: UpgradeTask
A short (<50 chars) description of the upgrade action

Specified by:
getShortDescription in interface UpgradeTask
Overrides:
getShortDescription in class AbstractUpgradeTask

doUpgrade

public void doUpgrade(boolean setupMode)
This upgrade task need to do 2 things. It needs to migrate existing user's dashboard pages to become favourites and it needs to change the name of the default system page to be "System Default Dashboard".

Specified by:
doUpgrade in interface UpgradeTask
Specified by:
doUpgrade in class AbstractUpgradeTask
Parameters:
setupMode -


Copyright © 2002-2012 Atlassian. All Rights Reserved.