com.atlassian.confluence.pages.actions
Class EditPageAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.pages.actions.AbstractPageAwareAction
com.atlassian.confluence.pages.actions.AbstractPageAction
com.atlassian.confluence.pages.actions.AbstractPreviewPageAction
com.atlassian.confluence.pages.actions.AbstractTemplatePageAction
com.atlassian.confluence.pages.actions.AbstractCreateAndEditPageAction
com.atlassian.confluence.pages.actions.AbstractEditPageAction
com.atlassian.confluence.pages.actions.EditPageAction
- All Implemented Interfaces:
- PageAware, TinyUrlAware, WebInterface, CaptchaAware, Action, LocaleProvider, TextProvider, Validateable, ValidationAware, Serializable
public class EditPageAction
- extends AbstractEditPageAction
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractCreateAndEditPageAction |
captchaManager, draftManager, editPermissionsGroups, editPermissionsUsers, newSpaceKey, parentPageId, parentPageSpaceKey, parentPageString, parentPageTitle, targetId, viewPermissionsGroups, viewPermissionsUsers |
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, permissionManager, permitted, pluginAccessor, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractEditPageAction |
getCancelResult, getConflictingVersion, getContent, getContentType, getDiff, getMinorEdit, getOldContent, getOriginalPage, getOriginalVersion, getOverwrite, getVersionComment, isConflictFound, isContentModified, isMergeRequired, isTitleModified, isVersionMismatch, isViewConflict, setConflictingVersion, setHeartbeatManager, setMinorEdit, setOldContent, setOriginalVersion, setOverwrite, setPage, setVersionComment, setVersionMismatch, setViewConflict |
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractCreateAndEditPageAction |
createEditPermissions, createViewPermissions, getCaptchaManager, getCurrentEditPermission, getCurrentViewPermission, getDraft, getEditPermissionsGroups, getEditPermissionsUsers, getLabelsShowing, getLabelsString, getLocationShowing, getNewSpaceKey, getParentPage, getParentPageId, getParentPageSpaceKey, getParentPageString, getParentPageTitle, getPermissionTypes, getPosition, getRestrictionsShowing, getTargetId, getTitle, getViewInheritedContentPermissionSets, getViewPermissionsGroups, getViewPermissionsUsers, isShowDraftMessage, isUseDraft, setCaptchaManager, setContentChanged, setDiscardDraft, setDraftManager, setEditPermissionsGroups, setEditPermissionsUsers, setLabelsShowing, setLabelsString, setLocationShowing, setNewSpaceKey, setParentPageId, setParentPageSpaceKey, setParentPageString, setParentPageTitle, setPermissions, setPosition, setRestrictionsShowing, setShowDraftMessage, setTargetId, setTitle, setUseDraft, setViewPermissionsGroups, setViewPermissionsUsers |
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPreviewPageAction |
getInPreview, getPageOrDummyPage, getWysiwygContent, getxHtmlContent, setBack, setContent, setInPreview, setPreview, setWikiStyleRenderer, setWysiwygcontent, updateXHtmlContent |
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPageAction |
displayDatePath, generateAncestryBreadcrumbs, getAvailableSpaces, getBeanKey, getBlogPost, getEditor, getEditorVersion, getHelper, getIncomingLinks, getMARKUP, getMode, getNextPost, getPermittedChildren, getPostingDate, getPostingDay, getPostingDayOfMonth, getPostingMonth, getPostingMonthNumeric, getPostingYear, getPREVIEW, getPreviousPost, getPreviousVersion, getRICHTEXT, getShowMarkup, getSpaceManager, getSuggestedLabels, getSupportWysiwyg, getTinyUrl, getUseWysiwyg, getWebInterfaceContext, getXhtml, hasAttachFilePermissions, hasPermittedChildren, hasSetPagePermissionsPermission, isSpaceAdmin, setBreadcrumbsManager, setConfluenceWysiwygConverter, setEditorManager, setLinkManager, setMode, setPageManager, setPostingDate, setXhtml |
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
addActionError, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getBootstrapManager, getDateFormatter, getDefaultResourceBundle, getEventManager, getFriendlyDateFormatter, getGlobalHelper, getGlobalSettings, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSpaceHelper, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setUserAccessor, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditPageAction
public EditPageAction()
isPermitted
public boolean isPermitted()
- Overrides:
isPermitted
in class AbstractEditPageAction
validate
public void validate()
- Specified by:
validate
in interface Validateable
- Overrides:
validate
in class AbstractCreateAndEditPageAction
doDefault
public String doDefault()
throws Exception
- Description copied from class:
ConfluenceActionSupport
- Default webwork action execution method.
- Overrides:
doDefault
in class AbstractEditPageAction
- Returns:
- the action result
- Throws:
Exception
- if something goes wrong
doSaveEditPageBean
public String doSaveEditPageBean()
- Overrides:
doSaveEditPageBean
in class AbstractEditPageAction
doEdit
public String doEdit()
throws Exception
- Overrides:
doEdit
in class AbstractEditPageAction
- Throws:
Exception
pageAlreadyExists
protected boolean pageAlreadyExists()
- if only the case of the title has changed, then skip the test for an existing page
isMoveHierarchy
public boolean isMoveHierarchy()
setMoveHierarchy
public void setMoveHierarchy(boolean moveHierarchy)
setPermissionCheckDispatcherResultCache
public void setPermissionCheckDispatcherResultCache(PermissionCheckDispatcherResultCache permissionCheckDispatcherResultCache)
setSessionFactory
public void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
setSpaceService
public void setSpaceService(SpaceService spaceService)
setPageService
public void setPageService(PageService pageService)