Package com.atlassian.confluence.admin
Class DefaultAdminTasklistManager
java.lang.Object
com.atlassian.confluence.admin.DefaultAdminTasklistManager
- All Implemented Interfaces:
AdminTasklistManager
-
Constructor Summary
ConstructorDescriptionDefaultAdminTasklistManager
(com.atlassian.bandana.BandanaManager bandanaManager, List<AdminTaskConfig> coreTasksConfigs, boolean autoCompleteTasks, SettingsManager settingsManager, com.atlassian.plugin.web.api.DynamicWebInterfaceManager webInterfaceManager) -
Method Summary
Modifier and TypeMethodDescriptionWill retrieve allAdminTask
s stored in Confluence.markTaskComplete
(String key) Marks anAdminTask
as being completed.markTaskComplete
(String key, com.atlassian.user.User user) Marks anAdminTask
as being completed.markTaskIncomplete
(String key)
-
Constructor Details
-
DefaultAdminTasklistManager
public DefaultAdminTasklistManager(com.atlassian.bandana.BandanaManager bandanaManager, List<AdminTaskConfig> coreTasksConfigs, boolean autoCompleteTasks, SettingsManager settingsManager, com.atlassian.plugin.web.api.DynamicWebInterfaceManager webInterfaceManager)
-
-
Method Details
-
getAllTasks
Description copied from interface:AdminTasklistManager
Will retrieve allAdminTask
s stored in Confluence.- Specified by:
getAllTasks
in interfaceAdminTasklistManager
- Returns:
- a list of all
AdminTask
s stored in Confluence.
-
markTaskComplete
Description copied from interface:AdminTasklistManager
Marks anAdminTask
as being completed.- Specified by:
markTaskComplete
in interfaceAdminTasklistManager
- Parameters:
key
- The unique identifier for the task you want to mark as complete- Returns:
- The completed
AdminTask
. The time at which the task was completed will be recorded.
-
markTaskComplete
Description copied from interface:AdminTasklistManager
Marks anAdminTask
as being completed.- Specified by:
markTaskComplete
in interfaceAdminTasklistManager
- Parameters:
key
- The unique identifier for the task you want to mark as completeuser
- The remote user who triggered the completion of the task.- Returns:
- The completed
AdminTask
. The user and time at which the task was completed will be recorded.
-
markTaskIncomplete
-