com.atlassian.confluence.admin
Class DefaultAdminTasklistManager
java.lang.Object
com.atlassian.confluence.admin.DefaultAdminTasklistManager
- All Implemented Interfaces:
- AdminTasklistManager
public class DefaultAdminTasklistManager
- extends java.lang.Object
- implements AdminTasklistManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAdminTasklistManager
public DefaultAdminTasklistManager(com.atlassian.bandana.BandanaManager bandanaManager,
java.util.List<AdminTaskConfig> coreTasksConfigs,
boolean autoCompleteTasks,
SettingsManager settingsManager,
com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
getAllTasks
public java.util.List<AdminTask> getAllTasks()
- Description copied from interface:
AdminTasklistManager
- Will retrieve all
AdminTask
s stored in Confluence.
- Specified by:
getAllTasks
in interface AdminTasklistManager
- Returns:
- a list of all
AdminTask
s 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 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
public AdminTask markTaskIncomplete(java.lang.String key)
Copyright © 2003-2014 Atlassian. All Rights Reserved.