com.atlassian.greenhopper.web.issue
Class DefaultXIssueView

java.lang.Object
  extended by com.atlassian.greenhopper.web.issue.DefaultXIssueView
All Implemented Interfaces:
XIssueView, IssueView

public class DefaultXIssueView
extends java.lang.Object
implements XIssueView

Default XIssueView implementation. Provides layouts for summaries, lists and cards. This issue view is commonly used on the planning board


Field Summary
protected  IssueFieldManager issueFieldManager
           
 
Fields inherited from interface com.pyxis.greenhopper.jira.boards.issueviews.IssueView
ALL, CARD, CARDS_ONLY, LIST, LIST_ONLY, SUMMARIES_ONLY, SUMMARY
 
Constructor Summary
DefaultXIssueView(IssueFieldManager issueFieldManager, Configuration configuration, IssueView issueView)
          Create a new instance, using the provided issueView as backing data object for issue states.
 
Method Summary
 boolean asCard(com.atlassian.jira.issue.Issue issue)
           
 boolean asList(com.atlassian.jira.issue.Issue issue)
           
 boolean asSummary(com.atlassian.jira.issue.Issue issue)
           
protected  CardLayout createCardLayout(IssueFieldManager issueFieldManager, CardLayouts cardLayouts, com.atlassian.jira.issue.issuetype.IssueType issueType)
           
 Layout createLayout(com.atlassian.jira.issue.Issue issue)
          Creates a layout object for a given issue
protected  ListLayout createListLayout(IssueFieldManager issueFieldManager, ListLayouts listLayouts, com.atlassian.jira.issue.issuetype.IssueType issueType)
           
protected  SummaryLayout createSummaryLayout(IssueFieldManager issueFieldManager, SummaryLayouts summaryLayouts, com.atlassian.jira.issue.issuetype.IssueType issueType)
           
 java.lang.String getCardColor(com.atlassian.jira.issue.Issue issue)
           
protected  CardLayouts getCardLayouts()
           
protected  ListLayouts getListLayouts()
           
protected  SummaryLayouts getSummaryLayouts()
           
 void toggle(com.atlassian.jira.issue.Issue issue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

issueFieldManager

protected IssueFieldManager issueFieldManager
Constructor Detail

DefaultXIssueView

public DefaultXIssueView(IssueFieldManager issueFieldManager,
                         Configuration configuration,
                         IssueView issueView)
Create a new instance, using the provided issueView as backing data object for issue states.

Parameters:
issueView -
Method Detail

toggle

public void toggle(com.atlassian.jira.issue.Issue issue)
Specified by:
toggle in interface IssueView

asCard

public boolean asCard(com.atlassian.jira.issue.Issue issue)
Specified by:
asCard in interface IssueView

asSummary

public boolean asSummary(com.atlassian.jira.issue.Issue issue)
Specified by:
asSummary in interface IssueView

asList

public boolean asList(com.atlassian.jira.issue.Issue issue)
Specified by:
asList in interface IssueView

createLayout

public Layout createLayout(com.atlassian.jira.issue.Issue issue)
Creates a layout object for a given issue

Specified by:
createLayout in interface XIssueView

createCardLayout

protected CardLayout createCardLayout(IssueFieldManager issueFieldManager,
                                      CardLayouts cardLayouts,
                                      com.atlassian.jira.issue.issuetype.IssueType issueType)

createListLayout

protected ListLayout createListLayout(IssueFieldManager issueFieldManager,
                                      ListLayouts listLayouts,
                                      com.atlassian.jira.issue.issuetype.IssueType issueType)

createSummaryLayout

protected SummaryLayout createSummaryLayout(IssueFieldManager issueFieldManager,
                                            SummaryLayouts summaryLayouts,
                                            com.atlassian.jira.issue.issuetype.IssueType issueType)

getCardLayouts

protected CardLayouts getCardLayouts()

getSummaryLayouts

protected SummaryLayouts getSummaryLayouts()

getListLayouts

protected ListLayouts getListLayouts()

getCardColor

public java.lang.String getCardColor(com.atlassian.jira.issue.Issue issue)
Specified by:
getCardColor in interface XIssueView


Copyright © 2007-2011 Atlassian. All Rights Reserved.