com.atlassian.jira.web.action.issue
Class DefaultBugAssociatorPrefs

java.lang.Object
  extended by com.atlassian.jira.web.action.issue.DefaultBugAssociatorPrefs
All Implemented Interfaces:
BugAssociatorPrefs

public class DefaultBugAssociatorPrefs
extends Object
implements BugAssociatorPrefs


Field Summary
 
Fields inherited from interface com.atlassian.jira.web.action.issue.BugAssociatorPrefs
MULTIPLE, RECENT, SEARCH, SINGLE
 
Constructor Summary
DefaultBugAssociatorPrefs()
           
 
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 BugAssociatorPrefs.SEARCH mode is used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBugAssociatorPrefs

public DefaultBugAssociatorPrefs()
Method Detail

getDefaultMode

public int getDefaultMode(Issue issue)
Description copied from interface: BugAssociatorPrefs
What to show initially.

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

getDefaultSearchMode

public int getDefaultSearchMode(Issue issue)
Description copied from interface: BugAssociatorPrefs
Whether users can select just one or multiple issues.

Specified by:
getDefaultSearchMode in interface BugAssociatorPrefs
Returns:
BugAssociatorPrefs.SINGLE - select just one issue or BugAssociatorPrefs.MULTIPLE select multiple issues (checkboxes).

getDefaultSearchRequestId

public long getDefaultSearchRequestId(Issue issue)
Description copied from interface: BugAssociatorPrefs
Get the search request to run initially, if the BugAssociatorPrefs.SEARCH mode is used.

Specified by:
getDefaultSearchRequestId in interface BugAssociatorPrefs


Copyright © 2002-2014 Atlassian. All Rights Reserved.