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
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(Engine engine, Locale loc)Constructs a new Task for saving a user profile. -
Method Summary
Methods inherited from class org.apache.wiki.workflow.Task
getActor, getSuccessor, setSuccessorMethods 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.- Parameters:
engine- the wiki engine
-
-
Method Details
-
execute
Saves the user profile to the user database.- Specified by:
executein interfaceStep- Specified by:
executein classAbstractStep- Returns:
Outcome.STEP_COMPLETEif the task completed successfully- Throws:
WikiException- if the save did not complete for some reason
-