com.atlassian.confluence.user.actions
Class ResizeProfilePictureAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.user.actions.AbstractUserProfileAction
com.atlassian.confluence.user.actions.ResizeProfilePictureAction
- All Implemented Interfaces:
- WebInterface, UserAware, BreadcrumbAware, Action, LocaleProvider, TextProvider, Validateable, ValidationAware, Serializable
public class ResizeProfilePictureAction
- extends AbstractUserProfileAction
Action to resize a just-uploaded profile picture.
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.confluence.user.actions.AbstractUserProfileAction |
attachmentManager, favouriteManager, followManager, HOMEPAGE_DASHBOARD, HOMEPAGE_PROFILE, HOMEPAGE_SITEHOME, HTML_FRIENDLY_NAME, HTML_MIME_TYPE, notificationManager, personalInformationManager, spaceManager, statusTextRenderer, TEXT_FRIENDLY_NAME, TEXT_MIME_TYPE, userDetailsManager, userStatusManager, wikiStyleRenderer |
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
CANCEL, DEVMODE, eventManager, hideOldToolbar, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Methods inherited from class com.atlassian.confluence.user.actions.AbstractUserProfileAction |
getAttachments, getBreadcrumb, getContext, getCurrentStatus, getEmail, getFullName, getHasStatusUpdates, getPageTitle, getPersonalInformation, getPersonalInformationEntity, getPersonalSpaceKey, getRenderedAboutMe, getStatusTextRenderer, getUser, getUsername, getUserPreferences, getUserProfilePicture, getUserProperty, getWebInterfaceContext, hasPersonalSpace, isFavourite, isFollowing, isHasAboutMe, isMyProfile, isUserRequired, isViewingMyProfile, isViewPermissionRequired, setAttachmentManager, setFavouriteManager, setFollowManager, setNotificationManager, setPersonalInformation, setPersonalInformationManager, setSpaceManager, setStatusTextRenderer, setUserDetailsManager, setUserStatusManager, setWikiStyleRenderer |
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
addActionError, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isHideOldToolbar, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setHideOldToolbar, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setUserAccessor, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResizeProfilePictureAction
public ResizeProfilePictureAction()
doDefault
public String doDefault()
throws Exception
- Description copied from class:
ConfluenceActionSupport
- Default webwork action execution method.
- Overrides:
doDefault
in class ConfluenceActionSupport
- Returns:
- the action result
- Throws:
Exception
- if something goes wrong
execute
public String execute()
throws Exception
- Specified by:
execute
in interface Action
- Overrides:
execute
in class ActionSupport
- Throws:
Exception
isTemporaryPictureNotFound
public boolean isTemporaryPictureNotFound()
getImageDownloadPath
public String getImageDownloadPath()
getImageWidth
public int getImageWidth()
getImageHeight
public int getImageHeight()
getOffsetX
public int getOffsetX()
setOffsetX
public void setOffsetX(int offsetX)
getOffsetY
public int getOffsetY()
setOffsetY
public void setOffsetY(int offsetY)
getWidth
public int getWidth()
setWidth
public void setWidth(int width)
setGateKeeper
public void setGateKeeper(GateKeeper gateKeeper)
setUserProfileService
public void setUserProfileService(UserProfileService userProfileService)
isPermitted
public boolean isPermitted()
- Overrides:
isPermitted
in class ConfluenceActionSupport