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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull IRedirectAction
execute()
Performs the task and returns aredirect action
if successful.UserProfile
getUserProfile()
-
-
-
Method Detail
-
getUserProfile
UserProfile getUserProfile()
- Returns:
- the user profile the task is to be performed on.
-
execute
@NotNull @NotNull IRedirectAction execute() throws RedirectException
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.
-
-