|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.search.searchers.impl.AbstractIssueSearcher com.atlassian.jira.issue.search.searchers.impl.AbstractUserSearcher com.atlassian.jira.issue.search.searchers.impl.AssigneeSearcher
public class AssigneeSearcher
Field Summary | |
---|---|
static String |
ASSIGNEE_FIELD
field input form element name |
static String |
ASSIGNEE_SELECT_LIST
select box input form element name |
protected FieldVisibilityBean |
fieldVisibilityBean
|
static String |
NAME_KEY
message resource key |
Fields inherited from class com.atlassian.jira.issue.search.searchers.impl.AbstractUserSearcher |
---|
SELECT_LIST_GROUP, SELECT_LIST_NONE, SELECT_LIST_USER |
Fields inherited from class com.atlassian.jira.issue.search.searchers.impl.AbstractIssueSearcher |
---|
authenticationContext, EDIT_TEMPLATE_SUFFIX, field, VIEW_TEMPLATE_SUFFIX |
Fields inherited from interface com.atlassian.jira.issue.search.searchers.IssueSearcher |
---|
I18N_BUNDLE, log |
Constructor Summary | |
---|---|
AssigneeSearcher(JiraAuthenticationContext authenticationContext,
FieldVisibilityBean fieldVisibilityBean)
Constructs a new instance of this class |
Method Summary | |
---|---|
String |
getId()
Returns ASSIGNEE_FIELD |
String |
getNameKey()
Returns NAME_KEY |
protected String |
getNoneValue()
Returns DocumentConstants.ISSUE_UNASSIGNED |
List |
getRelatedIndexers()
Returns a single element list with an instance of AssigneeIndexer class |
List |
getSelectListOptions()
Returns the list of select box options by calling ParameterStore.getAssigneeTypes() on the parameter
store for the user retrieved from authentication context. |
String |
getUserField()
Returns ASSIGNEE_FIELD |
protected String |
getUserGroupSearchParamName()
Returns DocumentConstants.ISSUE_ASSIGNEE_GROUP |
protected String |
getUserSearchParamName()
Returns DocumentConstants.ISSUE_ASSIGNEE |
String |
getUserSelect()
Returns ASSIGNEE_SELECT_LIST |
boolean |
isShown(SearchContext searchContext)
Returns true or false based on fieldVisibilityBean value. |
Methods inherited from class com.atlassian.jira.issue.search.searchers.impl.AbstractUserSearcher |
---|
getEditHtml, getI18nBean, getLinkedGroup, getLinkedUser, getQuerySnippet, getTextForuser, getViewHtml, isRevelentForSeachRequest, populateFromParams, populateFromSearchRequest, populateSearchRequest, validateParams |
Methods inherited from class com.atlassian.jira.issue.search.searchers.impl.AbstractIssueSearcher |
---|
compareTo, equals, getI18n, getName, getVelocityParams, hashCode, hasPermission, init, register, renderEditTemplate, renderViewTemplate, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String NAME_KEY
public static final String ASSIGNEE_FIELD
public static final String ASSIGNEE_SELECT_LIST
protected final FieldVisibilityBean fieldVisibilityBean
Constructor Detail |
---|
public AssigneeSearcher(JiraAuthenticationContext authenticationContext, FieldVisibilityBean fieldVisibilityBean)
authenticationContext
- authentication contextfieldVisibilityBean
- field visibility beanMethod Detail |
---|
public String getId()
ASSIGNEE_FIELD
ASSIGNEE_FIELD
stringpublic String getNameKey()
NAME_KEY
NAME_KEY
stringpublic List getRelatedIndexers()
public boolean isShown(SearchContext searchContext)
fieldVisibilityBean
value. Returns false if field is hidden in all
schemes, true otherwise.
isShown
in interface IssueSearcher
isShown
in class AbstractIssueSearcher
searchContext
- search context
public List getSelectListOptions()
ParameterStore.getAssigneeTypes()
on the parameter
store for the user retrieved from authentication context.
getSelectListOptions
in class AbstractUserSearcher
public String getUserField()
ASSIGNEE_FIELD
getUserField
in class AbstractUserSearcher
ASSIGNEE_FIELD
stringpublic String getUserSelect()
ASSIGNEE_SELECT_LIST
getUserSelect
in class AbstractUserSearcher
ASSIGNEE_SELECT_LIST
stringprotected String getNoneValue()
DocumentConstants.ISSUE_UNASSIGNED
getNoneValue
in class AbstractUserSearcher
DocumentConstants.ISSUE_UNASSIGNED
stringprotected String getUserGroupSearchParamName()
DocumentConstants.ISSUE_ASSIGNEE_GROUP
getUserGroupSearchParamName
in class AbstractUserSearcher
DocumentConstants.ISSUE_ASSIGNEE_GROUP
stringprotected String getUserSearchParamName()
DocumentConstants.ISSUE_ASSIGNEE
getUserSearchParamName
in class AbstractUserSearcher
DocumentConstants.ISSUE_ASSIGNEE
string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |