public class PrioritySchemesBackdoor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PrioritySchemesBackdoor.PrioritySchemeResponse |
Constructor and Description |
---|
PrioritySchemesBackdoor(PrioritySchemeManager prioritySchemeManager,
FieldConfigSchemeManager fieldConfigSchemeManager,
ProjectManager projectManager,
ConstantsManager constantsManager,
ApplicationProperties applicationProperties,
FieldManager fieldManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
assignProjectToPriorityScheme(long schemeId,
long projectId) |
javax.ws.rs.core.Response |
createNewPriorityScheme(String name,
String description,
List<String> priorities) |
javax.ws.rs.core.Response |
createOrGetDefaultScheme() |
javax.ws.rs.core.Response |
delete(String schemeId) |
List<PrioritySchemesBackdoor.PrioritySchemeResponse> |
getAllPrioritySchemes() |
javax.ws.rs.core.Response |
getDefaultSchemeId() |
List<String> |
getPrioritiesInScheme(long schemeId) |
List<Long> |
getProjectsInScheme(long schemeId) |
javax.ws.rs.core.Response |
removePriorityFromAllSchemes(String priorityId) |
javax.ws.rs.core.Response |
removeProjectFromPriorityScheme(long schemeId,
long projectId) |
javax.ws.rs.core.Response |
setDefaultPriority(String schemeId,
String priorityId) |
javax.ws.rs.core.Response |
update(String schemeId,
String name,
String description,
List<String> priorities) |
public PrioritySchemesBackdoor(PrioritySchemeManager prioritySchemeManager, FieldConfigSchemeManager fieldConfigSchemeManager, ProjectManager projectManager, ConstantsManager constantsManager, ApplicationProperties applicationProperties, FieldManager fieldManager)
public List<PrioritySchemesBackdoor.PrioritySchemeResponse> getAllPrioritySchemes()
public javax.ws.rs.core.Response createNewPriorityScheme(String name, String description, List<String> priorities)
public javax.ws.rs.core.Response getDefaultSchemeId()
public javax.ws.rs.core.Response createOrGetDefaultScheme()
public javax.ws.rs.core.Response removePriorityFromAllSchemes(String priorityId)
public javax.ws.rs.core.Response assignProjectToPriorityScheme(long schemeId, long projectId)
public javax.ws.rs.core.Response removeProjectFromPriorityScheme(long schemeId, long projectId)
public javax.ws.rs.core.Response delete(String schemeId)
public javax.ws.rs.core.Response update(String schemeId, String name, String description, List<String> priorities)
Copyright © 2002-2019 Atlassian. All Rights Reserved.