com.atlassian.confluence.pages.actions
Class ViewBlogPostsByDateAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.spaces.actions.AbstractSpaceAction
com.atlassian.confluence.pages.actions.AbstractBlogPostsAction
com.atlassian.confluence.pages.actions.ViewBlogPostsByDateAction
- All Implemented Interfaces:
- WebInterface, Spaced, BreadcrumbAware, Action, LocaleProvider, TextProvider, Validateable, ValidationAware, Serializable
public class ViewBlogPostsByDateAction
- extends AbstractBlogPostsAction
- implements BreadcrumbAware
- See Also:
- Serialized Form
| Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
| Methods inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceAction |
getKey, getPermissionTypes, getSpace, getSpaceKey, getSpaceXHtmlDescription, getSubscribableName, isAdminUser, isPermitted, isPersonalSpace, isSuperUser, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setWikiStyleRenderer |
| Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
addActionError, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setUserAccessor, setWebInterfaceManager |
| 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 |
ViewBlogPostsByDateAction
public ViewBlogPostsByDateAction()
execute
public String execute()
- Specified by:
execute in interface Action- Overrides:
execute in class ActionSupport
validate
public void validate()
- Specified by:
validate in interface Validateable- Overrides:
validate in class ActionSupport
getCalendarForThisMonth
public BlogPostsCalendar getCalendarForThisMonth()
getBlogPosts
public List getBlogPosts()
- Ordered by date descending
getAggregatedBlogPosts
public Map getAggregatedBlogPosts()
getPostingDate
public String getPostingDate()
setPostingDate
public void setPostingDate(String postingDate)
getPostingDayOfMonth
public String getPostingDayOfMonth()
getPostingYear
public String getPostingYear()
getPostingMonthNumeric
public String getPostingMonthNumeric()
getPostingMonth
public String getPostingMonth()
getNextPost
public BlogPost getNextPost()
getNextDatePost
public BlogPost getNextDatePost()
getPreviousPost
public BlogPost getPreviousPost()
getPreviousDatePost
public BlogPost getPreviousDatePost()
getPeriod
public int getPeriod()
setPeriod
public void setPeriod(int period)
getFormattedDateRangeDescription
public String getFormattedDateRangeDescription()
getBreadcrumb
public Breadcrumb getBreadcrumb()
- Description copied from interface:
BreadcrumbAware
- Returns the breadcrumb to be shown when the action is accessed.
- Specified by:
getBreadcrumb in interface BreadcrumbAware
- Returns:
- Breadcrumb