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:
java.io.Serializable
,Step
public class SaveUserProfileTask extends Task
Handles the actual profile save action.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.apache.wiki.workflow.Step
TIME_NOT_SET
-
-
Constructor Summary
Constructors Constructor Description SaveUserProfileTask(java.util.Locale loc)
Constructs a new Task for saving a user profile.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Outcome
execute(Context context)
Saves the user profile to the user database.-
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 Detail
-
SaveUserProfileTask
public SaveUserProfileTask(java.util.Locale loc)
Constructs a new Task for saving a user profile.
-
-
Method Detail
-
execute
public Outcome execute(Context context) throws WikiException
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
-
-