Package com.atlassian.confluence.admin
Class DefaultAdminTasklistManager
- java.lang.Object
-
- com.atlassian.confluence.admin.DefaultAdminTasklistManager
-
- All Implemented Interfaces:
AdminTasklistManager
public class DefaultAdminTasklistManager extends Object implements AdminTasklistManager
-
-
Constructor Summary
Constructors Constructor Description DefaultAdminTasklistManager(com.atlassian.bandana.BandanaManager bandanaManager, List<AdminTaskConfig> coreTasksConfigs, boolean autoCompleteTasks, SettingsManager settingsManager, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AdminTask>
getAllTasks()
Will retrieve allAdminTask
s stored in Confluence.AdminTask
markTaskComplete(String key)
Marks anAdminTask
as being completed.AdminTask
markTaskComplete(String key, com.atlassian.user.User user)
Marks anAdminTask
as being completed.AdminTask
markTaskIncomplete(String key)
-
-
-
Constructor Detail
-
DefaultAdminTasklistManager
public DefaultAdminTasklistManager(com.atlassian.bandana.BandanaManager bandanaManager, List<AdminTaskConfig> coreTasksConfigs, boolean autoCompleteTasks, SettingsManager settingsManager, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
-
-
Method Detail
-
getAllTasks
public List<AdminTask> 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
public AdminTask markTaskComplete(String key)
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
public AdminTask markTaskComplete(String key, com.atlassian.user.User user)
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.
-
-