|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.issue.search.SearchContextImpl
public class SearchContextImpl
| Field Summary | |
|---|---|
protected List<String> |
issueTypeIds
|
protected List |
projectCategoryIds
|
protected List<Long> |
projectIds
|
| Constructor Summary | |
|---|---|
SearchContextImpl()
|
|
SearchContextImpl(List projectCategoryIds,
List projectIds,
List issueTypeIds)
|
|
SearchContextImpl(SearchContext searchContext)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
List<IssueContext> |
getAsIssueContexts()
Gets the search context as a list of IssueContext objects |
List<String> |
getIssueTypeIds()
Issue ids as Strings |
org.ofbiz.core.entity.GenericValue |
getOnlyProject()
|
List |
getProjectCategoryIds()
Returns selected categories |
List<Long> |
getProjectIds()
Project ids as Longs. |
int |
hashCode()
|
boolean |
isForAnyIssueTypes()
Returns true if no specific issue types have been selected |
boolean |
isForAnyProjects()
Returns whether the context is global or not. |
boolean |
isSingleProjectContext()
|
String |
toString()
|
void |
verify()
Verifies that all issue types and projects in the context actually still exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected List projectCategoryIds
protected List<Long> projectIds
protected List<String> issueTypeIds
| Constructor Detail |
|---|
public SearchContextImpl()
public SearchContextImpl(List projectCategoryIds,
List projectIds,
List issueTypeIds)
public SearchContextImpl(SearchContext searchContext)
| Method Detail |
|---|
public boolean isForAnyProjects()
SearchContext
isForAnyProjects in interface SearchContextpublic boolean isForAnyIssueTypes()
SearchContext
isForAnyIssueTypes in interface SearchContextpublic boolean isSingleProjectContext()
isSingleProjectContext in interface SearchContextpublic List getProjectCategoryIds()
SearchContext
getProjectCategoryIds in interface SearchContextpublic List<Long> getProjectIds()
SearchContext
getProjectIds in interface SearchContextpublic org.ofbiz.core.entity.GenericValue getOnlyProject()
getOnlyProject in interface SearchContextpublic List<String> getIssueTypeIds()
SearchContext
getIssueTypeIds in interface SearchContextpublic List<IssueContext> getAsIssueContexts()
SearchContextIssueContext objects
getAsIssueContexts in interface SearchContextIssueContext. If no issue types or projects selected. A blank issue context is returned. Never null.public void verify()
SearchContext
verify in interface SearchContextpublic String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||