com.atlassian.jira.web.action.issue
Interface IssueSearchLimits

All Known Implementing Classes:
IssueSearchLimitsImpl

public interface IssueSearchLimits

Utility methods that allow you to get the limits that are imposed by JIRA configuration properties.

Since:
v4.3

Field Summary
static int DEFAULT_MAX_RESULTS
          The default maximum for the number of issues returned by a search.
 
Method Summary
 int getMaxResults()
          Returns the maximum number of search results that this JIRA instance is configured to allow, by reading it from the
 

Field Detail

DEFAULT_MAX_RESULTS

static final int DEFAULT_MAX_RESULTS
The default maximum for the number of issues returned by a search.

See Also:
Constant Field Values
Method Detail

getMaxResults

int getMaxResults()
Returns the maximum number of search results that this JIRA instance is configured to allow, by reading it from the
jira-application.properties
file. If there is a problem reading the configured value, this method returns 1000.

Returns:
an int containing the maximum number of search results to return


Copyright © 2002-2011 Atlassian. All Rights Reserved.