public interface TasksManager
Step
s.
Instances of classes generated by this TasksManager are assumed to have been added to an approval workflow via
org.apache.wiki.workflow.WorkflowBuilder#buildApprovalWorkflow(Principal, String, Task, String, org.apache.wiki.workflow.Fact[], Task, String)
;
they will not function correctly otherwise.Modifier and Type | Field and Description |
---|---|
static String |
USER_PROFILE_SAVE_TASK_MESSAGE_KEY
The message key of the text to finally approve a user profile save.
|
static String |
WIKIPAGE_PRESAVE_TASK_MESSAGE_KEY
The message key for storing the text for the presave task.
|
static String |
WIKIPAGE_SAVE_TASK_MESSAGE_KEY
The message key of the text to finally approve a page save.
|
Modifier and Type | Method and Description |
---|---|
Step |
buildPreSaveWikiPageTask(WikiContext context,
String proposedText)
Builds a pre-save WikiPage task.
|
Step |
buildSaveUserProfileTask(WikiEngine engine,
Locale loc)
Builds a save user profile task.
|
Step |
buildSaveWikiPageTask()
Builds a save WikiPage task.
|
static final String WIKIPAGE_PRESAVE_TASK_MESSAGE_KEY
static final String WIKIPAGE_SAVE_TASK_MESSAGE_KEY
static final String USER_PROFILE_SAVE_TASK_MESSAGE_KEY
Step buildPreSaveWikiPageTask(WikiContext context, String proposedText)
context
- associated wiki context.proposedText
- text proposed to be saved on the wiki page.Step buildSaveWikiPageTask()
Step buildSaveUserProfileTask(WikiEngine engine, Locale loc)
engine
- associated wiki context.loc
- text proposed to be saved on the wiki page.Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.