public class ListEventTypes extends JiraWebActionSupport
JiraWebActionSupport.MessageTypeI18nHelper.BeanFactoryErrorCollection.ReasonISSUE_NOT_FOUND_RESULT, log, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT| Constructor and Description |
|---|
ListEventTypes(EventTypeManager eventTypeManager,
WorkflowManager workflowManager,
TemplateManager templateManager) |
| Modifier and Type | Method and Description |
|---|---|
String |
doAddEventType() |
String |
doDeleteEventType() |
String |
doEditEventType() |
protected String |
doExecute() |
Map<Long,String> |
getAssociatedNotificationSchemes(EventType eventType)
Retrieve a map of scheme ids to scheme names that are associsated with this EventType
|
org.apache.commons.collections.MultiMap |
getAssociatedWorkflows(EventType eventType)
Determines which workflows and transitions are associated with the specified eventType.
|
String |
getDescription() |
Long |
getEventTypeId() |
EventTypeManager |
getEventTypeManager() |
String |
getName() |
List |
getShortList(Collection<com.opensymphony.workflow.loader.ActionDescriptor> transitions)
Creates a short list of the workflow transitions limited to
SHORT_LIST_COUNT |
String |
getStepId(String workflowName,
long actionDescriptorId)
Determine a suitable stepId for the *ViewWorkflowTransition* link in the event type list.
|
Long |
getTemplateId() |
TemplateManager |
getTemplateManager() |
String |
getType() |
boolean |
isConfirmed() |
void |
setConfirmed(boolean confirmed) |
void |
setDescription(String description) |
void |
setEventTypeId(Long eventTypeId) |
void |
setName(String name) |
void |
setTemplateId(Long templateId) |
void |
setType(String type) |
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, addMessageToResponse, addReason, addReasons, execute, forceRedirect, getActionName, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getComponentInstanceOfType, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDefaultResourceBundle, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getI18nHelper, getJiraContactHelper, getJiraServiceContext, getKeysForPrefix, getLanguage, getLocale, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOfBizDelegator, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getResourceBundle, getResult, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTimeFormat, getUnescapedText, getUntransformedRawText, getUriValidator, getUserFullName, getUserManager, getUserPreferences, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasAnyErrors, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isAdministrator, isIndexing, isInlineDialogMode, isKeyDefined, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, removeKeyOrAddError, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncodeaddError, addErrorMessage, doDefault, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addErrorMessage, setErrorMessagespublic ListEventTypes(EventTypeManager eventTypeManager, WorkflowManager workflowManager, TemplateManager templateManager)
protected String doExecute() throws Exception
doExecute in class webwork.action.ActionSupportExceptionpublic String doAddEventType()
public String doDeleteEventType()
public String doEditEventType()
public String getStepId(String workflowName, long actionDescriptorId)
The initial step *Create Issue* does not have a related step id and is not needed for the link - so return null in this case.
workflowName - actionDescriptorId - public List getShortList(Collection<com.opensymphony.workflow.loader.ActionDescriptor> transitions)
SHORT_LIST_COUNTtransitions - a collection of workflow transitionsSHORT_LIST_COUNT in sizepublic EventTypeManager getEventTypeManager()
public org.apache.commons.collections.MultiMap getAssociatedWorkflows(EventType eventType)
The event type can be associated with a workflow through a post function on any of the workflow transitions.
eventType - event typeWorkflowTransitionKeys -> transitionspublic Map<Long,String> getAssociatedNotificationSchemes(EventType eventType)
eventType - the EventTypepublic TemplateManager getTemplateManager()
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public boolean isConfirmed()
public void setConfirmed(boolean confirmed)
public Long getEventTypeId()
public void setEventTypeId(Long eventTypeId)
public String getType()
public void setType(String type)
public Long getTemplateId()
public void setTemplateId(Long templateId)
Copyright © 2002-2023 Atlassian. All Rights Reserved.