public class RemovePageAction extends AbstractPageAwareAction implements ContentDetailAction
contentPermissionManager, spaceManager
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 |
---|
RemovePageAction() |
Modifier and Type | Method and Description |
---|---|
String |
doRemove() |
String |
execute() |
int |
getChildrenCountWithInheritedPermissions() |
List<OutgoingLink> |
getIncomingLinks() |
ConfluenceIndexer |
getIndexer() |
int |
getPageChildrenCount() |
String |
getRedirectUrl() |
String |
getSpaceKey() |
boolean |
isLatestVersionRequired()
If the action can only work on the most recent version of a page, this will cause the
interceptor to silently replace the version that it looks up with the most recent
version, if necessary.
|
boolean |
isPermitted() |
boolean |
isViewPermissionRequired() |
void |
setIndexer(ConfluenceIndexer indexer) |
void |
setLinkManager(LinkManager linkManager) |
void |
setPageManager(PageManager pageManager) |
void |
setThemeManager(ThemeManager themeManager) |
getFriendlyDateFormatterHelper, getPage, getPageId, getSpace, getTitle, isCollaborativeContent, isPageRequired, setContentPermissionManager, setPage, setSpaceManager
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, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, 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
isEditPermissionRequired
validate
public void setIndexer(ConfluenceIndexer indexer)
public void setLinkManager(LinkManager linkManager)
public void setPageManager(PageManager pageManager)
public void setThemeManager(ThemeManager themeManager)
public String execute()
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
public String doRemove()
public String getSpaceKey()
getSpaceKey
in class AbstractPageAwareAction
public boolean isPermitted()
isPermitted
in class AbstractPageAwareAction
public List<OutgoingLink> getIncomingLinks()
public String getRedirectUrl()
public boolean isLatestVersionRequired()
PageAware
isLatestVersionRequired
in interface PageAware
isLatestVersionRequired
in class AbstractPageAwareAction
public boolean isViewPermissionRequired()
isViewPermissionRequired
in interface PageAware
isViewPermissionRequired
in class AbstractPageAwareAction
public ConfluenceIndexer getIndexer()
public int getPageChildrenCount()
public int getChildrenCountWithInheritedPermissions()
Copyright © 2003–2020 Atlassian. All rights reserved.