Package | Description |
---|---|
com.atlassian.jira.sharing | |
com.atlassian.jira.sharing.search | |
com.atlassian.jira.sharing.type |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultShareTypeValidatorUtils.isValidSearchParameter(JiraServiceContext context,
ShareTypeSearchParameter searchParameter) |
boolean |
ShareTypeValidatorUtils.isValidSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter)
Check to see if the passed SearchParameter is valid..
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractShareTypeSearchParameter
Object that represents a set of parameters when searching for all the SharePermissions of a particular ShareType.
|
class |
AuthenticatedUserShareTypeSearchParameter
Represents the search parameters when searching for AUTHENTICATED USER ShareTypes.
|
class |
GlobalShareTypeSearchParameter
Represents the search parameters when searching for Global ShareTypes.
|
class |
GroupShareTypeSearchParameter
Represents the search parameters when searching for Group ShareTypes.
|
class |
PrivateShareTypeSearchParameter
Search parameter when looking for private SharedEntity instances.
|
class |
ProjectShareTypeSearchParameter
Represents the search parameters when searching for Project ShareTypes.
|
class |
UserShareTypeSearchParameter
Represents the search parameters when searching for User ShareTypes.
|
Modifier and Type | Method and Description |
---|---|
ShareTypeSearchParameter |
SharedEntitySearchParameters.getShareTypeParameter()
Returns the ShareTypeSearchParameter object to be used.
|
Modifier and Type | Method and Description |
---|---|
SharedEntitySearchParametersBuilder |
SharedEntitySearchParametersBuilder.setShareTypeParameter(ShareTypeSearchParameter shareTypeParameter)
Sets the Share Type parameter, used to search for shared entities that are shared based
|
Modifier and Type | Interface and Description |
---|---|
interface |
ShareQueryFactory<S extends ShareTypeSearchParameter>
Create the indexed field and then query terms to find entities that have permissions related to a particular
ShareType . |
Modifier and Type | Method and Description |
---|---|
ShareQueryFactory<? extends ShareTypeSearchParameter> |
AbstractShareType.getQueryFactory() |
ShareQueryFactory<? extends ShareTypeSearchParameter> |
ShareType.getQueryFactory()
Return the object that can be used to build query conditions to find instances of this ShareType.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AuthenticatedUserShareTypeValidator.checkSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter) |
boolean |
GlobalShareTypeValidator.checkSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter) |
boolean |
ProjectShareTypeValidator.checkSearchParameter(JiraServiceContext serviceCtx,
ShareTypeSearchParameter searchParameter) |
boolean |
GroupShareTypeValidator.checkSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter) |
boolean |
UserShareTypeValidator.checkSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter)
Checks if user key passed in search parameter is an existing user.
|
boolean |
ShareTypeValidator.checkSearchParameter(JiraServiceContext ctx,
ShareTypeSearchParameter searchParameter)
Check to see if the passed SearchParameter is valid for the ShareType.
|
org.apache.lucene.search.Query |
GroupShareQueryFactory.getQuery(ShareTypeSearchParameter searchParameter) |
org.apache.lucene.search.Query |
ProjectShareQueryFactory.getQuery(ShareTypeSearchParameter searchParameter) |
org.apache.lucene.search.Query |
AuthenticatedUserShareQueryFactory.getQuery(ShareTypeSearchParameter parameter) |
org.apache.lucene.search.Query |
GlobalShareQueryFactory.getQuery(ShareTypeSearchParameter parameter) |
org.apache.lucene.search.Query |
UserShareQueryFactory.getQuery(ShareTypeSearchParameter parameter) |
org.apache.lucene.search.Query |
PrivateShareQueryFactory.getQuery(ShareTypeSearchParameter parameter) |
org.apache.lucene.search.Query |
ShareQueryFactory.getQuery(ShareTypeSearchParameter parameter)
Get the search query for all shares shares that match the passed parameter.
|
org.apache.lucene.search.Query |
GroupShareQueryFactory.getQuery(ShareTypeSearchParameter searchParameter,
ApplicationUser user) |
org.apache.lucene.search.Query |
ProjectShareQueryFactory.getQuery(ShareTypeSearchParameter searchParameter,
ApplicationUser user) |
org.apache.lucene.search.Query |
AuthenticatedUserShareQueryFactory.getQuery(ShareTypeSearchParameter parameter,
ApplicationUser user) |
org.apache.lucene.search.Query |
GlobalShareQueryFactory.getQuery(ShareTypeSearchParameter parameter,
ApplicationUser user) |
org.apache.lucene.search.Query |
UserShareQueryFactory.getQuery(ShareTypeSearchParameter parameter,
ApplicationUser user) |
org.apache.lucene.search.Query |
PrivateShareQueryFactory.getQuery(ShareTypeSearchParameter parameter,
ApplicationUser user) |
org.apache.lucene.search.Query |
ShareQueryFactory.getQuery(ShareTypeSearchParameter parameter,
ApplicationUser user)
Get the search query for the shares that can be seen by the passed user for the passed parameter.
|
Constructor and Description |
---|
AbstractShareType(ShareType.Name type,
boolean singleton,
int priority,
ShareTypeRenderer renderer,
ShareTypeValidator validator,
ShareTypePermissionChecker permissionChecker,
ShareQueryFactory<? extends ShareTypeSearchParameter> queryFactory,
Comparator<SharePermission> comparator) |
Copyright © 2002-2021 Atlassian. All Rights Reserved.