com.atlassian.confluence.admin
Class DefaultAdminTasklistManager

java.lang.Object
  extended by com.atlassian.confluence.admin.DefaultAdminTasklistManager
All Implemented Interfaces:
AdminTasklistManager

public class DefaultAdminTasklistManager
extends java.lang.Object
implements AdminTasklistManager


Constructor Summary
DefaultAdminTasklistManager(com.atlassian.bandana.BandanaManager bandanaManager, java.util.List<AdminTaskConfig> coreTasksConfigs, boolean autoCompleteTasks, SettingsManager settingsManager, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
           
 
Method Summary
 java.util.List<AdminTask> getAllTasks()
          Will retrieve all AdminTasks stored in Confluence.
 AdminTask markTaskComplete(java.lang.String key)
          Marks an AdminTask as being completed.
 AdminTask markTaskComplete(java.lang.String key, com.atlassian.user.User user)
          Marks an AdminTask as being completed.
 AdminTask markTaskIncomplete(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAdminTasklistManager

public DefaultAdminTasklistManager(com.atlassian.bandana.BandanaManager bandanaManager,
                                   java.util.List<AdminTaskConfig> coreTasksConfigs,
                                   boolean autoCompleteTasks,
                                   SettingsManager settingsManager,
                                   com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
Method Detail

getAllTasks

public java.util.List<AdminTask> getAllTasks()
Description copied from interface: AdminTasklistManager
Will retrieve all AdminTasks stored in Confluence.

Specified by:
getAllTasks in interface AdminTasklistManager
Returns:
a list of all AdminTasks stored in Confluence.

markTaskComplete

public AdminTask markTaskComplete(java.lang.String key)
Description copied from interface: AdminTasklistManager
Marks an AdminTask as being completed.

Specified by:
markTaskComplete in interface AdminTasklistManager
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(java.lang.String key,
                                  com.atlassian.user.User user)
Description copied from interface: AdminTasklistManager
Marks an AdminTask as being completed.

Specified by:
markTaskComplete in interface AdminTasklistManager
Parameters:
key - The unique identifier for the task you want to mark as complete
user - 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

public AdminTask markTaskIncomplete(java.lang.String key)


Copyright © 2003-2014 Atlassian. All Rights Reserved.