public class SharedEntitySearchParametersBuilder extends Object
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 and Description |
---|
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
|
public SharedEntitySearchParametersBuilder()
SharedEntitySearchParameters
public SharedEntitySearchParametersBuilder(SharedEntitySearchParameters sharedEntitySearchParameters)
sharedEntitySearchParameters
- the existing SharedEntitySearchParameters object. Must be non null.IllegalArgumentException
- if the sharedEntitySearchParameters is null.SharedEntitySearchParameters
public SharedEntitySearchParametersBuilder setName(String name)
public SharedEntitySearchParametersBuilder setDescription(String description)
public SharedEntitySearchParametersBuilder setUserName(String user)
public SharedEntitySearchParametersBuilder setFavourite(Boolean favourite)
public SharedEntitySearchParametersBuilder setSortColumn(@Nullable SharedEntityColumn column, boolean sortOrderAscending)
public SharedEntitySearchParametersBuilder setShareTypeParameter(ShareTypeSearchParameter shareTypeParameter)
The following classes and singleton instances can be used
shareTypeParameter
- the ShareTypeSearchParameterpublic SharedEntitySearchParametersBuilder setTextSearchMode(SharedEntitySearchParameters.TextSearchMode textSearchMode)
public SharedEntitySearchParametersBuilder setEntitySearchContext(SharedEntitySearchContext entitySearchContext)
public SharedEntitySearchParametersBuilder setSharePermission(SharePermission permission)
public SharedEntitySearchParameters toSearchParameters()
Copyright © 2002-2023 Atlassian. All Rights Reserved.