|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.sharing.search.SharedEntitySearchParametersBuilder
public class SharedEntitySearchParametersBuilder
A builder object used to create searching parameters
when looking for SharedEntityColumn instances.
This has a toSearchParameters()
method that gives back a new immutable instance of SharedEntitySearchParameters when called.
SharedEntitySearchParameters
Constructor Summary | |
---|---|
SharedEntitySearchParametersBuilder()
Creates a new template with empty parameters. |
|
SharedEntitySearchParametersBuilder(SharedEntitySearchParameters sharedEntitySearchParameters)
Creates a new template based on the parameters contained within an existing SharedEntitySearchParameters instance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SharedEntitySearchParametersBuilder()
SharedEntitySearchParameters
public SharedEntitySearchParametersBuilder(SharedEntitySearchParameters sharedEntitySearchParameters)
sharedEntitySearchParameters
- the existing SharedEntitySearchParameters object. Must be non null.
IllegalArgumentException
- if the sharedEntitySearchParameters is null.SharedEntitySearchParameters
Method Detail |
---|
public SharedEntitySearchParametersBuilder setName(String name)
public SharedEntitySearchParametersBuilder setDescription(String description)
public SharedEntitySearchParametersBuilder setUserName(String user)
public SharedEntitySearchParametersBuilder setFavourite(Boolean favourite)
public SharedEntitySearchParametersBuilder setSortColumn(SharedEntityColumn column, boolean sortOrderAscending)
public SharedEntitySearchParametersBuilder setShareTypeParameter(ShareTypeSearchParameter shareTypeParameter)
GlobalShareTypeSearchParameter.GLOBAL_PARAMETER
GroupShareTypeSearchParameter
ProjectShareTypeSearchParameter
PrivateShareTypeSearchParameter.PRIVATE_PARAMETER
shareTypeParameter
- the ShareTypeSearchParameter
public SharedEntitySearchParametersBuilder setTextSearchMode(SharedEntitySearchParameters.TextSearchMode textSearchMode)
public SharedEntitySearchParametersBuilder setEntitySearchContext(SharedEntitySearchContext entitySearchContext)
public SharedEntitySearchParametersBuilder setSharePermission(SharePermission permission)
public SharedEntitySearchParameters toSearchParameters()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |