com.atlassian.greenhopper.web.rapid.view
Class RapidViewResource
java.lang.Object
com.atlassian.greenhopper.web.AbstractResource
com.atlassian.greenhopper.web.rapid.view.RapidViewResource
public class RapidViewResource
- extends AbstractResource
Method Summary |
javax.ws.rs.core.Response |
copy(java.lang.Long sourceRapidViewId)
Copy the rapid view with the specified ID to create a new persisted rapid view. |
javax.ws.rs.core.Response |
create(com.atlassian.greenhopper.web.rapid.view.RapidViewResource.CreateAdvancedRequest createAdvancedRequest)
|
javax.ws.rs.core.Response |
delete(java.lang.Long id)
|
javax.ws.rs.core.Response |
getCreateModel()
|
javax.ws.rs.core.Response |
read(java.lang.Long id)
|
javax.ws.rs.core.Response |
readAll()
|
javax.ws.rs.core.Response |
setupView(com.atlassian.greenhopper.web.rapid.view.RapidViewResource.CreatePresetsRequest createPresetsRequest)
|
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 |
RapidViewResource
public RapidViewResource(com.atlassian.jira.security.JiraAuthenticationContext authContext,
RapidViewFilterHelper rapidViewFilterHelper,
RapidViewHelper rapidViewHelper)
create
public javax.ws.rs.core.Response create(com.atlassian.greenhopper.web.rapid.view.RapidViewResource.CreateAdvancedRequest createAdvancedRequest)
setupView
public javax.ws.rs.core.Response setupView(com.atlassian.greenhopper.web.rapid.view.RapidViewResource.CreatePresetsRequest createPresetsRequest)
read
public javax.ws.rs.core.Response read(java.lang.Long id)
readAll
public javax.ws.rs.core.Response readAll()
delete
public javax.ws.rs.core.Response delete(java.lang.Long id)
copy
public javax.ws.rs.core.Response copy(java.lang.Long sourceRapidViewId)
- Copy the rapid view with the specified ID to create a new persisted rapid view.
- Parameters:
sourceRapidViewId
- the ID of the rapid view to copy
- Returns:
- the
RapidViewEntry
representing the new copy
getCreateModel
public javax.ws.rs.core.Response getCreateModel()
Copyright © 2007-2013 Atlassian. All Rights Reserved.