Interface UserAware
-
- All Known Implementing Classes:
AbstractUserProfileAction
,AbstractUserProfileAction
,ChangeMyPasswordAction
,EditEmailSettingsAction
,EditMyProfileAction
,EditMySettingsAction
,EditNotificationsAction
,EditorSettingsAction
,NetworkFeedAction
,UserDarkFeaturesAction
,UserPopupAction
,ViewFollowAction
,ViewFollowersAction
,ViewFollowingAction
,ViewMyDraftsAction
,ViewMyEmailSettingsAction
,ViewMyFavouritesAction
,ViewMyLabelsAction
,ViewMyProfileAction
,ViewMySettingsAction
,ViewUserActivityAction
,ViewUserProfileAction
public interface UserAware
Indicates that the action has a user set against it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.atlassian.user.User
getUser()
boolean
isUserRequired()
If the action requires that the user be set before being run, then it should return true to this method.boolean
isViewPermissionRequired()
-
-
-
Method Detail
-
getUser
com.atlassian.user.User getUser()
- Returns:
- user - the user that the action worked on
-
isUserRequired
boolean isUserRequired()
If the action requires that the user be set before being run, then it should return true to this method. If the action requires a user, but no user is available, then the interceptor will automatically redirect to the 'notfound' result- Returns:
- true if the action requires a page in order to execute
-
isViewPermissionRequired
boolean isViewPermissionRequired()
- Returns:
- true if the action requires a check on com.atlassian.confluence.user.actions.UserAwareInterceptor.VIEW_USER_PROFILE_PERMISSION
-
-