Package org.apache.wiki.tasks
Interface TasksManager
- All Known Implementing Classes:
DefaultTasksManager
public interface TasksManager
Manager responsible of creation of the different JSPWiki
Step
s.
Instances of classes generated by this TasksManager are assumed to have been added to an approval workflow via
WorkflowBuilder.buildApprovalWorkflow(Principal, String, Step, String, org.apache.wiki.workflow.Fact[], Step, String)
;
they will not function correctly otherwise.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuildPreSaveWikiPageTask
(String proposedText) Builds a pre-save WikiPage task.Builds a save user profile task.Builds a save WikiPage task.
-
Field Details
-
WIKIPAGE_PRESAVE_TASK_MESSAGE_KEY
The message key for storing the text for the presave task. Value is "task.preSaveWikiPage".- See Also:
-
WIKIPAGE_SAVE_TASK_MESSAGE_KEY
The message key of the text to finally approve a page save. Value is "task.saveWikiPage".- See Also:
-
USER_PROFILE_SAVE_TASK_MESSAGE_KEY
The message key of the text to finally approve a user profile save. Value is "task.createUserProfile".- See Also:
-
-
Method Details
-
buildPreSaveWikiPageTask
Builds a pre-save WikiPage task.- Parameters:
proposedText
- text proposed to be saved on the wiki page.- Returns:
- a pre-save WikiPage task.
-
buildSaveWikiPageTask
Builds a save WikiPage task.- Returns:
- a save WikiPage task.
-
buildSaveUserProfileTask
Builds a save user profile task.- Parameters:
loc
- text proposed to be saved on the wiki page.- Returns:
- a save user profile task.
-