Package com.atlassian.confluence.admin
Interface AdminTasklistManager
-
- All Known Implementing Classes:
DefaultAdminTasklistManager
public interface AdminTasklistManager
Handles storage and retrieval ofAdminTask
s.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
getAllTasks
List<AdminTask> getAllTasks()
Will retrieve allAdminTask
s stored in Confluence.- Returns:
- a list of all
AdminTask
s stored in Confluence.
-
markTaskComplete
AdminTask markTaskComplete(String key)
Marks anAdminTask
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 anAdminTask
as being completed.- 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.
-
-