com.pyxis.greenhopper.gadget
Class CardViewGadgetResource

java.lang.Object
  extended by com.pyxis.greenhopper.gadget.AbstractResource
      extended by com.pyxis.greenhopper.gadget.CardViewGadgetResource

public class CardViewGadgetResource
extends AbstractResource

Generation and validation resource for the view cards gadget


Nested Class Summary
static class CardViewGadgetResource.CardViewGadget
           
static class CardViewGadgetResource.CardViewGadgetControls
           
static class CardViewGadgetResource.CardViewGadgetSelections
           
 
Constructor Summary
CardViewGadgetResource(com.atlassian.jira.project.ProjectManager projectManager, com.atlassian.jira.security.JiraAuthenticationContext authenticationContext, GreenHopperLicenseManager ghLicense, com.atlassian.jira.security.PermissionManager permissionManager, com.atlassian.jira.bc.issue.IssueService issueService, com.atlassian.templaterenderer.TemplateRenderer renderer, com.atlassian.jira.util.velocity.VelocityRequestContextFactory velocityRequestContextFactory, GreenHopper greenHopperService, com.atlassian.jira.project.version.VersionManager versionManager, com.atlassian.jira.issue.IssueManager jiraIssueManager)
           
 
Method Summary
 AgileGadgetPreferences buildPreferences(java.lang.String projectIdStr, java.lang.String selectedBoardId, java.lang.String contextName, boolean assignedToMe, int width)
           
 javax.ws.rs.core.Response generate(java.lang.String projectIdString, java.lang.String selectedBoardId, java.lang.String contextName, boolean assignedToMe, int width, java.lang.String projectOrIssue, java.lang.String issueKey, java.lang.String startPosition)
           
 javax.ws.rs.core.Response validate(java.lang.String projectOrIssue, java.lang.String issueKey, java.lang.String projectIdString, java.lang.String versionId)
           
 void validateIssueKey(java.lang.String issueKey, java.util.Collection<ValidationError> errors)
           
 
Methods inherited from class com.pyxis.greenhopper.gadget.AbstractResource
createErrorResponse, createIndexingUnavailableResponse, createValidationResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CardViewGadgetResource

public CardViewGadgetResource(com.atlassian.jira.project.ProjectManager projectManager,
                              com.atlassian.jira.security.JiraAuthenticationContext authenticationContext,
                              GreenHopperLicenseManager ghLicense,
                              com.atlassian.jira.security.PermissionManager permissionManager,
                              com.atlassian.jira.bc.issue.IssueService issueService,
                              com.atlassian.templaterenderer.TemplateRenderer renderer,
                              com.atlassian.jira.util.velocity.VelocityRequestContextFactory velocityRequestContextFactory,
                              GreenHopper greenHopperService,
                              com.atlassian.jira.project.version.VersionManager versionManager,
                              com.atlassian.jira.issue.IssueManager jiraIssueManager)
Method Detail

validate

public javax.ws.rs.core.Response validate(java.lang.String projectOrIssue,
                                          java.lang.String issueKey,
                                          java.lang.String projectIdString,
                                          java.lang.String versionId)

generate

public javax.ws.rs.core.Response generate(java.lang.String projectIdString,
                                          java.lang.String selectedBoardId,
                                          java.lang.String contextName,
                                          boolean assignedToMe,
                                          int width,
                                          java.lang.String projectOrIssue,
                                          java.lang.String issueKey,
                                          java.lang.String startPosition)

validateIssueKey

public void validateIssueKey(java.lang.String issueKey,
                             java.util.Collection<ValidationError> errors)

buildPreferences

public AgileGadgetPreferences buildPreferences(java.lang.String projectIdStr,
                                               java.lang.String selectedBoardId,
                                               java.lang.String contextName,
                                               boolean assignedToMe,
                                               int width)


Copyright © 2007-2011 Atlassian. All Rights Reserved.