Class FieldConfigurationResource
java.lang.Object
com.atlassian.jira.rest.internal.v2.field.config.FieldConfigurationResource
@Path("fieldConfiguration")
@Produces("application/json")
public class FieldConfigurationResource
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionFieldConfigurationResource
(FieldManager fieldManager, FieldLayoutManager fieldLayoutManager, FieldScreenManager fieldScreenManager, ManagedConfigurationItemService managedConfigurationItemService, RendererManager rendererManager, FieldLayoutService fieldLayoutService, JiraBaseUrls jiraBaseUrls, I18nHelper i18nHelper, JiraAuthenticationContext authContext) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
getConfiguration
(Long configId, int page, int maxResults, String query) javax.ws.rs.core.Response
getProjectsForConfiguration
(Long configId) boolean
isHideable
(FieldLayoutItem fieldLayoutItem) boolean
isRequirable
(FieldLayoutItem fieldLayoutItem) javax.ws.rs.core.Response
javax.ws.rs.core.Response
setRequired
(Long configId, String fieldId, boolean required)
-
Constructor Details
-
FieldConfigurationResource
@Inject public FieldConfigurationResource(FieldManager fieldManager, FieldLayoutManager fieldLayoutManager, FieldScreenManager fieldScreenManager, ManagedConfigurationItemService managedConfigurationItemService, RendererManager rendererManager, FieldLayoutService fieldLayoutService, JiraBaseUrls jiraBaseUrls, I18nHelper i18nHelper, JiraAuthenticationContext authContext)
-
-
Method Details
-
getConfiguration
-
getProjectsForConfiguration
@GET @Path("{configId}/projects") public javax.ws.rs.core.Response getProjectsForConfiguration(@PathParam("configId") Long configId) -
setHidden
-
setRequired
-
isHideable
-
isRequirable
-