|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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.AbstractCreatePageAction
com.atlassian.confluence.pages.actions.CreatePageAction
com.atlassian.confluence.pages.actions.PageVariablesAction
public class PageVariablesAction
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.atlassian.confluence.pages.actions.CreatePageAction |
|---|
CreatePageAction.SimplePageProvider |
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.pages.actions.CreatePageAction |
|---|
contentPermissionProvider, pageProvider |
| Fields inherited from class com.atlassian.confluence.pages.actions.AbstractCreatePageAction |
|---|
attachmentManager, breadcrumbGenerator, contextProvider, INPUT_VARIABLES, originalReferrer, space, themeManager |
| Fields inherited from class com.atlassian.confluence.pages.actions.AbstractCreateAndEditPageAction |
|---|
captchaManager, CLOSE_CANCEL_RESULT, DISCARD_CANCEL_RESULT, draftManager, draftService, editPermissionsGroups, editPermissionsUsers, newSpaceKey, notificationManager, pageService, parentPageId, parentPageSpaceKey, parentPageString, parentPageTitle, sharedDraftsDarkFeatureHelper, 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, bean, inPreview, preview, storageFormat, wikiStyleRenderer, wysiwygContent |
| 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, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, 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 | |
|---|---|
PageVariablesAction()
|
|
| Method Summary | |
|---|---|
String |
doEnter()
|
String |
execute()
|
protected List<Label> |
getLabels()
|
String |
getRenderedTemplateContent()
|
List |
getTemplateVariables()
|
DefaultWebInterfaceContext |
getWebInterfaceContext()
Returns a context which can be passed to web items when rendering them. |
boolean |
isPermitted()
This action is being used to set up the content for the CreatePageAction, so the permissions test is not needed (and doesn't work, as the final space the page will be created in hasn't been chosen yet) |
boolean |
isTemplateApplied()
|
void |
setEditorFormatService(EditorFormatService editorFormatService)
|
void |
setFormatConverter(FormatConverter formatConverter)
|
void |
setRenderedTemplateContent(String renderedTemplateContent)
|
void |
setTemplateApplied(boolean templateApplied)
|
void |
setXhtmlContent(XhtmlContent xhtmlContent)
|
void |
validate()
Convert the editor content to storageFormat, catching and reporting any problems in the process. |
| Methods inherited from class com.atlassian.confluence.pages.actions.CreatePageAction |
|---|
createCommand, createDraft, createPage, doAdd, doDefault, doTemplateDefault, getCommandActionHelper, getInheritedViewPermissions, getLinkCreation, getPageToCreate, populateParentPageTitleField, setEncodedTitle, setLinkCreation |
| Methods inherited from class com.atlassian.confluence.pages.actions.AbstractCreatePageAction |
|---|
afterAdd, beforeAdd, getAttachmentSourceContent, getBreadcrumb, getCancelRedirectUrl, getCancelResult, getContentBreadcrumb, getContentType, getFromPage, getFromPageId, getNewSpace, getOriginalReferrer, getQueryString, getSpace, getSpaceKey, hasSetPagePermissionsPermission, isInvalidPageTitle, isPageRequired, setAttachmentManager, setBreadcrumbGenerator, setFromPageId, setOriginalReferrer, setQueryString, setSpaceKey, setThemeManager, setTitleWritten, transferDraftAttachments |
| Methods inherited from class com.atlassian.confluence.pages.actions.AbstractTemplatePageAction |
|---|
getGlobalPageTemplates, getPageTemplate, getSpacePageTemplates, getTemplateId, isPageTemplatesAvailable, loadTemplates, setPageTemplateManager, setTemplateId |
| Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPreviewPageAction |
|---|
getBean, getContentForSaving, getConversionContext, getEditorFormattedContent, getInPreview, getRenderContext, getStorageFormat, getWysiwygContent, getxHtmlContent, setBack, setInPreview, setPreview, setWikiStyleRenderer, setWysiwygContent, updateXHtmlContent |
| Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPageAction |
|---|
displayDatePath, getAvailableSpaces, getBeanKey, getBlogPost, getEditorVersion, getHelper, getIncomingLinks, getMode, getNextPost, getNumberOfAttachmentsAsString, getNumberOfLabelsAsString, getPermittedChildren, getPostingDate, getPostingDay, getPreviousPost, getPreviousVersion, getSpaceManager, getSuggestedLabels, getTinyUrl, hasAttachFilePermissions, hasPermittedChildren, isSpaceAdmin, isSuperUser, isUserWatchingOwnContent, setConfluenceWysiwygConverter, setEditorManager, setLinkManager, setMode, setPageManager, setPostingDate, setViewRenderer |
| Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPageAwareAction |
|---|
getFriendlyDateFormatterHelper, getPage, getPageId, hasViewPagePermission, isLatestVersionRequired, 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 PageVariablesAction()
| Method Detail |
|---|
public List getTemplateVariables()
throws XhtmlException
XhtmlException
public String execute()
throws Exception
execute in interface com.opensymphony.xwork.Actionexecute in class com.opensymphony.xwork.ActionSupportExceptionprotected List<Label> getLabels()
getLabels in class AbstractPageActionpublic DefaultWebInterfaceContext getWebInterfaceContext()
WebInterface
getWebInterfaceContext in interface WebInterfacegetWebInterfaceContext in class AbstractCreateAndEditPageActionpublic String getRenderedTemplateContent()
public void setRenderedTemplateContent(String renderedTemplateContent)
public String doEnter()
throws Exception
Exceptionpublic void validate()
AbstractPreviewPageAction
validate in interface MessageHolderAwarevalidate in interface com.opensymphony.xwork.Validateablevalidate in class CreatePageActionpublic boolean isPermitted()
isPermitted in class CreatePageActionpublic boolean isTemplateApplied()
public void setTemplateApplied(boolean templateApplied)
public void setEditorFormatService(EditorFormatService editorFormatService)
public void setXhtmlContent(XhtmlContent xhtmlContent)
public void setFormatConverter(FormatConverter formatConverter)
setFormatConverter in class AbstractPreviewPageAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||