public class ViewBlogPostsByDateAction extends AbstractBlogPostsAction implements BreadcrumbAware
pageManager
key, notificationManager, space, spaceManager, themeManager, wikiStyleRenderer
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
ViewBlogPostsByDateAction() |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
Map |
getAggregatedBlogPosts() |
List |
getBlogPosts()
Ordered by date, newest first
|
Breadcrumb |
getBreadcrumb()
Returns the breadcrumb to be shown when the action is accessed.
|
BlogPostsCalendar |
getCalendarForThisMonth() |
int |
getCurrentPage() |
String |
getFormattedDateRangeDescription() |
BlogPost |
getNextDatePost() |
BlogPost |
getNextPost() |
int |
getPeriod() |
String |
getPostingDate() |
Calendar |
getPostingDay() |
String |
getPostingDayOfMonth() |
String |
getPostingMonth() |
String |
getPostingMonthNumeric() |
String |
getPostingYear() |
BlogPost |
getPreviousDatePost() |
BlogPost |
getPreviousPost() |
boolean |
isBlogPostsByDateAction() |
boolean |
isOldestPage() |
void |
setBreadcrumbGenerator(BreadcrumbGenerator breadcrumbGenerator) |
void |
setCurrentPage(int currentPage) |
void |
setPeriod(int period) |
void |
setPostingDate(String postingDate) |
void |
setSearchManager(SearchManager searchManager) |
void |
validate() |
getFirstPostInNextMonth, getHasCreatePermission, getLastPostInPreviousMonth, renderBlogPost, setPageManager, setViewRenderer
getKey, getPermissionTypes, getSpace, getSpaceKey, getSubscribableName, getThemeManager, hasSpaceIA, isAdminUser, isPermitted, isPersonalSpace, isSuperUser, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setThemeManager, setWikiStyleRenderer
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class AbstractBlogPostsAction
Exception
public void validate()
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public BlogPostsCalendar getCalendarForThisMonth()
public List getBlogPosts()
public Map getAggregatedBlogPosts()
public String getPostingDate()
public void setPostingDate(String postingDate)
public Calendar getPostingDay()
public String getPostingDayOfMonth()
public String getPostingYear()
public String getPostingMonthNumeric()
public String getPostingMonth()
public BlogPost getNextPost()
public BlogPost getNextDatePost()
public BlogPost getPreviousPost()
public BlogPost getPreviousDatePost()
public int getPeriod()
public void setPeriod(int period)
public String getFormattedDateRangeDescription()
public void setBreadcrumbGenerator(BreadcrumbGenerator breadcrumbGenerator)
public Breadcrumb getBreadcrumb()
BreadcrumbAware
getBreadcrumb
in interface BreadcrumbAware
public boolean isBlogPostsByDateAction()
public int getCurrentPage()
public void setCurrentPage(int currentPage)
public boolean isOldestPage()
public void setSearchManager(SearchManager searchManager)
Copyright © 2003–2017 Atlassian. All rights reserved.