public class RestoreTrashItemAction extends AbstractSpaceAction implements SpaceAdministrative
Modifier and Type | Field and Description |
---|---|
protected ContentEntityManager |
contentEntityManager |
protected long |
contentId |
protected long |
existingContentId |
protected PageManager |
pageManager |
protected SpaceContentEntityObject |
spaceContentEntityObject |
key, notificationManager, space, spaceManager, themeManager, wikiStyleRenderer
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
RestoreTrashItemAction() |
Modifier and Type | Method and Description |
---|---|
String |
doRestore() |
String |
execute() |
ContentEntityObject |
getContentEntityObject() |
long |
getContentId() |
long |
getExistingContentId() |
SpaceContentEntityObject |
getSpaceContentEntityObject() |
String |
getType() |
boolean |
isPermitted() |
void |
setAttachmentManager(AttachmentManager attachmentManager) |
void |
setContentEntityManager(ContentEntityManager contentEntityManager) |
void |
setContentId(long contentId) |
void |
setExistingContentId(long existingContentId) |
void |
setIndexer(ConfluenceIndexer indexer) |
void |
setPageManager(PageManager pageManager) |
void |
setSpaceContentEntityObject(SpaceContentEntityObject spaceContentEntityObject) |
getKey, getPermissionTypes, getSpace, getSpaceKey, getSubscribableName, getThemeManager, hasSpaceIA, isPersonalSpace, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setThemeManager, setWikiStyleRenderer
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageJs, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, withServletRequestSupplier
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
protected ContentEntityManager contentEntityManager
protected SpaceContentEntityObject spaceContentEntityObject
protected PageManager pageManager
protected long contentId
protected long existingContentId
public boolean isPermitted()
isPermitted
in class AbstractSpaceAction
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public String doRestore()
public ContentEntityObject getContentEntityObject()
public SpaceContentEntityObject getSpaceContentEntityObject()
public void setSpaceContentEntityObject(SpaceContentEntityObject spaceContentEntityObject)
public void setContentEntityManager(ContentEntityManager contentEntityManager)
public void setPageManager(PageManager pageManager)
public long getContentId()
public void setContentId(long contentId)
public String getType()
public long getExistingContentId()
public void setExistingContentId(long existingContentId)
public void setIndexer(ConfluenceIndexer indexer)
public void setAttachmentManager(AttachmentManager attachmentManager)
Copyright © 2003–2020 Atlassian. All rights reserved.