public abstract class AbstractWorklogAction extends AbstractCommentableIssue
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
Modifier and Type | Field and Description |
---|---|
protected static String |
ADJUST_ESTIMATE_AUTO |
protected static String |
ADJUST_ESTIMATE_MANUAL |
protected static String |
ADJUST_ESTIMATE_NEW |
protected String |
adjustEstimate |
protected CommentService |
commentService |
protected DateTimeFormatterFactory |
dateTimeFormatterFactory |
protected FieldLayoutManager |
fieldLayoutManager |
protected FieldVisibilityManager |
fieldVisibilityManager |
protected JiraDurationUtils |
jiraDurationUtils |
protected ProjectRoleManager |
projectRoleManager |
protected WorklogService |
worklogService |
id, ISSUE_PERMISSION_ERROR, PREPOPULATED_ISSUE_OBJECT
attachmentManager
projectManager
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
log
Constructor and Description |
---|
AbstractWorklogAction(WorklogService worklogService,
CommentService commentService,
ProjectRoleManager projectRoleManager,
JiraDurationUtils jiraDurationUtils,
FieldVisibilityManager fieldVisibilityManager,
FieldLayoutManager fieldLayoutManager,
RendererManager rendererManager,
UserUtil userUtil,
DateTimeFormatterFactory dateTimeFormatterFactory,
SubTaskManager subTaskManager,
FieldScreenRendererFactory fieldScreenRendererFactory,
FieldManager fieldManager,
AttachmentHelper attachmentHelper) |
createComment, doCommentValidation, doDefault, doValidation, getDisplayParams, getFieldScreenRendererLayoutItemForField, getFieldScreenRendererWithAllFields, getFieldValuesHolder, getGroupLevel, getIssueOperation, getOrderableField, populateAttachmentsFieldValuesHolderAndValidate, populateCommentFields, processAttachments, processAttachments, requireAttachmentsResources, setFieldValuesHolder, setGroupLevel
getAttachments, getPossibleComponents, getPossibleVersions, getPossibleVersionsReleasedFirst
addErrorMessage, 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, setViewIssueKey
addIssueToHistory, 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, updateSearchRequest
getBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
addError, 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, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
addErrorMessages, 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, removeKeyOrAddError
addError, doExecute, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLoggedInApplicationUser
addError, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
protected static final String ADJUST_ESTIMATE_AUTO
protected static final String ADJUST_ESTIMATE_NEW
protected static final String ADJUST_ESTIMATE_MANUAL
protected String adjustEstimate
protected final WorklogService worklogService
protected final CommentService commentService
protected final ProjectRoleManager projectRoleManager
protected final JiraDurationUtils jiraDurationUtils
protected final DateTimeFormatterFactory dateTimeFormatterFactory
protected final FieldVisibilityManager fieldVisibilityManager
protected final FieldLayoutManager fieldLayoutManager
public AbstractWorklogAction(WorklogService worklogService, CommentService commentService, ProjectRoleManager projectRoleManager, JiraDurationUtils jiraDurationUtils, FieldVisibilityManager fieldVisibilityManager, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, UserUtil userUtil, DateTimeFormatterFactory dateTimeFormatterFactory, SubTaskManager subTaskManager, FieldScreenRendererFactory fieldScreenRendererFactory, FieldManager fieldManager, AttachmentHelper attachmentHelper)
public String getComment()
getComment
in class AbstractCommentableIssue
public boolean isTimeTrackingFieldHidden(Issue issue)
public String getTimeLogged()
public void setTimeLogged(String timeLogged)
public String getWorkType()
public void setWorkType(String workType)
public String getNewEstimate()
public void setNewEstimate(String newEstimate)
public String getAdjustmentAmount()
public void setAdjustmentAmount(String adjustmentAmount)
public String getAdjustEstimate()
public void setAdjustEstimate(String adjustEstimate)
public boolean isLevelSelected(String visibilityLevel)
public String getSelectedLevelName()
public String getCommentLevel()
getCommentLevel
in class AbstractCommentableIssue
public void setCommentLevel(String commentLevel)
setCommentLevel
in class AbstractCommentableIssue
public void setComment(String comment)
setComment
in class AbstractCommentableIssue
public Collection getGroupLevels()
getGroupLevels
in class AbstractCommentableIssue
public Collection<ProjectRole> getRoleLevels()
getRoleLevels
in class AbstractCommentableIssue
public String getStartDate()
public void setStartDate(String startDate)
protected CommentVisibility getCommentVisibility()
protected Date getParsedStartDate()
public Long getWorklogId()
public void setWorklogId(Long worklogId)
public String getWorkDescriptionEditHtml()
public String getRendererType()
@Deprecated public boolean isOnDemand()
Copyright © 2002-2018 Atlassian. All Rights Reserved.