Modifier and Type | Method and Description |
---|---|
ServiceOutcome<SearchRequest> |
FilterPermissionHelper.addSharePermissionToSavedFilter(ApplicationUser user,
SearchRequest filter,
SharePermission sharePermission) |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<SharePermission> |
SharePermissionFactory.fromBean(SharePermissionInputBean inputBean,
I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
FilterPermissionBean |
FilterPermissionBeanFactory.buildPermissionBean(ApplicationUser user,
SharePermission sharePermission) |
Modifier and Type | Class and Description |
---|---|
class |
SharePermissionImpl
Simple Bean implementation of
SharePermission . |
Modifier and Type | Method and Description |
---|---|
static SharePermission |
SharePermissionUtils.fromJsonObject(JSONObject json)
Return a SharePermission from a JSON object.
|
static SharePermission |
SharePermissionUtils.fromJsonObjectString(String jsonString)
Create a SharePermission from the passed JSON string.
|
Modifier and Type | Method and Description |
---|---|
Set<SharePermission> |
SharedEntity.SharePermissions.getPermissionSet() |
Iterator<SharePermission> |
SharedEntity.SharePermissions.iterator() |
Modifier and Type | Method and Description |
---|---|
int |
CachingSharePermissionStore.deleteSharePermissionsLike(SharePermission permission) |
int |
OfBizSharePermissionStore.deleteSharePermissionsLike(SharePermission permission) |
void |
DefaultShareManager.deleteSharePermissionsLike(SharePermission permission) |
int |
SharePermissionStore.deleteSharePermissionsLike(SharePermission permission)
Deletes
SharePermission 's that have the same "shape" as the provided share permission. |
void |
ShareManager.deleteSharePermissionsLike(SharePermission permission)
Deletes
SharePermission 's that have the same "shape" as the provided share permission. |
void |
SharePermissionReindexer.reindex(SharePermission permission)
Given a permission, re-index all entities that currently have that permission in the index.
|
void |
DefaultSharePermissionReindexer.reindex(SharePermission permission) |
static JSONObject |
SharePermissionUtils.toJson(SharePermission permission)
Convert the passed permission into a JSON object.
|
Modifier and Type | Method and Description |
---|---|
static JSONArray |
SharePermissionUtils.toJsonArray(Collection<SharePermission> permissions)
Converts the passed SharePermissions into a JSON array.
|
Constructor and Description |
---|
SharePermissions(Set<? extends SharePermission> permissions) |
Modifier and Type | Method and Description |
---|---|
SharedEntitySearchParametersBuilder |
SharedEntitySearchParametersBuilder.setSharePermission(SharePermission permission) |
Modifier and Type | Method and Description |
---|---|
Comparator<SharePermission> |
AbstractShareType.getComparator() |
Comparator<SharePermission> |
ShareType.getComparator()
Return a comparator that can order a
SharePermission of this type. |
Comparator<SharePermission> |
DefaultShareTypeFactory.getPermissionComparator() |
Comparator<SharePermission> |
ShareTypeFactory.getPermissionComparator()
Return a comparator that can order
SharePermission s for display. |
Modifier and Type | Method and Description |
---|---|
boolean |
GroupShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission) |
boolean |
AuthenticatedUserShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission)
The user must have the authenticated user permission to share filters.
|
boolean |
ProjectShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission)
checks that the user has browse permission for the given project if no role is given, else checks that the
user is part of that role for the given project.
|
boolean |
GlobalShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission)
The user must have the global permission to share filters.
|
boolean |
ShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission)
Checks if the passed SharePermission is valid for the associated ShareType.
|
int |
ProjectSharePermissionComparator.comparePermissions(SharePermission perm1,
SharePermission perm2) |
org.apache.lucene.document.Field |
GlobalShareQueryFactory.getField(SharedEntity entity,
SharePermission permission) |
org.apache.lucene.document.Field |
ProjectShareQueryFactory.getField(SharedEntity entity,
SharePermission permission) |
org.apache.lucene.document.Field |
AuthenticatedUserShareQueryFactory.getField(SharedEntity entity,
SharePermission permission) |
org.apache.lucene.document.Field |
PrivateShareQueryFactory.getField(SharedEntity entity,
SharePermission permission) |
org.apache.lucene.document.Field |
GroupShareQueryFactory.getField(SharedEntity entity,
SharePermission permission) |
org.apache.lucene.document.Field |
ShareQueryFactory.getField(SharedEntity entity,
SharePermission permission)
Get the Field we will later search for.
|
String |
GroupShareTypeRenderer.getSimpleDescription(SharePermission permission,
JiraAuthenticationContext authenticationContext) |
String |
AuthenticatedUserShareTypeRenderer.getSimpleDescription(SharePermission permission,
JiraAuthenticationContext authenticationContext) |
String |
ProjectShareTypeRenderer.getSimpleDescription(SharePermission permission,
JiraAuthenticationContext authenticationContext) |
String |
GlobalShareTypeRenderer.getSimpleDescription(SharePermission permission,
JiraAuthenticationContext authenticationContext) |
String |
ShareTypeRenderer.getSimpleDescription(SharePermission permission,
JiraAuthenticationContext userCtx)
Return a simple text only description of the share.
|
boolean |
GroupShareTypePermissionChecker.hasPermission(ApplicationUser user,
SharePermission permission)
Checks to see if user is part of the group specified in the permission
|
boolean |
GlobalShareTypePermissionChecker.hasPermission(ApplicationUser user,
SharePermission permission)
All JIRA users are able to see/use globally shared
SharedEntity so this
will always return true, regardless of user passed in. |
boolean |
ProjectShareTypePermissionChecker.hasPermission(ApplicationUser user,
SharePermission permission)
If a role has been passed in, checks to see if the user is in that role for the given project.
|
boolean |
AuthenticatedUserShareTypePermissionChecker.hasPermission(ApplicationUser user,
SharePermission permission)
All JIRA authenticated users are able to see/use shared
SharedEntity so this
will always return true, if the user is not null. |
boolean |
ShareTypePermissionChecker.hasPermission(ApplicationUser user,
SharePermission permission)
Checks if the passed user is given rights by the ShareType to user/view a
SharedEntity with the passed
permission. |
String |
GroupShareTypeRenderer.renderPermission(SharePermission permission,
JiraAuthenticationContext authenticationContext) |
String |
AuthenticatedUserShareTypeRenderer.renderPermission(SharePermission permission,
JiraAuthenticationContext authenticationContext) |
String |
ProjectShareTypeRenderer.renderPermission(SharePermission permission,
JiraAuthenticationContext authenticationContext) |
String |
GlobalShareTypeRenderer.renderPermission(SharePermission permission,
JiraAuthenticationContext authenticationContext) |
String |
ShareTypeRenderer.renderPermission(SharePermission permission,
JiraAuthenticationContext userCtx)
Return HTML that shows the configured share.
|
Constructor and Description |
---|
GroupSharePermission(SharePermission permission) |
ProjectSharePermission(SharePermission permission) |
Constructor and Description |
---|
AbstractShareType(ShareType.Name type,
boolean singleton,
int priority,
ShareTypeRenderer renderer,
ShareTypeValidator validator,
ShareTypePermissionChecker permissionChecker,
ShareQueryFactory<? extends ShareTypeSearchParameter> queryFactory,
Comparator<SharePermission> comparator) |
Modifier and Type | Method and Description |
---|---|
Set<SharePermission> |
EditFilter.getSharePermissions() |
Modifier and Type | Method and Description |
---|---|
Collection<SharePermission> |
PortalPageDisplayBean.getAllSharePermissions() |
Collection<SharePermission> |
SearchRequestDisplayBean.getAllSharePermissions() |
Collection<SharePermission> |
PortalPageDisplayBean.getSharePermissions() |
Collection<SharePermission> |
SearchRequestDisplayBean.getSharePermissions() |
Modifier and Type | Method and Description |
---|---|
String |
PortalPageDisplayBean.getShareView(SharePermission sharePermission)
Return HTML view of the current sharing status of the page.
|
String |
SearchRequestDisplayBean.getShareView(SharePermission sharePermission)
Return HTML view of the current sharing status of the filter.
|
String |
PortalPageDisplayBean.getSimpleDescription(SharePermission sharePermission)
Return a simple description of the passed in permission.
|
String |
SearchRequestDisplayBean.getSimpleDescription(SharePermission sharePermission)
Return a simple description of the passed in permission.
|
Copyright © 2002-2017 Atlassian. All Rights Reserved.