|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.sharing.type.GlobalShareQueryFactory
public class GlobalShareQueryFactory
Implementation of the ShareQueryFactory for the Global share type.
| Constructor Summary | |
|---|---|
GlobalShareQueryFactory()
|
|
| Method Summary | |
|---|---|
org.apache.lucene.document.Field |
getField(SharedEntity entity,
SharePermission permission)
Get the Field we will later search for. |
org.apache.lucene.search.Query |
getQuery(ShareTypeSearchParameter parameter)
Get the search query for all shares shares that match the passed parameter. |
org.apache.lucene.search.Query |
getQuery(ShareTypeSearchParameter parameter,
com.atlassian.crowd.embedded.api.User user)
Get the search query for the shares that can be seen by the passed user for the passed parameter. |
org.apache.lucene.index.Term[] |
getTerms(com.atlassian.crowd.embedded.api.User user)
Get the search terms for the shares that can be seen by the passed user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalShareQueryFactory()
| Method Detail |
|---|
public org.apache.lucene.index.Term[] getTerms(com.atlassian.crowd.embedded.api.User user)
ShareQueryFactory
getTerms in interface ShareQueryFactory<GlobalShareTypeSearchParameter>user - the user to perform the search on behalf of.
public org.apache.lucene.search.Query getQuery(ShareTypeSearchParameter parameter,
com.atlassian.crowd.embedded.api.User user)
ShareQueryFactory
getQuery in interface ShareQueryFactory<GlobalShareTypeSearchParameter>parameter - the parameters for the search.user - the user to perform the search on behalf of.
public org.apache.lucene.search.Query getQuery(ShareTypeSearchParameter parameter)
ShareQueryFactory
getQuery in interface ShareQueryFactory<GlobalShareTypeSearchParameter>parameter - the parameters for the search.
public org.apache.lucene.document.Field getField(SharedEntity entity,
SharePermission permission)
ShareQueryFactory
getField in interface ShareQueryFactory<GlobalShareTypeSearchParameter>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||