com.ecyrd.jspwiki.auth
Class UserManager.SaveUserProfileTask
java.lang.Object
com.ecyrd.jspwiki.workflow.AbstractStep
com.ecyrd.jspwiki.workflow.Task
com.ecyrd.jspwiki.auth.UserManager.SaveUserProfileTask
- All Implemented Interfaces:
- Step, Serializable
- Enclosing class:
- UserManager
public static class UserManager.SaveUserProfileTask
- extends Task
Inner class that handles the actual profile save action. Instances
of this class are assumed to have been added to an approval workflow via
WorkflowBuilder.buildApprovalWorkflow(Principal, String, Task, String, com.ecyrd.jspwiki.workflow.Fact[], Task, String)
;
they will not function correctly otherwise.
- Author:
- Andrew Jaquith
- See Also:
- Serialized Form
Method Summary |
Outcome |
execute()
Saves the user profile to the user database. |
Methods inherited from class com.ecyrd.jspwiki.workflow.AbstractStep |
addError, addSuccessor, getAvailableOutcomes, getEndTime, getErrors, getMessageArguments, getMessageKey, getOutcome, getOwner, getStartTime, getSuccessor, getWorkflow, isCompleted, isStarted, setOutcome, setWorkflow, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserManager.SaveUserProfileTask
public UserManager.SaveUserProfileTask(WikiEngine engine)
- Constructs a new Task for saving a user profile.
- Parameters:
engine
- the wiki engine
execute
public Outcome execute()
throws WikiException
- Saves the user profile to the user database.
- Specified by:
execute
in interface Step
- Specified by:
execute
in class AbstractStep
- Returns:
Outcome.STEP_COMPLETE
if the
task completed successfully
- Throws:
WikiException
- if the save did not complete for some reason