com.atlassian.jira.rest.v2.search
Class FilterBeanBuilder

java.lang.Object
  extended by com.atlassian.jira.rest.v2.search.FilterBeanBuilder

public class FilterBeanBuilder
extends Object

A builder utility to create a FilterBean

Since:
v5.2

Constructor Summary
FilterBeanBuilder(JiraAuthenticationContext authContext, ProjectManager projectManager, ProjectRoleManager projectRoleManager, ProjectBeanFactory projectBeanFactory, javax.ws.rs.core.UriInfo uriInfo, ShareTypeFactory shareTypeFactory, UserManager userManager, JqlStringSupport jqlStringSupport)
           
 
Method Summary
 FilterBean build()
           
 FilterBeanBuilder context(javax.ws.rs.core.UriInfo context, String canoncialBaseUrl)
          Sets the context.
 FilterBeanBuilder favourite(boolean favourite)
           
 FilterBeanBuilder filter(SearchRequest filter)
          Sets the filter
 FilterBeanBuilder owner(com.atlassian.crowd.embedded.api.User owner)
           
 FilterBeanBuilder subscriptions(Collection<org.ofbiz.core.entity.GenericValue> subscriptions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterBeanBuilder

public FilterBeanBuilder(JiraAuthenticationContext authContext,
                         ProjectManager projectManager,
                         ProjectRoleManager projectRoleManager,
                         ProjectBeanFactory projectBeanFactory,
                         javax.ws.rs.core.UriInfo uriInfo,
                         ShareTypeFactory shareTypeFactory,
                         UserManager userManager,
                         JqlStringSupport jqlStringSupport)
Method Detail

filter

public FilterBeanBuilder filter(SearchRequest filter)
Sets the filter

Parameters:
filter - a filter
Returns:
this

context

public FilterBeanBuilder context(javax.ws.rs.core.UriInfo context,
                                 String canoncialBaseUrl)
Sets the context.

Parameters:
context - a UriInfo
canoncialBaseUrl - the baseurl of this instance
Returns:
this

owner

public FilterBeanBuilder owner(com.atlassian.crowd.embedded.api.User owner)

favourite

public FilterBeanBuilder favourite(boolean favourite)

subscriptions

public FilterBeanBuilder subscriptions(Collection<org.ofbiz.core.entity.GenericValue> subscriptions)

build

public FilterBean build()


Copyright © 2002-2013 Atlassian. All Rights Reserved.