Interface IUserProfileTask
- All Known Subinterfaces:
IUserEmailTask
,IUserIdentityTask
public interface IUserProfileTask
Common interface for tasks that perform some action on a user profile and return a redirect action that the
initiating user should be redirected to.
- Since:
- 8.0.1
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescription@NotNull IRedirectAction
execute()
Performs the task and returns aredirect action
if successful.
-
Method Details
-
getUserProfile
UserProfile getUserProfile()- Returns:
- the user profile the task is to be performed on.
-
execute
Performs the task and returns aredirect action
if successful.- Returns:
- a redirect action if successful. The initiating user should be redirected according to the action.
- Throws:
RedirectException
- if task could not be performed successfully. The initiating user should be redirected according to the exception.
-