Uses of Interface
com.atlassian.jira.sharing.SharePermission
Packages that use SharePermission
Package
Description
-
Uses of SharePermission in com.atlassian.jira.rest.util
Methods in com.atlassian.jira.rest.util with parameters of type SharePermissionModifier and TypeMethodDescriptionFilterPermissionHelper.addSharePermissionToSavedFilter(ApplicationUser user, SearchRequest filter, SharePermission sharePermission) -
Uses of SharePermission in com.atlassian.jira.rest.v2.search
Methods in com.atlassian.jira.rest.v2.search that return types with arguments of type SharePermissionModifier and TypeMethodDescriptionSharePermissionFactory.fromBean(SharePermissionInputBean inputBean, I18nHelper i18nHelper) Methods in com.atlassian.jira.rest.v2.search with parameters of type SharePermissionModifier and TypeMethodDescriptionFilterPermissionBeanFactory.buildPermissionBean(ApplicationUser user, SharePermission sharePermission) -
Uses of SharePermission in com.atlassian.jira.sharing
Classes in com.atlassian.jira.sharing that implement SharePermissionMethods in com.atlassian.jira.sharing that return SharePermissionModifier and TypeMethodDescriptionstatic SharePermissionSharePermissionUtils.fromJsonObject(JSONObject json) Return a SharePermission from a JSON object.static SharePermissionSharePermissionUtils.fromJsonObjectString(String jsonString) Create a SharePermission from the passed JSON string.Methods in com.atlassian.jira.sharing that return types with arguments of type SharePermissionModifier and TypeMethodDescriptionSharedEntity.SharePermissions.getPermissionSet()SharedEntity.SharePermissions.iterator()Methods in com.atlassian.jira.sharing with parameters of type SharePermissionModifier and TypeMethodDescriptionintCachingSharePermissionStore.deleteSharePermissionsLike(SharePermission permission) voidDefaultShareManager.deleteSharePermissionsLike(SharePermission permission) intOfBizSharePermissionStore.deleteSharePermissionsLike(SharePermission permission) voidShareManager.deleteSharePermissionsLike(SharePermission permission) DeletesSharePermission's that have the same "shape" as the provided share permission.intSharePermissionStore.deleteSharePermissionsLike(SharePermission permission) DeletesSharePermission's that have the same "shape" as the provided share permission.voidDefaultSharePermissionReindexer.reindex(SharePermission permission) voidSharePermissionReindexer.reindex(SharePermission permission) Given a permission, re-index all entities that currently have that permission in the index.static JSONObjectSharePermissionUtils.toJson(SharePermission permission) Convert the passed permission into a JSON object.Method parameters in com.atlassian.jira.sharing with type arguments of type SharePermissionModifier and TypeMethodDescriptionstatic JSONArraySharePermissionUtils.toJsonArray(Collection<SharePermission> permissions) Converts the passed SharePermissions into a JSON array.Constructor parameters in com.atlassian.jira.sharing with type arguments of type SharePermission -
Uses of SharePermission in com.atlassian.jira.sharing.search
Methods in com.atlassian.jira.sharing.search with parameters of type SharePermissionModifier and TypeMethodDescriptionSharedEntitySearchParametersBuilder.setSharePermission(SharePermission permission) -
Uses of SharePermission in com.atlassian.jira.sharing.type
Methods in com.atlassian.jira.sharing.type that return types with arguments of type SharePermissionModifier and TypeMethodDescriptionAbstractShareType.getComparator()ShareType.getComparator()Return a comparator that can order aSharePermissionof this type.DefaultShareTypeFactory.getPermissionComparator()ShareTypeFactory.getPermissionComparator()Return a comparator that can orderSharePermissions for display.Methods in com.atlassian.jira.sharing.type with parameters of type SharePermissionModifier and TypeMethodDescriptionbooleanAuthenticatedUserShareTypeValidator.checkSharePermission(JiraServiceContext ctx, SharePermission permission) The user must have the authenticated user permission to share filters.booleanGlobalShareTypeValidator.checkSharePermission(JiraServiceContext ctx, SharePermission permission) The user must have the global permission to share filters.booleanGroupShareTypeValidator.checkSharePermission(JiraServiceContext ctx, SharePermission permission) booleanProjectShareTypeValidator.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.booleanShareTypeValidator.checkSharePermission(JiraServiceContext ctx, SharePermission permission) Checks if the passed SharePermission is valid for the associated ShareType.booleanUserShareTypeValidator.checkSharePermission(JiraServiceContext ctx, SharePermission permission) Checks if current user has proper permissions and user to be shared with existsintProjectSharePermissionComparator.comparePermissions(SharePermission perm1, SharePermission perm2) org.apache.lucene.document.FieldAuthenticatedUserShareQueryFactory.getField(SharedEntity entity, SharePermission permission) org.apache.lucene.document.FieldGlobalShareQueryFactory.getField(SharedEntity entity, SharePermission permission) org.apache.lucene.document.FieldGroupShareQueryFactory.getField(SharedEntity entity, SharePermission permission) org.apache.lucene.document.FieldPrivateShareQueryFactory.getField(SharedEntity entity, SharePermission permission) org.apache.lucene.document.FieldProjectShareQueryFactory.getField(SharedEntity entity, SharePermission permission) org.apache.lucene.document.FieldShareQueryFactory.getField(SharedEntity entity, SharePermission permission) Get the Field we will later search for.org.apache.lucene.document.FieldUserShareQueryFactory.getField(SharedEntity entity, SharePermission permission) AuthenticatedUserShareTypeRenderer.getSimpleDescription(SharePermission permission, JiraAuthenticationContext authenticationContext) GlobalShareTypeRenderer.getSimpleDescription(SharePermission permission, JiraAuthenticationContext authenticationContext) GroupShareTypeRenderer.getSimpleDescription(SharePermission permission, JiraAuthenticationContext authenticationContext) ProjectShareTypeRenderer.getSimpleDescription(SharePermission permission, JiraAuthenticationContext authenticationContext) ShareTypeRenderer.getSimpleDescription(SharePermission permission, JiraAuthenticationContext userCtx) Return a simple text only description of the share.UserShareTypeRenderer.getSimpleDescription(SharePermission permission, JiraAuthenticationContext userCtx) booleanAuthenticatedUserShareTypePermissionChecker.hasPermission(ApplicationUser user, SharePermission permission) All JIRA authenticated users are able to see/use sharedSharedEntityso this will always return true, if the user is not null.booleanGlobalShareTypePermissionChecker.hasPermission(ApplicationUser user, SharePermission permission) All JIRA users are able to see/use globally sharedSharedEntityso this will always return true, regardless of user passed in.booleanGroupShareTypePermissionChecker.hasPermission(ApplicationUser user, SharePermission permission) Checks to see if user is part of the group specified in the permissionbooleanProjectShareTypePermissionChecker.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.booleanShareTypePermissionChecker.hasPermission(ApplicationUser user, SharePermission permission) Checks if the passed user is given rights by the ShareType to user/view aSharedEntitywith the passed permission.booleanUserShareTypePermissionChecker.hasPermission(ApplicationUser userToBeChecked, SharePermission permission) Checks if specified user is the same as in share permissionAuthenticatedUserShareTypeRenderer.renderPermission(SharePermission permission, JiraAuthenticationContext authenticationContext) GlobalShareTypeRenderer.renderPermission(SharePermission permission, JiraAuthenticationContext authenticationContext) GroupShareTypeRenderer.renderPermission(SharePermission permission, JiraAuthenticationContext authenticationContext) ProjectShareTypeRenderer.renderPermission(SharePermission permission, JiraAuthenticationContext authenticationContext) ShareTypeRenderer.renderPermission(SharePermission permission, JiraAuthenticationContext userCtx) Return HTML that shows the configured share.UserShareTypeRenderer.renderPermission(SharePermission permission, JiraAuthenticationContext userCtx) Constructors in com.atlassian.jira.sharing.type with parameters of type SharePermissionModifierConstructorDescriptionGroupSharePermission(SharePermission permission) ProjectSharePermission(SharePermission permission) UserSharePermission(SharePermission permission) Constructor parameters in com.atlassian.jira.sharing.type with type arguments of type SharePermissionModifierConstructorDescriptionAbstractShareType(ShareType.Name type, boolean singleton, int priority, ShareTypeRenderer renderer, ShareTypeValidator validator, ShareTypePermissionChecker permissionChecker, ShareQueryFactory<? extends ShareTypeSearchParameter> queryFactory, Comparator<SharePermission> comparator) -
Uses of SharePermission in com.atlassian.jira.web.action.filter
Methods in com.atlassian.jira.web.action.filter that return types with arguments of type SharePermission