|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.upgrade.upgradetask.PersonalInformationRepairUpgradeTask
public class PersonalInformationRepairUpgradeTask
Upgrade task to ensure that for all the user names attached to content in Confluence a PersonalInformation objects exist. Any user names that don't have matching PersonalInformation will have their PersonalInformation created (which will involve accessing the user via the UserAccessor).
Field Summary |
---|
Fields inherited from interface com.atlassian.confluence.upgrade.UpgradeTask |
---|
log |
Constructor Summary | |
---|---|
PersonalInformationRepairUpgradeTask(PersonalInformationRepairTask task)
|
Method Summary | |
---|---|
void |
doNonDatabaseUpgrade()
Perform any non-database related parts of the upgrade task. |
void |
doUpgrade()
The upgrade will only be performed if non-standard user configuration (e.g. |
String |
getBuildNumber()
|
Collection |
getErrors()
Return any errors that occur. |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
void |
setDelegationAccessor(com.atlassian.user.configuration.DelegationAccessor delegationAccessor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersonalInformationRepairUpgradeTask(PersonalInformationRepairTask task)
Method Detail |
---|
public void doNonDatabaseUpgrade()
DatabaseUpgradeTask
UpgradeTask.doUpgrade()
. This allows the upgrade task to perform any local non-db cleanup
that might be involved in the upgrade.
doNonDatabaseUpgrade
in interface DatabaseUpgradeTask
public void doUpgrade() throws Exception
doUpgrade
in interface UpgradeTask
Exception
public String getBuildNumber()
getBuildNumber
in interface UpgradeTask
public Collection getErrors()
UpgradeTask
getErrors
in interface UpgradeTask
public String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
public void setDelegationAccessor(com.atlassian.user.configuration.DelegationAccessor delegationAccessor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |