public class ViewMyDraftsAction extends AbstractUserProfileAction implements Beanable
Modifier and Type | Field and Description |
---|---|
static Integer |
MAX_RESULTS
Deprecated.
since 5.7. No replacement
|
static String |
REDIRECT
Deprecated.
since 5.7. No replacement
|
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
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
ViewMyDraftsAction() |
currentUserHasLicensedAccess, 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
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermitted, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
@Deprecated public static final String REDIRECT
@Deprecated public static final Integer MAX_RESULTS
public List<ContentEntityObject> getContentDrafts()
ContentEntityObject
with status
ContentEntityObject.DRAFT
which belong to the current userpublic Map<Space,List<ContentEntityObject>> getResumableDraftsBySpace()
public Map<Space,List<ContentEntityObject>> getNonResumableDraftsBySpace()
@Deprecated public Map<String,List<ContentEntityObject>> getDraftsBySpace()
getResumableDraftsBySpace()
or getNonResumableDraftsBySpace()
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public boolean isLegacyDraft(ContentEntityObject contentEntityObject)
@Deprecated public List<Draft> getDrafts()
getContentDrafts()
Draft
which belong to the current user@Deprecated public Integer getMaxResults()
public DraftService getDraftService()
public void setDraftService(DraftService draftService)
@Deprecated public DraftManager getDraftManager()
@Deprecated public void setDraftManager(DraftManager draftManager)
public String getDraftId()
public void setDraftId(String draftId)
public SpaceManager getSpaceManager()
@Internal public String getEditingUser()
public ContentDraftManagerInternal getContentEntityManager()
public void setContentEntityManager(ContentDraftManagerInternal contentEntityManager)
public CollaborativeEditingHelper getCollaborativeEditingHelper()
public void setCollaborativeEditingHelper(CollaborativeEditingHelper collaborativeEditingHelper)
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
Copyright © 2003–2017 Atlassian. All rights reserved.