com.atlassian.greenhopper.web.rapid.view
Class WorkflowResource

java.lang.Object
  extended by com.atlassian.greenhopper.web.AbstractResource
      extended by com.atlassian.greenhopper.web.rapid.view.WorkflowResource

public class WorkflowResource
extends AbstractResource


Nested Class Summary
static class WorkflowResource.ConvertWorkflowModel
           
static class WorkflowResource.ConvertWorkflowRequest
           
static class WorkflowResource.CreateStatusRequest
           
static class WorkflowResource.RemoveStatusModel
           
static class WorkflowResource.RemoveStatusRequest
           
static class WorkflowResource.StatusModel
           
static class WorkflowResource.UpdateResolutionRequest
           
 
Field Summary
 
Fields inherited from class com.atlassian.greenhopper.web.AbstractResource
HTTP_HEADER_GREENHOPPER_GADGET, log
 
Constructor Summary
WorkflowResource(com.atlassian.jira.security.JiraAuthenticationContext jiraAuthenticationContext, RapidViewService rapidViewService, WorkflowService workflowService, com.atlassian.jira.bc.project.ProjectService jiraProjectService, WorkflowHelper workflowHelper, PermissionService permissionService, SearchService searchService, com.atlassian.jira.issue.IssueManager jiraIssueManager, I18nFactoryService i18nFactoryService, SimplifiedWorkflowService simplifiedWorkflowService, ColumnService columnService, WorkflowMigrationAdapterFactory workflowMigrationAdapterFactory, ColumnEditHelper columnEditHelper)
           
 
Method Summary
 javax.ws.rs.core.Response convertWorkflow(WorkflowResource.ConvertWorkflowRequest convertWorkflowRequest)
           
 javax.ws.rs.core.Response createStatus(WorkflowResource.CreateStatusRequest createStatusRequest)
           
 javax.ws.rs.core.Response getConvertWorkflowModel(java.lang.Long rapidViewId)
           
 javax.ws.rs.core.Response getRemoveStatusModel(java.lang.Long rapidViewId, java.lang.String statusId)
           
 javax.ws.rs.core.Response removeStatus(WorkflowResource.RemoveStatusRequest removeStatusRequest)
           
 javax.ws.rs.core.Response updateResolution(WorkflowResource.UpdateResolutionRequest request)
           
 
Methods inherited from class com.atlassian.greenhopper.web.AbstractResource
check, createErrorResponse, createFromServiceOutcome, createNoContentResponse, createOkResponse, createOkResponse, getUser, isGadgetRequest, nullSafe, response, wireAuthenticationContext, wireI18nFactoryService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowResource

public WorkflowResource(com.atlassian.jira.security.JiraAuthenticationContext jiraAuthenticationContext,
                        RapidViewService rapidViewService,
                        WorkflowService workflowService,
                        com.atlassian.jira.bc.project.ProjectService jiraProjectService,
                        WorkflowHelper workflowHelper,
                        PermissionService permissionService,
                        SearchService searchService,
                        com.atlassian.jira.issue.IssueManager jiraIssueManager,
                        I18nFactoryService i18nFactoryService,
                        SimplifiedWorkflowService simplifiedWorkflowService,
                        ColumnService columnService,
                        WorkflowMigrationAdapterFactory workflowMigrationAdapterFactory,
                        ColumnEditHelper columnEditHelper)
Method Detail

getRemoveStatusModel

public javax.ws.rs.core.Response getRemoveStatusModel(java.lang.Long rapidViewId,
                                                      java.lang.String statusId)

updateResolution

public javax.ws.rs.core.Response updateResolution(WorkflowResource.UpdateResolutionRequest request)

removeStatus

public javax.ws.rs.core.Response removeStatus(WorkflowResource.RemoveStatusRequest removeStatusRequest)

getConvertWorkflowModel

public javax.ws.rs.core.Response getConvertWorkflowModel(java.lang.Long rapidViewId)

convertWorkflow

public javax.ws.rs.core.Response convertWorkflow(WorkflowResource.ConvertWorkflowRequest convertWorkflowRequest)

createStatus

public javax.ws.rs.core.Response createStatus(WorkflowResource.CreateStatusRequest createStatusRequest)


Copyright © 2007-2013 Atlassian. All Rights Reserved.