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.MessageTypeSharedEntitySearchAction.FieldNameMapper, SharedEntitySearchAction.QueryValidatorErrorCollection.ReasonI18nHelper.BeanFactoryISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilterslog| Constructor and Description | 
|---|
ConfigurePortalPages(PortalPageService portalPageService,
                    JiraAuthenticationContext authenticationContext,
                    FavouritesService favouritesService,
                    GlobalPermissionManager permissionManager,
                    ShareTypeFactory shareTypeFactory,
                    UserFormats userFormats,
                    com.atlassian.plugin.webresource.WebResourceManager webResourceManager,
                    UserHistoryManager userHistoryManager,
                    ShareManager shareManager,
                    FeatureManager featureManager,
                    UserManager userManager)  | 
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, urlEncodeaddErrorMessages, 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, removeKeyOrAddErroraddError, addErrorMessage, doDefault, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessagespublic ConfigurePortalPages(PortalPageService portalPageService, JiraAuthenticationContext authenticationContext, FavouritesService favouritesService, GlobalPermissionManager permissionManager, ShareTypeFactory shareTypeFactory, UserFormats userFormats, com.atlassian.plugin.webresource.WebResourceManager webResourceManager, UserHistoryManager userHistoryManager, ShareManager shareManager, FeatureManager featureManager, UserManager userManager)
public String getSearchName()
getSearchName in interface SharedEntitySearchActionpublic void setSearchName(String searchName)
setSearchName in interface SharedEntitySearchActionpublic String getSearchOwnerUserName()
getSearchOwnerUserName in interface SharedEntitySearchActionpublic void setSearchOwnerUserName(String searchOwnerUserName)
setSearchOwnerUserName in interface SharedEntitySearchActionpublic String getSearchShareType()
getSearchShareType in interface SharedEntitySearchActionpublic void setSearchShareType(String searchShareType)
setSearchShareType in interface SharedEntitySearchActionpublic void setUserShare(String userShare)
setUserShare in interface SharedEntitySearchActionpublic String getUserShare()
getUserShare in interface SharedEntitySearchActionpublic void setGroupShare(String groupShare)
setGroupShare in interface SharedEntitySearchActionpublic String getGroupShare()
getGroupShare in interface SharedEntitySearchActionpublic Long getPagingOffset()
getPagingOffset in interface SharedEntitySearchActionpublic void setProjectShare(String projectShare)
setProjectShare in interface SharedEntitySearchActionpublic String getProjectShare()
getProjectShare in interface SharedEntitySearchActionpublic void setRoleShare(String roleShare)
setRoleShare in interface SharedEntitySearchActionpublic String getRoleShare()
getRoleShare in interface SharedEntitySearchActionpublic void setPagingOffset(Long pagingOffset)
setPagingOffset in interface SharedEntitySearchActionpublic String getSortColumn()
getSortColumn in interface SharedEntitySearchActionpublic void setSortColumn(String sortColumn)
setSortColumn in interface SharedEntitySearchActionpublic boolean isSortAscending()
isSortAscending in interface SharedEntitySearchActionpublic void setSortAscending(boolean sortAscending)
setSortAscending in interface SharedEntitySearchActionprotected 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 getSearchUnsuccessfulMessage()
public boolean isErrorMessage()
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 boolean isUserLoggedIn()
public boolean hasBrowseUsersPermission()
public boolean shouldShowOwnerColumn()
protected String doExecute()
doExecute in class webwork.action.ActionSupportpublic 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-2019 Atlassian. All Rights Reserved.