|
||||||||||
| 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.AbstractWorklogAction
com.atlassian.jira.web.action.issue.CreateWorklog
public class CreateWorklog
This action creates a new worklog
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper |
|---|
I18nHelper.BeanFactory |
| Field Summary |
|---|
| Fields inherited from class com.atlassian.jira.web.action.issue.AbstractWorklogAction |
|---|
ADJUST_ESTIMATE_AUTO, ADJUST_ESTIMATE_MANUAL, ADJUST_ESTIMATE_NEW, adjustEstimate, commentService, jiraDurationUtils, outlookDateManager, projectRoleManager, worklogService |
| Fields inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction |
|---|
id |
| 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 | |
|---|---|
CreateWorklog(WorklogService worklogService,
CommentService commentService,
ProjectRoleManager projectRoleManager,
JiraDurationUtils jiraDurationUtils,
OutlookDateManager outlookDateManager)
|
|
| Method Summary | |
|---|---|
String |
doDefault()
|
protected String |
doExecute()
|
protected void |
doValidation()
|
Worklog |
getWorklog()
Returns the worklog created |
boolean |
isCreateWorklog()
This method is used by the worklog JSP to distinguish between Create Worklog and Update Worklog. |
protected boolean |
isTimeTrackingFieldHidden(Issue issue)
|
| Methods inherited from class com.atlassian.jira.web.action.issue.AbstractWorklogAction |
|---|
getAdjustEstimate, getAdjustmentAmount, getComment, getCommentLevel, getCommentVisibility, getEstimate, getFormattedStartDate, getGroupLevels, getNewEstimate, getParsedStartDate, getRoleLevels, getStartDate, getTimeLogged, getWorklogId, getWorkType, isLevelSelected, setAdjustEstimate, setAdjustmentAmount, setComment, setCommentLevel, setNewEstimate, setStartDate, setTimeLogged, setWorklogId, setWorkType |
| Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction |
|---|
getId, getIssue, getIssueObject, getIssueObjectNoSecurityCheck, getIssuePath, getKey, getLayoutBean, getProject, getSecurityLevel, getSecurityLevel, getSecurityLevelName, getSummaryIssue, getViewIssueKey, getViewUrl, isEditable, isEditable, isHasEditIssuePermission, isIssueExists, isIssueValid, isWorkflowAllowsEdit, redirectToView, resetIssue, setId, setIssue, setKey, setViewIssueKey |
| Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport |
|---|
getBrowseableProjects, getBrowseableProjectsInCategory, getSelectedProjectId, setSelectedProject, setSelectedProject |
| Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
|---|
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText0, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError |
| Methods inherited from class webwork.action.ActionSupport |
|---|
addError, addErrorMessage, 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 |
|---|
getRemoteUser |
| Methods inherited from interface com.atlassian.jira.util.ErrorCollection |
|---|
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages |
| Methods inherited from interface webwork.action.CommandDriven |
|---|
setCommand |
| Constructor Detail |
|---|
public CreateWorklog(WorklogService worklogService,
CommentService commentService,
ProjectRoleManager projectRoleManager,
JiraDurationUtils jiraDurationUtils,
OutlookDateManager outlookDateManager)
| Method Detail |
|---|
protected boolean isTimeTrackingFieldHidden(Issue issue)
public String doDefault()
throws Exception
doDefault in class webwork.action.ActionSupportExceptionprotected void doValidation()
doValidation in class webwork.action.ActionSupport
protected String doExecute()
throws Exception
doExecute in class webwork.action.ActionSupportExceptionpublic Worklog getWorklog()
public boolean isCreateWorklog()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||