Uses of Interface
com.atlassian.jira.sharing.SharePermission

Packages that use SharePermission
com.atlassian.jira.sharing   
com.atlassian.jira.sharing.search   
com.atlassian.jira.sharing.type   
com.atlassian.jira.web.action.util   
 

Uses of SharePermission in com.atlassian.jira.sharing
 

Classes in com.atlassian.jira.sharing that implement SharePermission
 class SharePermissionImpl
          Simple Bean implementation of SharePermission.
 

Methods in com.atlassian.jira.sharing that return SharePermission
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.
 

Methods in com.atlassian.jira.sharing with parameters of type SharePermission
 void ShareManager.deleteSharePermissionsLike(SharePermission permission)
          Deletes SharePermission's that have the same "shape" as the provided share permission.
 int SharePermissionStore.deleteSharePermissionsLike(SharePermission permission)
          Deletes SharePermission's that have the same "shape" as the provided share permission.
 int OfBizSharePermissionStore.deleteSharePermissionsLike(SharePermission permission)
           
 int CachingSharePermissionStore.deleteSharePermissionsLike(SharePermission permission)
           
 void DefaultShareManager.deleteSharePermissionsLike(SharePermission permission)
           
 void DefaultSharePermissionReindexer.reindex(SharePermission permission)
           
 void SharePermissionReindexer.reindex(SharePermission permission)
          Given a permission, re-index all entities that currently have that permission in the index.
static JSONObject SharePermissionUtils.toJson(SharePermission permission)
          Convert the passed permission into a JSON object.
 

Uses of SharePermission in com.atlassian.jira.sharing.search
 

Methods in com.atlassian.jira.sharing.search with parameters of type SharePermission
 SharedEntitySearchParametersBuilder SharedEntitySearchParametersBuilder.setSharePermission(SharePermission permission)
           
 

Uses of SharePermission in com.atlassian.jira.sharing.type
 

Methods in com.atlassian.jira.sharing.type with parameters of type SharePermission
 boolean GlobalShareTypeValidator.checkSharePermission(JiraServiceContext ctx, SharePermission permission)
          The user must have the global permission to share filters.
 boolean GroupShareTypeValidator.checkSharePermission(JiraServiceContext ctx, SharePermission permission)
           
 boolean ShareTypeValidator.checkSharePermission(JiraServiceContext ctx, SharePermission permission)
          Checks if the passed SharePermission is valid for the associated ShareType.
 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.
 int ProjectShareTypeComparator.comparePermissions(SharePermission perm1, SharePermission perm2)
           
 int GroupShareTypeComparator.comparePermissions(SharePermission perm1, SharePermission perm2)
           
protected  int DefaultShareTypeComparator.comparePermissions(SharePermission perm1, SharePermission perm2)
           
 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.
 org.apache.lucene.document.Field PrivateShareQueryFactory.getField(SharedEntity entity, SharePermission permission)
           
 org.apache.lucene.document.Field ProjectShareQueryFactory.getField(SharedEntity entity, SharePermission permission)
           
 org.apache.lucene.document.Field GlobalShareQueryFactory.getField(SharedEntity entity, SharePermission permission)
           
 String ShareTypeRenderer.getSimpleDescription(SharePermission permission, JiraAuthenticationContext userCtx)
          Return a simple text only description of the share.
 String ProjectShareTypeRenderer.getSimpleDescription(SharePermission permission, JiraAuthenticationContext authenticationContext)
           
 String GlobalShareTypeRenderer.getSimpleDescription(SharePermission permission, JiraAuthenticationContext authenticationContext)
           
 String GroupShareTypeRenderer.getSimpleDescription(SharePermission permission, JiraAuthenticationContext authenticationContext)
           
 boolean ProjectShareTypePermissionChecker.hasPermission(User 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 GlobalShareTypePermissionChecker.hasPermission(User 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 ShareTypePermissionChecker.hasPermission(User user, SharePermission permission)
          Checks if the passed user is given rights by the ShareType to user/view a SharedEntity with the passed permission.
 boolean GroupShareTypePermissionChecker.hasPermission(User user, SharePermission permission)
          Checks to see if user is part of the group specified in the permission
 String ShareTypeRenderer.renderPermission(SharePermission permission, JiraAuthenticationContext userCtx)
          Return HTML that shows the configured share.
 String ProjectShareTypeRenderer.renderPermission(SharePermission permission, JiraAuthenticationContext authenticationContext)
           
 String GlobalShareTypeRenderer.renderPermission(SharePermission permission, JiraAuthenticationContext authenticationContext)
           
 String GroupShareTypeRenderer.renderPermission(SharePermission permission, JiraAuthenticationContext authenticationContext)
           
 

Constructors in com.atlassian.jira.sharing.type with parameters of type SharePermission
GroupSharePermission(SharePermission permission)
           
ProjectSharePermission(SharePermission permission)
           
 

Uses of SharePermission in com.atlassian.jira.web.action.util
 

Methods in com.atlassian.jira.web.action.util with parameters of type SharePermission
 String SearchRequestDisplayBean.getShareView(SharePermission sharePermission)
          Return HTML view of the current sharing status of the filter.
 String PortalPageDisplayBean.getShareView(SharePermission sharePermission)
          Return HTML view of the current sharing status of the page.
 String SearchRequestDisplayBean.getSimpleDescription(SharePermission sharePermission)
          Return a simple description of the passed in permission.
 String PortalPageDisplayBean.getSimpleDescription(SharePermission sharePermission)
          Return a simple description of the passed in permission.
 



Copyright © 2002-2009 Atlassian. All Rights Reserved.