|
||||||||||
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.AbstractPageAwareAction com.atlassian.confluence.pages.actions.AbstractPageAction com.atlassian.confluence.pages.actions.RevertPageBackToVersionAction
public class RevertPageBackToVersionAction
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractPageAction |
---|
incomingLinks, linkManager, pageManager, PREVIEW, RICHTEXT, viewRenderer, wysiwygConverter |
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractPageAwareAction |
---|
contentPermissionManager, spaceManager |
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, 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 | |
---|---|
RevertPageBackToVersionAction()
|
Method Summary | |
---|---|
java.lang.String |
doRevert()
|
java.lang.String |
execute()
|
java.lang.String |
getDefaultComment()
|
java.lang.String |
getTitleToRevert()
|
int |
getVersion()
|
boolean |
isPermitted()
|
boolean |
isRevertTitle()
|
void |
setBlogPostService(BlogPostService blogPostService)
|
void |
setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
|
void |
setPageService(PageService pageService)
|
void |
setRevertComment(java.lang.String revertComment)
|
void |
setRevertTitle(boolean isRevertTitle)
|
void |
setSettingsManager(SettingsManager settingsManager)
|
void |
setVersion(int version)
|
void |
validate()
|
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPageAwareAction |
---|
getFriendlyDateFormatterHelper, getPage, getPageId, getSpace, getSpaceKey, getTitle, hasViewPagePermission, isLatestVersionRequired, isPageRequired, isViewPermissionRequired, setContentPermissionManager, setPage, setSpaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, 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 |
Constructor Detail |
---|
public RevertPageBackToVersionAction()
Method Detail |
---|
public java.lang.String execute() throws java.lang.Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
java.lang.Exception
public java.lang.String doRevert()
public void validate()
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public int getVersion()
public void setVersion(int version)
public boolean isRevertTitle()
public void setRevertTitle(boolean isRevertTitle)
public java.lang.String getTitleToRevert()
public boolean isPermitted()
isPermitted
in class AbstractPageAwareAction
public void setPageService(PageService pageService)
public void setBlogPostService(BlogPostService blogPostService)
public void setRevertComment(java.lang.String revertComment)
public java.lang.String getDefaultComment()
public void setSettingsManager(SettingsManager settingsManager)
setSettingsManager
in class ConfluenceActionSupport
public void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
setI18NBeanFactory
in class ConfluenceActionSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |