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
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, startMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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:
executein interfaceStep- Specified by:
executein classAbstractStep- Parameters:
context- executing wiki context.- Returns:
Outcome.STEP_COMPLETEif the task completed successfully- Throws:
WikiException- if the save did not complete for some reason
-