public class

CustomContentLinksRestResource

extends Object
java.lang.Object
   ↳ com.atlassian.jira.plugin.headernav.customcontentlinks.admin.CustomContentLinksRestResource

Class Overview

REST endpoint for the restful table used to administer custom content links. This could be moved to the navlinks plugin to allow use by other applications.

Summary

Public Constructors
CustomContentLinksRestResource(CustomContentLinkServiceFactory customContentLinkServiceFactory, I18nResolver i18nResolver)
Public Methods
Response create(String projectKey, CustomContentLinkData data)
Response delete(String projectKey, String id, HttpServletRequest request)
Response get(String projectKey, String id, HttpServletRequest request)
Response list(String projectKey)
Response movePosition(String projectKey, Integer id, HttpServletRequest request, MoveBean bean)
Move the custom content link at {projectKey}/{id} as specified by the MoveBean in the request
Response update(String projectKey, String idString, CustomContentLinkData data, HttpServletRequest request)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CustomContentLinksRestResource (CustomContentLinkServiceFactory customContentLinkServiceFactory, I18nResolver i18nResolver)

Public Methods

public Response create (String projectKey, CustomContentLinkData data)

public Response delete (String projectKey, String id, HttpServletRequest request)

public Response get (String projectKey, String id, HttpServletRequest request)

public Response list (String projectKey)

public Response movePosition (String projectKey, Integer id, HttpServletRequest request, MoveBean bean)

Move the custom content link at {projectKey}/{id} as specified by the MoveBean in the request

public Response update (String projectKey, String idString, CustomContentLinkData data, HttpServletRequest request)