|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.search.SearchContextImpl
public class SearchContextImpl
Field Summary | |
---|---|
protected java.util.List<java.lang.String> |
issueTypeIds
|
protected java.util.List |
projectCategoryIds
|
protected java.util.List<java.lang.Long> |
projectIds
|
Constructor Summary | |
---|---|
SearchContextImpl()
|
|
SearchContextImpl(java.util.List projectCategoryIds,
java.util.List projectIds,
java.util.List issueTypeIds)
|
|
SearchContextImpl(SearchContext searchContext)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.util.List<IssueContext> |
getAsIssueContexts()
Gets the search context as a list of IssueContext objects |
java.util.List<java.lang.String> |
getIssueTypeIds()
Issue ids as Strings |
org.ofbiz.core.entity.GenericValue |
getOnlyProject()
|
java.util.List |
getProjectCategoryIds()
Returns selected categories |
java.util.List<java.lang.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()
|
java.lang.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 java.util.List projectCategoryIds
protected java.util.List<java.lang.Long> projectIds
protected java.util.List<java.lang.String> issueTypeIds
Constructor Detail |
---|
public SearchContextImpl()
public SearchContextImpl(java.util.List projectCategoryIds, java.util.List projectIds, java.util.List issueTypeIds)
public SearchContextImpl(SearchContext searchContext)
Method Detail |
---|
public boolean isForAnyProjects()
SearchContext
isForAnyProjects
in interface SearchContext
public boolean isForAnyIssueTypes()
SearchContext
isForAnyIssueTypes
in interface SearchContext
public boolean isSingleProjectContext()
isSingleProjectContext
in interface SearchContext
public java.util.List getProjectCategoryIds()
SearchContext
getProjectCategoryIds
in interface SearchContext
public java.util.List<java.lang.Long> getProjectIds()
SearchContext
getProjectIds
in interface SearchContext
public org.ofbiz.core.entity.GenericValue getOnlyProject()
getOnlyProject
in interface SearchContext
public java.util.List<java.lang.String> getIssueTypeIds()
SearchContext
getIssueTypeIds
in interface SearchContext
public java.util.List<IssueContext> getAsIssueContexts()
SearchContext
IssueContext
objects
getAsIssueContexts
in interface SearchContext
IssueContext
. If no issue types or projects selected. A blank issue context is returned. Never null.public void verify()
SearchContext
verify
in interface SearchContext
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |