com.atlassian.jira.web.action
Class AbstractViewIssueColumns
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.ProjectActionSupport
com.atlassian.jira.web.action.IssueActionSupport
com.atlassian.jira.web.action.issue.SearchDescriptionEnabledAction
com.atlassian.jira.web.action.AbstractViewIssueColumns
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, FilterOperationsAction, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
- Direct Known Subclasses:
- ViewIssueColumns, ViewSearchRequestIssueColumns, ViewUserIssueColumns
public abstract class AbstractViewIssueColumns
- extends SearchDescriptionEnabledAction
- implements FilterOperationsAction
- See Also:
- Serialized Form
Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.jira.web.action.issue.SearchDescriptionEnabledAction |
createFilterOperationsBean, getActionParams, getFieldValuesHolder, getFilterOperationsBean, getSearchContext, getSearcherGroups, getSearchers, getSearcherViewHtml, getSearchRequestJqlString, getSearchSorts, isFilterFavourite, isFilterValid, isSearchRequestFitsNavigator, isShown, populateFieldValuesHolderFromQuery, validateSearchFilterIsSavedFilter |
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport |
clearSelectedIssue, getAttachmentManager, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, 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, setCurrentIssue, setSearchRequest, setSelectedIssueId, updateSearchRequest |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAssignableUsers, getAssignableUsers, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getReasons, getRedirect, getRedirectChecker, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, doDefault, doExecute, doValidation, getCommandName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface webwork.action.CommandDriven |
getCommandName, setCommand |
ADD
public static final int ADD
- See Also:
- Constant Field Values
DELETE
public static final int DELETE
- See Also:
- Constant Field Values
MOVELEFT
public static final int MOVELEFT
- See Also:
- Constant Field Values
MOVERIGHT
public static final int MOVERIGHT
- See Also:
- Constant Field Values
RESTORE
public static final int RESTORE
- See Also:
- Constant Field Values
SHOW_ACTIONS
public static final int SHOW_ACTIONS
- See Also:
- Constant Field Values
HIDE_ACTIONS
public static final int HIDE_ACTIONS
- See Also:
- Constant Field Values
AbstractViewIssueColumns
public AbstractViewIssueColumns(IssueSearcherManager issueSearcherManager,
SearchService searchService,
SearchSortUtil searchSortUtil)
runOperation
protected String runOperation()
throws Exception
- Throws:
Exception
redirectToView
protected String redirectToView()
doShowActionsColumn
public abstract String doShowActionsColumn()
throws Exception
- Adds the Actions and Operations drop down column to the issue table
- Returns:
- Should always return INPUT to redirect back the edit columns page.
- Throws:
Exception
- if something bad happens...- Since:
- v4.0
doHideActionsColumn
public abstract String doHideActionsColumn()
throws Exception
- Removes the Actions and Operations drop down column from the issue table
- Returns:
- Should always return INPUT to redirect back the edit columns page.
- Throws:
Exception
- if something bad happens...- Since:
- v4.0
doRestoreDefault
protected abstract String doRestoreDefault()
store
protected abstract void store()
getFieldManager
protected FieldManager getFieldManager()
setOperation
public void setOperation(int operation)
getFieldId
public String getFieldId()
setFieldId
public void setFieldId(String fieldId)
getFieldPosition
public Integer getFieldPosition()
setFieldPosition
public void setFieldPosition(Integer fieldPosition)
getColumns
public List getColumns()
getActionLocation
public abstract String getActionLocation(String prefix)
getAddableColumns
public List getAddableColumns()
getAvailableNavigatableFields
protected abstract List<NavigableField> getAvailableNavigatableFields()
throws FieldException
- Throws:
FieldException
getSampleIssues
public List<Issue> getSampleIssues()
getPager
public PagerFilter getPager()
isFieldHidden
public boolean isFieldHidden(Long projectId,
String id,
String issueTypeId)
- Checks if the field is hidden in the project with id of projectId and the issueType of issue with id of issueId.
- Overrides:
isFieldHidden
in class IssueActionSupport
- Parameters:
projectId
- id
- fieldId
getColumnLayout
protected abstract EditableColumnLayout getColumnLayout()
- This function retrieve an editable column layout and assumes that the same object is returned during
the lifetime of this object
getColumnLayoutManager
protected ColumnLayoutManager getColumnLayoutManager()
Copyright © 2002-2011 Atlassian. All Rights Reserved.