|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.confluence.core.ConfluenceActionSupport 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
public class EditPageAction
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractCreateAndEditPageAction |
---|
captchaResponse, draftManager, editPermissionsGroups, editPermissionsUsers, newSpaceKey, parentPageId, parentPageSpaceKey, parentPageString, parentPageTitle, targetId, viewPermissionsGroups, viewPermissionsUsers |
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractTemplatePageAction |
---|
pageTemplateManager, templateId |
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractPreviewPageAction |
---|
back, content, inPreview, preview, wikiStyleRenderer, wysiwygContent |
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractPageAction |
---|
captchaManager, contentPermissionManager, expertView, incomingLinks, isXHtml, linkManager, MARKUP, pageManager, PREVIEW, RICHTEXT, spaceManager, wysiwygConverter |
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, permissionManager, permitted, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
EditPageAction()
|
Method Summary | |
---|---|
java.lang.String |
doDefault()
Default webwork action execution method. |
java.lang.String |
doEdit()
|
java.lang.String |
doSaveEditPageBean()
|
boolean |
isMoveHierarchy()
|
boolean |
isPermitted()
|
protected boolean |
pageAlreadyExists()
if only the case of the title has changed, then skip the test for an existing page |
void |
setMoveHierarchy(boolean moveHierarchy)
|
void |
setPageService(PageService pageService)
|
void |
setPermissionCheckDispatcherResultCache(PermissionCheckDispatcherResultCache permissionCheckDispatcherResultCache)
|
void |
setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
|
void |
setSpaceService(SpaceService spaceService)
|
void |
validate()
|
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractEditPageAction |
---|
getCancelResult, getContent, getContentType, getDiff, getMinorEdit, getOldContent, getOriginalPage, getOriginalVersion, getOverwrite, getVersionComment, isConflictFound, isContentModified, isMergeRequired, isTitleModified, isVersionMismatch, isViewConflict, setDiff, setHeartbeatManager, setMinorEdit, setOldContent, setOriginalVersion, setOverwrite, setPage, setVersionComment, setVersionMismatch, setViewConflict |
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractTemplatePageAction |
---|
getGlobalPageTemplates, getPageTemplate, getSpacePageTemplates, getTemplateId, loadTemplates, setPageTemplateManager, setTemplateId |
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.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 |
Methods inherited from interface com.atlassian.confluence.pages.actions.PageAware |
---|
getPage, isLatestVersionRequired, isPageRequired, isViewPermissionRequired |
Constructor Detail |
---|
public EditPageAction()
Method Detail |
---|
public boolean isPermitted()
isPermitted
in class AbstractEditPageAction
public void validate()
validate
in interface com.opensymphony.xwork.Validateable
validate
in class AbstractCreateAndEditPageAction
public java.lang.String doDefault() throws java.lang.Exception
ConfluenceActionSupport
doDefault
in class AbstractEditPageAction
java.lang.Exception
- if something goes wrongpublic java.lang.String doSaveEditPageBean()
doSaveEditPageBean
in class AbstractEditPageAction
public java.lang.String doEdit() throws java.lang.Exception
doEdit
in class AbstractEditPageAction
java.lang.Exception
protected boolean pageAlreadyExists()
public boolean isMoveHierarchy()
public void setMoveHierarchy(boolean moveHierarchy)
public void setPermissionCheckDispatcherResultCache(PermissionCheckDispatcherResultCache permissionCheckDispatcherResultCache)
public void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
public void setSpaceService(SpaceService spaceService)
public void setPageService(PageService pageService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |