public static class UserManager.SaveUserProfileTask extends Task
WorkflowBuilder.buildApprovalWorkflow(Principal, String, Task, String, org.apache.wiki.workflow.Fact[], Task, String)
;
they will not function correctly otherwise.Constructor and Description |
---|
SaveUserProfileTask(WikiEngine engine)
Deprecated.
will be removed in 2.10 scope. Consider using
UserManager.SaveUserProfileTask(WikiEngine, Locale) instead |
SaveUserProfileTask(WikiEngine engine,
Locale loc) |
Modifier and Type | Method and Description |
---|---|
Outcome |
execute()
Saves the user profile to the user database.
|
getActor, getSuccessor, setSuccessor
addError, addSuccessor, getAvailableOutcomes, getEndTime, getErrors, getMessageArguments, getMessageKey, getOutcome, getOwner, getStartTime, getSuccessor, getWorkflow, isCompleted, isStarted, setOutcome, setWorkflow, start
@Deprecated public SaveUserProfileTask(WikiEngine engine)
UserManager.SaveUserProfileTask(WikiEngine, Locale)
insteadengine
- the wiki enginepublic SaveUserProfileTask(WikiEngine engine, Locale loc)
public Outcome execute() throws WikiException
execute
in interface Step
execute
in class AbstractStep
Outcome.STEP_COMPLETE
if the
task completed successfullyWikiException
- if the save did not complete for some reasonCopyright © 2001-2018 The Apache Software Foundation. All rights reserved.