|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.upgrade.tasks.UpgradeTask426
public class UpgradeTask426
This upgrade task will populate displayName
and lastName
fields using firstName
, lastName
and name
fields
for users with empty display name or empty last name in internal
directories.
Constructor Summary | |
---|---|
UpgradeTask426()
|
Method Summary | |
---|---|
void |
doUpgrade()
Perform the upgrade. |
String |
getBuildNumber()
|
Collection<String> |
getErrors()
Any errors that occur during the upgrade process will be added to this Collection as Strings. |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
void |
setDirectoryDao(DirectoryDao directoryDao)
|
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
|
void |
setUserDao(UserDAOHibernate userDao)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpgradeTask426()
Method Detail |
---|
public String getBuildNumber()
getBuildNumber
in interface UpgradeTask
public String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
public void doUpgrade() throws Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
Exception
- is thrown if any errors occur during the upgrade process.public Collection<String> getErrors()
UpgradeTask
getErrors
in interface UpgradeTask
public void setDirectoryDao(DirectoryDao directoryDao)
public void setUserDao(UserDAOHibernate userDao)
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |