com.atlassian.jira.web.action.admin.issuefields
Class EditFieldLayoutItemRenderer

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.admin.issuefields.AbstractConfigureFieldLayout
                  extended by com.atlassian.jira.web.action.admin.issuefields.EditFieldLayoutItemRenderer
All Implemented Interfaces:
ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class EditFieldLayoutItemRenderer
extends AbstractConfigureFieldLayout

Action used to set a renderer for a field layout item

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
JiraWebActionSupport.MessageType
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
ErrorCollection.Reason
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.admin.issuefields.AbstractConfigureFieldLayout
hackyFieldRendererRegistry
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
EditFieldLayoutItemRenderer(FieldScreenManager fieldScreenManager, RendererManager rendererManager, SearchProvider searchProvider, SearchService searchService, ReindexMessageManager reindexMessageManager, FieldManager fieldManager, FieldLayoutSchemeHelper fieldLayoutSchemeHelper, HackyFieldRendererRegistry hackyFieldRendererRegistry, ManagedConfigurationItemService managedConfigurationItemService)
           
 
Method Summary
 String doDefault()
           
protected  String doExecute()
           
protected  void doValidation()
           
 List<String> getAllActiveRenderers()
           
 String getCancelUrl()
           
 String getCurrentRendererType()
           
 long getEffectedIssuesCount()
           
protected  Query getEffectedIssuesQuery()
           
 String getEffectedIssuesQueryString()
           
 EditableFieldLayout getFieldLayout()
           
 String getFieldName()
           
protected  String getFieldRedirect()
           
 Integer getRendererEdit()
           
protected  FieldLayoutItem getSelectedLayoutItem()
           
 String getSelectedRendererType()
           
 boolean isSelectedFieldLocked()
           
 void setRendererEdit(Integer rendererEdit)
           
 void setSelectedRendererType(String selectedRendererType)
           
protected  void store()
           
 
Methods inherited from class com.atlassian.jira.web.action.admin.issuefields.AbstractConfigureFieldLayout
doHide, doRequire, doRestoreDefaults, getFieldLayoutManager, getFieldManager, getFieldName, getFieldScreenTabs, getHide, getId, getManagedFieldDescriptionKey, getOrderedList, getRendererDisplayName, getRendererManager, getRequire, isCustomField, isFieldLocked, isFieldManaged, isHasDefaultFieldLayout, isHideable, isMandatory, isRenderable, isRequirable, isUnscreenable, setHide, setId, setRequire
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasIssuePermission, hasPermission, hasProjectPermission, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, urlEncode
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, getCommandName, 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, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Constructor Detail

EditFieldLayoutItemRenderer

public EditFieldLayoutItemRenderer(FieldScreenManager fieldScreenManager,
                                   RendererManager rendererManager,
                                   SearchProvider searchProvider,
                                   SearchService searchService,
                                   ReindexMessageManager reindexMessageManager,
                                   FieldManager fieldManager,
                                   FieldLayoutSchemeHelper fieldLayoutSchemeHelper,
                                   HackyFieldRendererRegistry hackyFieldRendererRegistry,
                                   ManagedConfigurationItemService managedConfigurationItemService)
Method Detail

doValidation

protected void doValidation()
Overrides:
doValidation in class webwork.action.ActionSupport

doDefault

public String doDefault()
                 throws Exception
Overrides:
doDefault in class webwork.action.ActionSupport
Throws:
Exception

doExecute

protected String doExecute()
                    throws Exception
Overrides:
doExecute in class webwork.action.ActionSupport
Throws:
Exception

isSelectedFieldLocked

public boolean isSelectedFieldLocked()

getAllActiveRenderers

public List<String> getAllActiveRenderers()

getFieldName

public String getFieldName()

getCancelUrl

public String getCancelUrl()

getCurrentRendererType

public String getCurrentRendererType()

getSelectedRendererType

public String getSelectedRendererType()

setSelectedRendererType

public void setSelectedRendererType(String selectedRendererType)

getRendererEdit

public Integer getRendererEdit()

setRendererEdit

public void setRendererEdit(Integer rendererEdit)

getSelectedLayoutItem

protected FieldLayoutItem getSelectedLayoutItem()

getFieldLayout

public EditableFieldLayout getFieldLayout()
Specified by:
getFieldLayout in class AbstractConfigureFieldLayout

getEffectedIssuesCount

public long getEffectedIssuesCount()
                            throws SearchException
Throws:
SearchException

getEffectedIssuesQueryString

public String getEffectedIssuesQueryString()

getEffectedIssuesQuery

protected Query getEffectedIssuesQuery()

getFieldRedirect

protected String getFieldRedirect()
                           throws Exception
Specified by:
getFieldRedirect in class AbstractConfigureFieldLayout
Throws:
Exception

store

protected void store()
Specified by:
store in class AbstractConfigureFieldLayout


Copyright © 2002-2013 Atlassian. All Rights Reserved.