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

All Known Implementing Classes:
DefaultBugAssociatorPrefs

public interface BugAssociatorPrefs

Class encapsulating behaviour on the "issue picker" popup shown when linking issues.


Field Summary
static int MULTIPLE
           
static int RECENT
           
static int SEARCH
           
static int SINGLE
           
 
Method Summary
 int getDefaultMode(Issue issue)
          What to show initially.
 int getDefaultSearchMode(Issue issue)
          Whether users can select just one or multiple issues.
 long getDefaultSearchRequestId(Issue issue)
          Get the search request to run initially, if the SEARCH mode is used.
 

Field Detail

RECENT

static final int RECENT
See Also:
Constant Field Values

SEARCH

static final int SEARCH
See Also:
Constant Field Values

SINGLE

static final int SINGLE
See Also:
Constant Field Values

MULTIPLE

static final int MULTIPLE
See Also:
Constant Field Values
Method Detail

getDefaultMode

int getDefaultMode(Issue issue)
What to show initially.

Returns:
RECENT -- show recently viewed issues. SEARCH - show a predefined search request's issues (see getDefaultSearchRequestId(com.atlassian.jira.issue.Issue)

getDefaultSearchMode

int getDefaultSearchMode(Issue issue)
Whether users can select just one or multiple issues.

Parameters:
issue -
Returns:
SINGLE - select just one issue or MULTIPLE select multiple issues (checkboxes).

getDefaultSearchRequestId

long getDefaultSearchRequestId(Issue issue)
Get the search request to run initially, if the SEARCH mode is used.



Copyright © 2002-2010 Atlassian. All Rights Reserved.