com.atlassian.jira.web.action
Class AbstractViewIssueColumns

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.ProjectActionSupport
                  extended by com.atlassian.jira.web.action.IssueActionSupport
                      extended by com.atlassian.jira.web.action.issue.SearchDescriptionEnabledAction
                          extended by com.atlassian.jira.web.action.AbstractViewIssueColumns
All Implemented Interfaces:
ErrorCollection, I18nHelper, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
ViewIssueColumns, ViewSearchRequestIssueColumns, ViewUserIssueColumns

public abstract class AbstractViewIssueColumns
extends SearchDescriptionEnabledAction

See Also:
Serialized Form

Field Summary
static int ADD
           
static int DELETE
           
static int MOVELEFT
           
static int MOVERIGHT
           
static int RESTORE
           
 
Fields inherited from class com.atlassian.jira.web.action.issue.SearchDescriptionEnabledAction
fieldValuesHolder, issueSearcherManager
 
Fields inherited from class com.atlassian.jira.web.action.IssueActionSupport
attachmentManager
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
projectManager
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, savedFilters, selectedProject
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface com.atlassian.jira.util.I18nHelper
DEFAULT_RESOURCE_BUNDLE
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
AbstractViewIssueColumns(IssueSearcherManager issueSearcherManager)
           
 
Method Summary
protected abstract  String doRestoreDefault()
           
abstract  String getActionLocation(String prefix)
           
 List getAddableColumns()
           
protected abstract  List getAvailableNavigatableFields()
           
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
protected  ColumnLayoutManager getColumnLayoutManager()
           
 List getColumns()
           
 String getFieldId()
           
protected  FieldManager getFieldManager()
           
 Integer getFieldPosition()
           
 PagerFilter getPager()
           
 List getSampleIssues()
           
 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.
protected  String redirectToView()
           
protected  String runOperation()
           
 void setFieldId(String fieldId)
           
 void setFieldPosition(Integer fieldPosition)
           
 void setOperation(int operation)
           
protected abstract  void store()
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.SearchDescriptionEnabledAction
getActionParams, getFieldValuesHolder, getSearchContext, getSearcherGroups, getSearchers, getSearcherViewHtml, isFilterFavourite, isShown, populateFieldValuesHolderFromSR, validateSearchFilterIsSavedFilter
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue, setSearchRequest, updateSearchRequest
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSelectedProjectId, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSearchSortReverseDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isSystemAdministrator, isUserExists, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doDefault, doExecute, doValidation, 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 com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

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
Constructor Detail

AbstractViewIssueColumns

public AbstractViewIssueColumns(IssueSearcherManager issueSearcherManager)
Method Detail

runOperation

protected String runOperation()
                       throws Exception
Throws:
Exception

redirectToView

protected String redirectToView()

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 getAvailableNavigatableFields()
                                               throws FieldException
Throws:
FieldException

getSampleIssues

public List 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-2009 Atlassian. All Rights Reserved.