com.atlassian.confluence.admin
Interface AdminTasklistManager

All Known Implementing Classes:
DefaultAdminTasklistManager

public interface AdminTasklistManager

Handles storage and retrieval of AdminTasks.

Since:
4.0

Method Summary
 List<AdminTask> getAllTasks()
          Will retrieve all AdminTasks stored in Confluence.
 AdminTask markTaskComplete(String key)
          Marks an AdminTask as being completed.
 AdminTask markTaskComplete(String key, com.atlassian.user.User user)
          Marks an AdminTask as being completed.
 

Method Detail

getAllTasks

List<AdminTask> getAllTasks()
Will retrieve all AdminTasks stored in Confluence.

Returns:
a list of all AdminTasks stored in Confluence.

markTaskComplete

AdminTask markTaskComplete(String key)
Marks an AdminTask as being completed.

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

AdminTask markTaskComplete(String key,
                           com.atlassian.user.User user)
Marks an AdminTask as being completed.

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.


Copyright © 2003-2011 Atlassian. All Rights Reserved.