public interface TasksManager
Steps.
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.| 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(Context context,
String proposedText)
Builds a pre-save WikiPage task.
|
Step |
buildSaveUserProfileTask(Engine engine,
Locale loc)
Builds a save user profile task.
|
Step |
buildSaveWikiPageTask(Context context)
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(Context context, String proposedText)
context - associated wiki context.proposedText - text proposed to be saved on the wiki page.Step buildSaveWikiPageTask(Context context)
context - associated wiki context.Step buildSaveUserProfileTask(Engine engine, Locale loc)
engine - associated wiki context.loc - text proposed to be saved on the wiki page.Copyright © 2001-2020 The Apache Software Foundation. All rights reserved.