public class CreateWorklogOnIssueWithWorkLogAction extends AbstractWorklogAction
com.atlassian.jira.web.action.JiraWebActionSupport.MessageType| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_ISSUE_COUNT_FOR_BATCH_WORKLOG |
adjustEstimate, commentService, dateTimeHelper, fieldVisibilityManager, jiraDurationUtils, projectRoleManager, timeZoneManager, worklogService| Constructor and Description |
|---|
CreateWorklogOnIssueWithWorkLogAction(com.atlassian.jira.issue.IssueManager issueManager,
WorklogProService worklogService,
com.atlassian.jira.bc.issue.comment.CommentService commentService,
com.atlassian.jira.security.roles.ProjectRoleManager projectRoleManager,
com.atlassian.jira.web.FieldVisibilityManager fieldVisibilityManager,
com.atlassian.jira.issue.fields.layout.field.FieldLayoutManager fieldLayoutManager,
com.atlassian.jira.issue.RendererManager rendererManager,
com.atlassian.jira.user.util.UserUtil userUtil,
com.deniz.jira.worklog.license.LicenseManagerImp licenseManager,
ConfigurationService configurationService,
AttrTypeService attrTypeService,
com.atlassian.jira.issue.worklog.WorklogManager worklogManager,
TimeZoneManager timeZoneManager,
com.atlassian.jira.user.preferences.UserPreferencesManager userPreferencesManager,
WorkHoursSchemaService workHoursSchemaService,
com.atlassian.jira.bc.issue.worklog.TimeTrackingConfiguration timeTrackingConfiguration,
DateTimeHelper dateTimeHelper,
CreateWorklogOnIssue createWorklogOnIssue,
ScriptingService scriptingService,
PreferencesService preferencesService,
FilterService filterService,
com.atlassian.jira.bc.issue.search.SearchService searchService,
WorklogPROWorkflowBasedPermissionManager permissionManager) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
doDefault()
The initialization logic of the form.
|
protected java.lang.String |
doExecute()
The business logic of your form.
|
java.lang.String |
doUpdate() |
protected void |
doValidation()
The validation logic of you action.
|
java.util.List<AttrTypeImp> |
getAllEnabledOrUsedAttrTypes() |
java.util.List<AttrTypeImp> |
getApplicableAttrTypes() |
java.lang.String |
getAttrValue(int attrTypeId) |
WorklogPROConfiguration |
getConfiguration() |
boolean |
getCopyToIssueComments() |
com.atlassian.jira.project.Project |
getFilterByProject() |
java.util.List<com.atlassian.jira.issue.Issue> |
getIssuesForFilterOrJQL() |
boolean |
getRemainingEstimateOptionsExpanded() |
TimeSpentParser |
getTimeSpentParser() |
WorklogPreEntryParameters |
getWorklogPreEntryParameters() |
boolean |
hasPermissionToWorkForOthers() |
boolean |
isStartedUpdatedWhenTimeSpentChanges() |
void |
setAdjustEstimate(java.lang.String adjustEstimate) |
void |
setCopyToIssueComments(boolean newCopyToIssueComments) |
void |
setFilterByProjectKey(java.lang.String projectKey) |
void |
setRemainingEstimateOptionsExpanded(boolean flag) |
getAdjustEstimate, getAdjustmentAmount, getComment, getCommentLevel, getComponentInstanceOfType, getEndDate, getEndDateJS, getEstimate, getFilter, getGroupLevels, getI18nHelper, getIssue, getIssueId, getIssueKey, getIssueManager, getJql, getLogAnother, getNavFilter, getNewEstimate, getParsedEndDate, getParsedEndDateJS, getParsedStartDate, getParsedStartDateJS, getPeriod, getRoleLevels, getSelectedLevelName, getStartDate, getStartDateJS, getText, getText, getText, getText, getText, getTimeLogged, getTimezoneOfLoggedInUser, getUsername, getWorkDescriptionEditHtml, getWorklogAuthorDisplayName, getWorklogAuthorUsername, getWorklogId, isLevelSelected, isLoggingWorkForMultipleIssues, setAdjustmentAmount, setComment, setCommentLevel, setEndDate, setEndDateJS, setFilter, setIssueId, setIssueKey, setJql, setLogAnother, setNavFilter, setNewEstimate, setPeriod, setStartDate, setStartDateJS, setTimeLogged, setUsername, setWorklogAuthorUsername, setWorklogIdaddError, 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, urlEncodeaddErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getDefaultResourceBundle, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddErroraddError, addErrorMessage, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final int MAX_ISSUE_COUNT_FOR_BATCH_WORKLOG
public CreateWorklogOnIssueWithWorkLogAction(com.atlassian.jira.issue.IssueManager issueManager,
WorklogProService worklogService,
com.atlassian.jira.bc.issue.comment.CommentService commentService,
com.atlassian.jira.security.roles.ProjectRoleManager projectRoleManager,
com.atlassian.jira.web.FieldVisibilityManager fieldVisibilityManager,
com.atlassian.jira.issue.fields.layout.field.FieldLayoutManager fieldLayoutManager,
com.atlassian.jira.issue.RendererManager rendererManager,
com.atlassian.jira.user.util.UserUtil userUtil,
com.deniz.jira.worklog.license.LicenseManagerImp licenseManager,
ConfigurationService configurationService,
AttrTypeService attrTypeService,
com.atlassian.jira.issue.worklog.WorklogManager worklogManager,
TimeZoneManager timeZoneManager,
com.atlassian.jira.user.preferences.UserPreferencesManager userPreferencesManager,
WorkHoursSchemaService workHoursSchemaService,
com.atlassian.jira.bc.issue.worklog.TimeTrackingConfiguration timeTrackingConfiguration,
DateTimeHelper dateTimeHelper,
CreateWorklogOnIssue createWorklogOnIssue,
ScriptingService scriptingService,
PreferencesService preferencesService,
FilterService filterService,
com.atlassian.jira.bc.issue.search.SearchService searchService,
WorklogPROWorkflowBasedPermissionManager permissionManager)
public void setAdjustEstimate(java.lang.String adjustEstimate)
setAdjustEstimate in class AbstractWorklogActionpublic java.lang.String doDefault()
throws java.lang.Exception
doDefault in class webwork.action.ActionSupportjava.lang.Exceptionpublic java.lang.String doUpdate()
protected void doValidation()
doValidation in class webwork.action.ActionSupportpublic boolean hasPermissionToWorkForOthers()
protected java.lang.String doExecute()
doExecute in class webwork.action.ActionSupportpublic WorklogPROConfiguration getConfiguration()
public java.util.List<AttrTypeImp> getAllEnabledOrUsedAttrTypes()
public WorklogPreEntryParameters getWorklogPreEntryParameters() throws com.atlassian.jira.issue.search.SearchException
com.atlassian.jira.issue.search.SearchExceptionpublic java.util.List<AttrTypeImp> getApplicableAttrTypes() throws com.atlassian.jira.issue.search.SearchException
com.atlassian.jira.issue.search.SearchExceptionpublic java.lang.String getAttrValue(int attrTypeId)
public void setRemainingEstimateOptionsExpanded(boolean flag)
public boolean getRemainingEstimateOptionsExpanded()
public void setCopyToIssueComments(boolean newCopyToIssueComments)
public boolean getCopyToIssueComments()
public void setFilterByProjectKey(java.lang.String projectKey)
public com.atlassian.jira.project.Project getFilterByProject()
public boolean isStartedUpdatedWhenTimeSpentChanges()
public TimeSpentParser getTimeSpentParser()
public java.util.List<com.atlassian.jira.issue.Issue> getIssuesForFilterOrJQL()
throws com.atlassian.jira.issue.search.SearchException
com.atlassian.jira.issue.search.SearchException