public abstract class AbstractPluggableTabPanelAction<TabPanelClass extends PluggableTabPanelModuleDescriptor> extends IssueActionSupport
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.plugin.PluginAccessor |
pluginAccessor |
attachmentManager
projectManager
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
log
Constructor and Description |
---|
AbstractPluggableTabPanelAction(com.atlassian.plugin.PluginAccessor pluginAccessor)
Deprecated.
Use
AbstractPluggableTabPanelAction(PluginAccessor, UserPreferencesManager) },
which enables the user preferences manager to be injected. |
AbstractPluggableTabPanelAction(com.atlassian.plugin.PluginAccessor pluginAccessor,
UserPreferencesManager userPreferencesManager) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canSeeTab(String tabKey) |
String |
getSelected() |
protected String |
getSelectedTab()
Retrieve the name of the tab panel that is selected.
|
TabPanelClass |
getSelectedTabPanel() |
protected abstract List<TabPanelClass> |
getTabPanelModuleDescriptors()
Retrieves the tab panels for this page via the plugin accessor.
|
List<TabPanelClass> |
getTabPanels() |
protected List<TabPanelClass> |
initTabPanels()
Retrieves and initialises the tab panels via the plugin accessor
|
protected abstract boolean |
isTabPanelHidden(TabPanelClass descriptor)
Returns true if the tab panel of the given descriptor should be hidden from the current view
|
void |
setSelectedTab(String selectedTab)
Set the name of the selected tab.
|
addIssueToHistory, getAttachmentManager, getCurrentDateTimeInUsersTimezone, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getFormToken, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setFormToken, setSearchRequest, setSelectedIssueId, updateSearchRequest
getBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
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, doDefault, 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
@Deprecated public AbstractPluggableTabPanelAction(com.atlassian.plugin.PluginAccessor pluginAccessor)
AbstractPluggableTabPanelAction(PluginAccessor, UserPreferencesManager)
},
which enables the user preferences manager to be injected.public AbstractPluggableTabPanelAction(com.atlassian.plugin.PluginAccessor pluginAccessor, UserPreferencesManager userPreferencesManager)
public List<TabPanelClass> getTabPanels()
TabPanelClass
objects, never nullprotected List<TabPanelClass> initTabPanels()
TabPanelClass
objects, never nullprotected abstract List<TabPanelClass> getTabPanelModuleDescriptors()
Used by initialisation method to collect the list of tab panels for this page
protected abstract boolean isTabPanelHidden(TabPanelClass descriptor) throws PermissionException
descriptor
- module descriptorPermissionException
- if project is invalid or not visible to the current userprotected boolean canSeeTab(String tabKey)
public TabPanelClass getSelectedTabPanel()
public String getSelected()
protected String getSelectedTab()
Protected because it's used in some error log messages.
public void setSelectedTab(String selectedTab)
selectedTab
- a complete module descriptor key for the TabPanelClass
to set as the selected tab.Copyright © 2002-2017 Atlassian. All Rights Reserved.