|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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. |
java.lang.String |
getBuildNumber()
|
java.util.Collection<UpgradeError> |
getErrors()
Return any errors that occur. |
java.lang.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 java.lang.String getBuildNumber()
getBuildNumber
in interface UpgradeTask
public java.lang.String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
public void doUpgrade() throws java.lang.Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
java.lang.Exception
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 java.util.Collection<UpgradeError> getErrors()
UpgradeTask
getErrors
in interface UpgradeTask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |