public static class UserManager.SaveUserProfileTask extends Task
WorkflowBuilder.buildApprovalWorkflow(Principal, String, Task, String, com.ecyrd.jspwiki.workflow.Fact[], Task, String)
;
they will not function correctly otherwise.Constructor and Description |
---|
SaveUserProfileTask(WikiEngine engine)
Constructs a new Task for saving a user profile.
|
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
public SaveUserProfileTask(WikiEngine engine)
engine
- the wiki enginepublic 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 reasonstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.