Class AbstractBlogPostsAction
java.lang.Object
org.apache.struts2.ActionSupport
com.atlassian.confluence.core.AbstractI18nActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.spaces.actions.AbstractSpaceAction
com.atlassian.confluence.pages.actions.AbstractBlogPostsAction
- All Implemented Interfaces:
- WebInterface,- Spaced,- MessageHolderAware,- Serializable,- org.apache.struts2.action.Action,- org.apache.struts2.interceptor.ValidationAware,- org.apache.struts2.locale.LocaleProvider,- org.apache.struts2.text.TextProvider,- org.apache.struts2.Validateable
- Direct Known Subclasses:
- RecentBlogPostsAction,- ViewBlogPostsByDateAction
- See Also:
- 
Field SummaryFieldsFields inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceActionkey, notificationManager, space, spaceManager, themeManager, wikiStyleRendererFields inherited from class com.atlassian.confluence.core.ConfluenceActionSupportaccessModeService, CANCEL, confluenceAccessManager, contentUiSupport, eventPublisher, formatSettingsManager, globalSettingsManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, localeManager, loginManager, messageHolder, permissionManager, pluginAccessor, PREVIEW, request, response, spacePermissionManager, strutsHelper, systemInformationService, userAccessor, webInterfaceManagerFields inherited from class org.apache.struts2.ActionSupportcontainerFields inherited from interface org.apache.struts2.action.ActionERROR, INPUT, LOGIN, NONE, SUCCESS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionexecute()getFirstPostInNextMonth(Calendar postingDate) Returns the first post in the month after the current postingDaybooleangetLastPostInPreviousMonth(Calendar postingDate) Returns the last post in the month before the current postingDayrenderBlogPost(BlogPost post) voidsetPageManager(PageManager pageManager) voidsetViewRenderer(Renderer viewRenderer) Methods inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceActiongetActionSpaceKey, getKey, getPermissionTypes, getSpace, getSpaceKey, getSpaceManager, getSubscribableName, getThemeManager, hasSpaceIA, isPermitted, isPersonalSpace, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setThemeManager, setWikiStyleRendererMethods inherited from class com.atlassian.confluence.core.ConfluenceActionSupportaddActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, getActionErrors, getActionMessages, getActionName, getActiveRequest, getActiveResponse, getAuthenticatedUser, getBootstrapStatusProvider, getCancelResult, getDateFormatter, getDefaultTimeZone, getFieldErrors, getGlobalSettings, getHelper, getI18n, getLocale, getMessageHolder, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getTimeZone, getUserByName, getUserInterfaceState, getWebInterfaceContext, isAnonymousUser, isEmailVisible, setAccessModeService, setBootstrapStatusProvider, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventPublisher, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setStrutsHelper, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManagerMethods inherited from class com.atlassian.confluence.core.AbstractI18nActionSupportgetText, getText, getText, getText, getText, getText, getText, getText, getTextStrictMethods inherited from class org.apache.struts2.ActionSupportaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getContainer, getFormatted, getLocaleProvider, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, toLocale, validateMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.validation.MessageHolderAwarevalidate
- 
Field Details- 
pageManager
 
- 
- 
Constructor Details- 
AbstractBlogPostsActionpublic AbstractBlogPostsAction()
 
- 
- 
Method Details- 
execute- Specified by:
- executein interface- org.apache.struts2.action.Action
- Overrides:
- executein class- org.apache.struts2.ActionSupport
- Throws:
- Exception
 
- 
setPageManager
- 
renderBlogPost
- 
getFirstPostInNextMonthReturns the first post in the month after the current postingDay- Parameters:
- postingDate-
- Returns:
- BlogPost for the first post in the next month, null otherwise
 
- 
getLastPostInPreviousMonthReturns the last post in the month before the current postingDay- Parameters:
- postingDate-
- Returns:
- BlogPost for the last post in the previous month, null otherwise
 
- 
setViewRenderer
- 
getHasCreatePermissionpublic boolean getHasCreatePermission()
 
-