Package org.apache.wiki.tasks.auth
Class SaveUserProfileTask
java.lang.Object
org.apache.wiki.workflow.AbstractStep
org.apache.wiki.workflow.Task
org.apache.wiki.tasks.auth.SaveUserProfileTask
- All Implemented Interfaces:
Serializable
,Step
Handles the actual profile save action.
- See Also:
-
Field Summary
Fields inherited from interface org.apache.wiki.workflow.Step
TIME_NOT_SET
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new Task for saving a user profile. -
Method Summary
Methods inherited from class org.apache.wiki.workflow.Task
getActor, getSuccessor, setSuccessor
Methods inherited from class org.apache.wiki.workflow.AbstractStep
addError, addSuccessor, getAvailableOutcomes, getEndTime, getErrors, getMessageKey, getOutcome, getStartTime, getSuccessor, getWorkflowContext, getWorkflowId, isCompleted, isStarted, setOutcome, setWorkflow, start
-
Constructor Details
-
SaveUserProfileTask
Constructs a new Task for saving a user profile.
-
-
Method Details
-
execute
Saves the user profile to the user database.- Specified by:
execute
in interfaceStep
- Specified by:
execute
in classAbstractStep
- Parameters:
context
- executing wiki context.- Returns:
Outcome.STEP_COMPLETE
if the task completed successfully- Throws:
WikiException
- if the save did not complete for some reason
-