|
||||||||||
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
public abstract class AbstractTemplatePageAction
An abstract action for actions that use page templates.
Field Summary | |
---|---|
protected PageTemplateManager |
pageTemplateManager
|
protected java.lang.String |
templateId
|
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractPreviewPageAction |
---|
back, bean, formatConverter, 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 | |
---|---|
AbstractTemplatePageAction()
|
Method Summary | |
---|---|
java.util.List |
getGlobalPageTemplates()
|
PageTemplate |
getPageTemplate()
|
java.util.List |
getSpacePageTemplates()
|
java.lang.String |
getTemplateId()
|
boolean |
isPageTemplatesAvailable()
|
protected void |
loadTemplates()
|
void |
setPageTemplateManager(PageTemplateManager pageTemplateManager)
|
void |
setTemplateId(java.lang.String templateId)
|
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPreviewPageAction |
---|
getBean, getContentForSaving, getConversionContext, getEditorFormattedContent, getInPreview, getRenderContext, getStorageFormat, getWysiwygContent, getxHtmlContent, setBack, setFormatConverter, setInPreview, setPreview, setWikiStyleRenderer, setWysiwygContent, updateXHtmlContent, validate |
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPageAwareAction |
---|
getFriendlyDateFormatterHelper, getPage, getPageId, getSpace, getSpaceKey, getTitle, hasViewPagePermission, isLatestVersionRequired, isPageRequired, isPermitted, isViewPermissionRequired, setContentPermissionManager, setPage, setSpaceManager |
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 |
Field Detail |
---|
protected java.lang.String templateId
protected PageTemplateManager pageTemplateManager
Constructor Detail |
---|
public AbstractTemplatePageAction()
Method Detail |
---|
public java.lang.String getTemplateId()
public void setTemplateId(java.lang.String templateId)
protected void loadTemplates()
public java.util.List getGlobalPageTemplates()
public java.util.List getSpacePageTemplates()
public boolean isPageTemplatesAvailable()
public void setPageTemplateManager(PageTemplateManager pageTemplateManager)
public PageTemplate getPageTemplate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |