|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwebwork.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.AbstractIssueSelectAction
com.atlassian.jira.web.action.issue.EditLabels
public class EditLabels
| Nested Class Summary |
|---|
| 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 | |
|---|---|
static String |
SEND_NOTIFICATION_CONGLOMERATE_KEY
|
| Fields inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction |
|---|
id, ISSUE_PERMISSION_ERROR, PREPOPULATED_ISSUE_OBJECT |
| 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, 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 | |
|---|---|
EditLabels(LabelService labelService,
CustomFieldManager customFieldManager,
LabelUtil labelUtil)
|
|
| Method Summary | |
|---|---|
String |
doDefault()
|
String |
doExecute()
|
String |
doViewLinks()
|
Long |
getCustomFieldId()
|
String |
getDomId()
|
String |
getErrorCollectionKey()
|
List<String> |
getExistingLabels()
|
String |
getFieldName()
|
String |
getLabelNavigatorUrl(String label)
|
boolean |
isNoLink()
Whether the labels should be a link that goes to a search for that label. |
boolean |
isSendNotification()
|
void |
setCustomFieldId(Long customFieldId)
|
void |
setLabels(String[] labels)
|
void |
setNoLink(boolean noLink)
|
void |
setSendNotification(boolean doSendNotification)
|
| Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction |
|---|
addErrorMessage, assertIssueIsValid, cameFromIssue, cameFromParent, getId, getIssue, getIssueObject, getIssueObjectWithoutDatabaseRead, getIssuePath, getKey, getLayoutBean, getParentIssueObject, getProject, getSecurityLevel, getSubTaskManager, getSummaryIssue, getViewIssueKey, getViewUrl, isEditable, isEditable, isHasEditIssuePermission, isIssueExists, isIssueValid, isSubTask, isSubTaskCreatable, isWorkflowAllowsEdit, redirectToView, refreshIssueObject, setId, setIssueObject, setKey, setViewIssueKey |
| Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport |
|---|
getBrowsableProjects, getBrowseableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject |
| Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
|---|
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, 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, 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 com.atlassian.jira.web.action.issue.IssueSummaryAware |
|---|
getLoggedInUser |
| Methods inherited from interface com.atlassian.jira.util.ErrorCollection |
|---|
addError, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages |
| Methods inherited from interface webwork.action.CommandDriven |
|---|
getCommandName, setCommand |
| Field Detail |
|---|
public static final String SEND_NOTIFICATION_CONGLOMERATE_KEY
| Constructor Detail |
|---|
public EditLabels(LabelService labelService,
CustomFieldManager customFieldManager,
LabelUtil labelUtil)
| Method Detail |
|---|
public String doDefault()
throws Exception
doDefault in class webwork.action.ActionSupportException
public String doViewLinks()
throws Exception
Exception
public String doExecute()
throws Exception
doExecute in class webwork.action.ActionSupportExceptionpublic String getDomId()
public Long getCustomFieldId()
public String getErrorCollectionKey()
public String getFieldName()
public String getLabelNavigatorUrl(String label)
public void setCustomFieldId(Long customFieldId)
public List<String> getExistingLabels()
public void setLabels(String[] labels)
public boolean isNoLink()
Required so that when we Ajax replace the labels after editing we can maintain the link/plain text rendering of the labels.
public void setNoLink(boolean noLink)
public boolean isSendNotification()
public void setSendNotification(boolean doSendNotification)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||