|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.upgrade.upgradetask.UserStatusPermissionUpgradeTask
public class UserStatusPermissionUpgradeTask
This upgrade task gives all users with the 'Use Confluence' permission the 'Update Status' permission
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.confluence.upgrade.UpgradeTask |
|---|
log |
| Constructor Summary | |
|---|---|
UserStatusPermissionUpgradeTask(SpacePermissionManager spacePermissionManager)
|
|
| Method Summary | |
|---|---|
void |
doNonDatabaseUpgrade()
Perform any non-database related parts of the upgrade task. |
void |
doUpgrade()
Perform the upgrade. |
String |
getBuildNumber()
|
Collection<UpgradeError> |
getErrors()
Return any errors that occur. |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserStatusPermissionUpgradeTask(SpacePermissionManager spacePermissionManager)
| Method Detail |
|---|
public String getBuildNumber()
getBuildNumber in interface UpgradeTaskpublic String getShortDescription()
UpgradeTask
getShortDescription in interface UpgradeTask
public void doUpgrade()
throws Exception
UpgradeTask
doUpgrade in interface UpgradeTaskExceptionpublic void doNonDatabaseUpgrade()
DatabaseUpgradeTaskUpgradeTask.doUpgrade(). This allows the upgrade task to perform any local non-db cleanup
that might be involved in the upgrade.
doNonDatabaseUpgrade in interface DatabaseUpgradeTaskpublic Collection<UpgradeError> getErrors()
UpgradeTask
getErrors in interface UpgradeTask
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||