public class ConfigurePortalPages extends JiraWebActionSupport implements SharedEntitySearchAction, DropDownModelProvider<PortalPageDisplayBean>
Modifier and Type | Class and Description |
---|---|
protected static class |
ConfigurePortalPages.PortalPageViewHelper
Class to help executing and displaying the results of PortalPage searches.
|
JiraWebActionSupport.MessageType
SharedEntitySearchAction.FieldNameMapper, SharedEntitySearchAction.QueryValidator
ErrorCollection.Reason
I18nHelper.BeanFactory
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
log
Constructor and Description |
---|
ConfigurePortalPages(PortalPageService portalPageService,
JiraAuthenticationContext authenticationContext,
FavouritesService favouritesService,
PermissionManager permissionManager,
ShareTypeFactory shareTypeFactory,
UserFormatManager userFormatManager,
com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
UserHistoryManager userHistoryManager) |
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
addError, addErrorMessage, doExecute, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
public ConfigurePortalPages(PortalPageService portalPageService, JiraAuthenticationContext authenticationContext, FavouritesService favouritesService, PermissionManager permissionManager, ShareTypeFactory shareTypeFactory, UserFormatManager userFormatManager, com.atlassian.plugin.webresource.WebResourceManager webResourceManager, UserHistoryManager userHistoryManager)
public String getSearchName()
getSearchName
in interface SharedEntitySearchAction
public void setSearchName(String searchName)
setSearchName
in interface SharedEntitySearchAction
public String getSearchOwnerUserName()
getSearchOwnerUserName
in interface SharedEntitySearchAction
public void setSearchOwnerUserName(String searchOwnerUserName)
setSearchOwnerUserName
in interface SharedEntitySearchAction
public String getSearchShareType()
getSearchShareType
in interface SharedEntitySearchAction
public void setSearchShareType(String searchShareType)
setSearchShareType
in interface SharedEntitySearchAction
public void setGroupShare(String groupShare)
setGroupShare
in interface SharedEntitySearchAction
public String getGroupShare()
getGroupShare
in interface SharedEntitySearchAction
public Long getPagingOffset()
getPagingOffset
in interface SharedEntitySearchAction
public void setProjectShare(String projectShare)
setProjectShare
in interface SharedEntitySearchAction
public String getProjectShare()
getProjectShare
in interface SharedEntitySearchAction
public void setRoleShare(String roleShare)
setRoleShare
in interface SharedEntitySearchAction
public String getRoleShare()
getRoleShare
in interface SharedEntitySearchAction
public void setPagingOffset(Long pagingOffset)
setPagingOffset
in interface SharedEntitySearchAction
public String getSortColumn()
getSortColumn
in interface SharedEntitySearchAction
public void setSortColumn(String sortColumn)
setSortColumn
in interface SharedEntitySearchAction
public boolean isSortAscending()
isSortAscending
in interface SharedEntitySearchAction
public void setSortAscending(boolean sortAscending)
setSortAscending
in interface SharedEntitySearchAction
protected void setSearchResults(SharedEntitySearchViewHelper.SearchResult<PortalPage> searchResults)
public void setPageId(Long pageId)
public String getPortalPageName()
public void setPortalPageName(String portalPageName)
public Long getCopyPageId()
public void setCopyPageId(Long copyPageId)
public Long getPageId()
public String getDescription()
public void setDescription(String description)
public String getView()
public void setView(String view)
public int getPosition()
public void setPosition(int position)
public String getPageName(PortalPage portalPage)
public boolean isContentOnly()
public void setContentOnly(boolean contentOnly)
public String getSearchEmptyMessageKey()
public ConfigurePortalPages.PortalPageViewHelper getPortalPageViewHelper()
public boolean isSearchRequested()
public PortalPage getCurrentPortalPage()
public List getPages()
protected void setPages(List<PortalPageDisplayBean> pages)
public String getNextUrl()
public String getPreviousUrl()
public int getStartPosition()
public int getEndPosition()
public int getTotalResultCount()
public String doDefault()
doDefault
in class webwork.action.ActionSupport
public PortalPageLinkRenderer getPortalPageLinkRenderer()
public String doMoveUp()
public String doMoveDown()
public String doMoveToStart()
public String doMoveToEnd()
protected List<PortalPageDisplayBean> transformToDisplayBeans(Collection<PortalPage> portalPages)
public DropDownModel getDropDownModel(PortalPageDisplayBean displayBean, int listIndex)
getDropDownModel
in interface DropDownModelProvider<PortalPageDisplayBean>
displayBean
- some domain objectlistIndex
- this parameter indicates the position in of the domain object in a list of domain objects.
Often generated markup uses position in the list to generate ids and the likeprotected String toUrl(PortalPageDisplayBean pageDisplayBean, String page, String idUrlVariable, boolean includeReturnUrl)
Copyright © 2002-2018 Atlassian. All Rights Reserved.