com.atlassian.confluence.user.actions
Interface UserAware
- All Known Implementing Classes:
- AbstractUserProfileAction, AbstractViewUserProfileAction, ChangeMyPasswordAction, ClearUserStatusAction, EditEmailSettingsAction, EditMyProfileAction, EditMyProfileAction, EditMyProfilePictureAction, EditMySettingsAction, EditNotificationsAction, EditorSettingsAction, NetworkFeedAction, ResizeProfilePictureAction, RevokeOAuthTokensAction, StatusListAction, UploadProfilePictureAction, UserDarkFeaturesAction, UserPopupAction, ViewFollowAction, ViewFollowersAction, ViewFollowingAction, ViewMyDraftsAction, ViewMyEmailSettingsAction, ViewMyFavouritesAction, ViewMyLabelsAction, ViewMyProfileAction, ViewMyProfileAction, ViewMySettingsAction, ViewUserActivityAction, ViewUserProfileAction, ViewUserProfileAction, ViewUserStatusAction
public interface UserAware
Indicates that the action has a user set against it.
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
Copyright © 2003-2013 Atlassian. All Rights Reserved.