com.atlassian.jira.plugin.headernav.customcontentlinks.admin
Class CustomContentLinksRestResource
java.lang.Object
com.atlassian.jira.plugin.headernav.customcontentlinks.admin.CustomContentLinksRestResource
public class CustomContentLinksRestResource
- extends Object
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.
Method Summary |
javax.ws.rs.core.Response |
create(String projectKey,
CustomContentLinkData data)
|
javax.ws.rs.core.Response |
delete(String projectKey,
String id,
javax.servlet.http.HttpServletRequest request)
|
javax.ws.rs.core.Response |
get(String projectKey,
String id,
javax.servlet.http.HttpServletRequest request)
|
javax.ws.rs.core.Response |
list(String projectKey)
|
javax.ws.rs.core.Response |
movePosition(String projectKey,
Integer id,
javax.servlet.http.HttpServletRequest request,
MoveBean bean)
Move the custom content link at {projectKey}/{id} as specified by the MoveBean in the request |
javax.ws.rs.core.Response |
update(String projectKey,
String idString,
CustomContentLinkData data,
javax.servlet.http.HttpServletRequest request)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomContentLinksRestResource
public CustomContentLinksRestResource(CustomContentLinkServiceFactory customContentLinkServiceFactory,
com.atlassian.sal.api.message.I18nResolver i18nResolver)
list
public javax.ws.rs.core.Response list(String projectKey)
get
public javax.ws.rs.core.Response get(String projectKey,
String id,
@Context
javax.servlet.http.HttpServletRequest request)
delete
public javax.ws.rs.core.Response delete(String projectKey,
String id,
@Context
javax.servlet.http.HttpServletRequest request)
create
public javax.ws.rs.core.Response create(String projectKey,
CustomContentLinkData data)
update
public javax.ws.rs.core.Response update(String projectKey,
String idString,
CustomContentLinkData data,
@Context
javax.servlet.http.HttpServletRequest request)
movePosition
public javax.ws.rs.core.Response movePosition(String projectKey,
Integer id,
@Context
javax.servlet.http.HttpServletRequest request,
MoveBean bean)
- Move the custom content link at {projectKey}/{id} as specified by the MoveBean in the request
Copyright © 2002-2014 Atlassian. All Rights Reserved.