|
||||||||||
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.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, 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, 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 | |
---|---|
java.lang.String |
doEnter()
|
java.lang.String |
execute()
|
protected java.util.List<Label> |
getLabels()
|
java.lang.String |
getRenderedTemplateContent()
|
java.util.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(java.lang.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, getQueryString, getSpace, getSpaceKey, hasSetPagePermissionsPermission, isInvalidPageTitle, isPageRequired, setAttachmentManager, setBreadcrumbGenerator, setFromPageId, 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 java.util.List getTemplateVariables() throws XhtmlException
XhtmlException
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
protected java.util.List<Label> getLabels()
getLabels
in class AbstractPageAction
public DefaultWebInterfaceContext getWebInterfaceContext()
WebInterface
getWebInterfaceContext
in interface WebInterface
getWebInterfaceContext
in class AbstractCreateAndEditPageAction
public java.lang.String getRenderedTemplateContent()
public void setRenderedTemplateContent(java.lang.String renderedTemplateContent)
public java.lang.String doEnter() throws java.lang.Exception
java.lang.Exception
public void validate()
AbstractPreviewPageAction
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class CreatePageAction
public boolean isPermitted()
isPermitted
in class CreatePageAction
public 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 |