com.atlassian.jira.plugin.projectpanel.fragment.impl
Class DueIssuesFragment

java.lang.Object
  extended by com.atlassian.jira.plugin.projectpanel.fragment.impl.AbstractFragment
      extended by com.atlassian.jira.plugin.projectpanel.fragment.impl.AbstractMultiFragment
          extended by com.atlassian.jira.plugin.projectpanel.fragment.impl.AbstractIssuesFragment
              extended by com.atlassian.jira.plugin.projectpanel.fragment.impl.DueIssuesFragment
All Implemented Interfaces:
ComponentTabPanelFragment, ProjectTabPanelFragment, VersionTabPanelFragment

public class DueIssuesFragment
extends AbstractIssuesFragment

The fragment which displays the earliest issues due

Since:
v4.0

Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.projectpanel.fragment.impl.AbstractIssuesFragment
searchProvider, TEMPLATE_DIRECTORY_PATH
 
Fields inherited from class com.atlassian.jira.plugin.projectpanel.fragment.impl.AbstractFragment
applicationProperites, jiraAuthenticationContext, velocityManager
 
Constructor Summary
DueIssuesFragment(com.atlassian.velocity.VelocityManager velocityManager, ApplicationProperties applicationProperites, JiraAuthenticationContext jiraAuthenticationContext, SearchProvider searchProvider)
           
 
Method Summary
 String getId()
          Returns fragmet's ID.
 boolean showFragment(BrowseContext ctx)
          Whether or not to include a fragment.
 
Methods inherited from class com.atlassian.jira.plugin.projectpanel.fragment.impl.AbstractIssuesFragment
createVelocityParams, getTemplateDirectoryPath
 
Methods inherited from class com.atlassian.jira.plugin.projectpanel.fragment.impl.AbstractFragment
getHtml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.plugin.projectpanel.fragment.ProjectTabPanelFragment
getHtml
 

Constructor Detail

DueIssuesFragment

public DueIssuesFragment(com.atlassian.velocity.VelocityManager velocityManager,
                         ApplicationProperties applicationProperites,
                         JiraAuthenticationContext jiraAuthenticationContext,
                         SearchProvider searchProvider)
Method Detail

getId

public String getId()
Description copied from interface: ProjectTabPanelFragment
Returns fragmet's ID.

Returns:
id of the fragment, never null

showFragment

public boolean showFragment(BrowseContext ctx)
Description copied from interface: ProjectTabPanelFragment
Whether or not to include a fragment. E.g. check permissios or if there is no contnent to render

Specified by:
showFragment in interface ProjectTabPanelFragment
Overrides:
showFragment in class AbstractIssuesFragment
Parameters:
ctx - the browse context
Returns:
True if the display issue count is greater than zero, and there are issues returned by the search request.


Copyright © 2002-2009 Atlassian. All Rights Reserved.