public class AbstractCommentableIssue extends AbstractViewIssue implements OperationContext
Subclasses should call super.doValidation() to check commenting permission.
JiraWebActionSupport.MessageTypeErrorCollection.ReasonI18nHelper.BeanFactory| Modifier and Type | Field and Description |
|---|---|
protected UserUtil |
userUtil |
id, ISSUE_PERMISSION_ERROR, PREPOPULATED_ISSUE_OBJECTattachmentManagerprojectManagerISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULTlog| Constructor and Description |
|---|
AbstractCommentableIssue(SubTaskManager subTaskManager,
FieldScreenRendererFactory fieldScreenRendererFactory,
FieldManager fieldManager,
ProjectRoleManager projectRoleManager,
CommentService commentService,
UserUtil userUtil) |
AbstractCommentableIssue(SubTaskManager subTaskManager,
FieldScreenRendererFactory fieldScreenRendererFactory,
FieldManager fieldManager,
ProjectRoleManager projectRoleManager,
CommentService commentService,
UserUtil userUtil,
AttachmentHelper attachmentHelper) |
getAttachments, getPossibleComponents, getPossibleVersions, getPossibleVersionsReleasedFirstaddErrorMessage, assertIssueIsValid, cameFromIssue, cameFromParent, getId, getIssue, getIssueObject, getIssueObjectWithoutDatabaseRead, getIssuePath, getKey, getLayoutBean, getMutableIssue, getParentIssueObject, getProject, getProjectObject, getSecurityLevel, getSubTaskManager, getSummaryIssue, getViewIssueKey, getViewUrl, isEditable, isEditable, isHasEditIssuePermission, isIssueExists, isIssueValid, isSubTask, isSubTaskCreatable, isWorkflowAllowsEdit, redirectToView, refreshIssueObject, setId, setIssueObject, setKey, setViewIssueKeyaddIssueToHistory, getAttachmentManager, getCurrentDateTimeInUsersTimezone, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getFormToken, 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, setFormToken, setSearchRequest, setSelectedIssueId, updateSearchRequestgetBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProjectaddError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isAdministrator, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncodeaddErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddErroraddError, doExecute, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLoggedInApplicationUseraddError, addErrorMessages, addErrors, hasAnyErrors, setErrorMessagesprotected final transient UserUtil userUtil
public AbstractCommentableIssue(SubTaskManager subTaskManager, FieldScreenRendererFactory fieldScreenRendererFactory, FieldManager fieldManager, ProjectRoleManager projectRoleManager, CommentService commentService, UserUtil userUtil, AttachmentHelper attachmentHelper)
public AbstractCommentableIssue(SubTaskManager subTaskManager, FieldScreenRendererFactory fieldScreenRendererFactory, FieldManager fieldManager, ProjectRoleManager projectRoleManager, CommentService commentService, UserUtil userUtil)
public String doDefault() throws Exception
doDefault in class webwork.action.ActionSupportExceptionprotected void doValidation()
doValidation in class webwork.action.ActionSupportprotected void doCommentValidation(boolean allowEmptyComment)
protected void populateCommentFields()
public String getComment()
public void setComment(String comment)
public String getCommentLevel()
public void setCommentLevel(String commentLevel)
public String getGroupLevel()
public void setGroupLevel(String groupLevel)
groupLevel - a group name.public Collection<com.atlassian.crowd.embedded.api.Group> getGroupLevels()
public Collection<ProjectRole> getRoleLevels()
public Map<String,Object> getFieldValuesHolder()
getFieldValuesHolder in interface OperationContextpublic IssueOperation getIssueOperation()
getIssueOperation in interface OperationContextpublic FieldScreenRenderLayoutItem getFieldScreenRendererLayoutItemForField(OrderableField field)
protected FieldScreenRenderer getFieldScreenRendererWithAllFields()
protected OrderableField getOrderableField(String fieldId)
protected void requireAttachmentsResources()
protected void populateAttachmentsFieldValuesHolderAndValidate()
protected void processAttachments()
protected void processAttachments(MutableIssue mutableIssue)
Copyright © 2002-2021 Atlassian. All Rights Reserved.