|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.web.dwr.AjaxIssuePicker
public class AjaxIssuePicker
This is the DWR entry point for the AJAX issue picker. It uses a IssuePickerSearchService
to
find results.
Field Summary | |
---|---|
static String |
AJAX_RESULT_SECTION
|
Constructor Summary | |
---|---|
AjaxIssuePicker(JiraAuthenticationContext authContext,
IssuePickerSearchService service,
IssueManager issueManager,
ApplicationProperties applicationProperties,
ProjectManager projectManager)
The bean AjaxIssuePicker is instatiated by the DWR pico create in response to a DWR request |
Method Summary | |
---|---|
protected JiraServiceContext |
getContext()
|
AutoCompleteResults |
getIssues(String fieldName,
String query,
String currentIssueKey,
String currentProjectId,
boolean showSubTasks,
boolean showSubTaskParent)
This is the AJAX entry point to find issues given a query string. |
protected String |
getText(String key)
Translates a given key using i18n bean |
protected String |
getText(String key,
Object param)
Translates a given key using i18n bean, passing in param |
protected String |
getText(String key,
Object param1,
Object param2)
Translates a given key using i18n bean, passing in param |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String AJAX_RESULT_SECTION
Constructor Detail |
---|
public AjaxIssuePicker(JiraAuthenticationContext authContext, IssuePickerSearchService service, IssueManager issueManager, ApplicationProperties applicationProperties, ProjectManager projectManager)
authContext
- the Jira autnetication contextservice
- the business component that does issue searchingissueManager
- the good old IssueManagerapplicationProperties
- JIRA app propertiesprojectManager
- Project ManagerMethod Detail |
---|
public AutoCompleteResults getIssues(String fieldName, String query, String currentIssueKey, String currentProjectId, boolean showSubTasks, boolean showSubTaskParent)
query
- what the user type in to search oncurrentIssueKey
- the current issue or nullcurrentProjectId
- the current project id or nullshowSubTasks
- set to false if sub tasks should be greyed outshowSubTaskParent
- set to false to have parent issue greyed outfieldName
- The field that we are giving results for
protected JiraServiceContext getContext()
protected String getText(String key)
key
- key to translate
protected String getText(String key, Object param)
key
- key to transkateparam
- param to insert into property
protected String getText(String key, Object param1, Object param2)
key
- key to transkateparam1
- param to insert into propertyparam2
- param to insert into property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |