|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SharePermission | |
---|---|
com.atlassian.jira.sharing | |
com.atlassian.jira.sharing.search | |
com.atlassian.jira.sharing.type | |
com.atlassian.jira.web.action.filter | |
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 that return types with arguments of type SharePermission | |
---|---|
Set<SharePermission> |
SharedEntity.SharePermissions.getPermissionSet()
|
Iterator<SharePermission> |
SharedEntity.SharePermissions.iterator()
|
Methods in com.atlassian.jira.sharing with parameters of type SharePermission | |
---|---|
int |
CachingSharePermissionStore.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. |
int |
OfBizSharePermissionStore.deleteSharePermissionsLike(SharePermission permission)
|
void |
ShareManager.deleteSharePermissionsLike(SharePermission permission)
Deletes SharePermission 's that have the same "shape" as the provided share 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. |
Method parameters in com.atlassian.jira.sharing with type arguments of type SharePermission | |
---|---|
static JSONArray |
SharePermissionUtils.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 | |
---|---|
SharedEntity.SharePermissions(Set<? extends SharePermission> permissions)
|
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 that return types with arguments of type SharePermission | |
---|---|
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. |
Methods in com.atlassian.jira.sharing.type with parameters of type SharePermission | |
---|---|
boolean |
GroupShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission)
|
boolean |
GlobalShareTypeValidator.checkSharePermission(JiraServiceContext ctx,
SharePermission permission)
The user must have the global 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 |
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 |
PrivateShareQueryFactory.getField(SharedEntity entity,
SharePermission permission)
|
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 |
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 |
GlobalShareTypeRenderer.getSimpleDescription(SharePermission permission,
JiraAuthenticationContext authenticationContext)
|
String |
ProjectShareTypeRenderer.getSimpleDescription(SharePermission permission,
JiraAuthenticationContext authenticationContext)
|
String |
ShareTypeRenderer.getSimpleDescription(SharePermission permission,
JiraAuthenticationContext userCtx)
Return a simple text only description of the share. |
boolean |
GroupShareTypePermissionChecker.hasPermission(com.atlassian.crowd.embedded.api.User user,
SharePermission permission)
Checks to see if user is part of the group specified in the permission |
boolean |
ProjectShareTypePermissionChecker.hasPermission(com.atlassian.crowd.embedded.api.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(com.atlassian.crowd.embedded.api.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(com.atlassian.crowd.embedded.api.User 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 |
GlobalShareTypeRenderer.renderPermission(SharePermission permission,
JiraAuthenticationContext authenticationContext)
|
String |
ProjectShareTypeRenderer.renderPermission(SharePermission permission,
JiraAuthenticationContext authenticationContext)
|
String |
ShareTypeRenderer.renderPermission(SharePermission permission,
JiraAuthenticationContext userCtx)
Return HTML that shows the configured share. |
Constructors in com.atlassian.jira.sharing.type with parameters of type SharePermission | |
---|---|
GroupSharePermission(SharePermission permission)
|
|
ProjectSharePermission(SharePermission permission)
|
Constructor parameters in com.atlassian.jira.sharing.type with type arguments of type SharePermission | |
---|---|
AbstractShareType(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 | |
---|---|
Set<SharePermission> |
EditFilter.getSharePermissions()
|
Uses of SharePermission in com.atlassian.jira.web.action.util |
---|
Methods in com.atlassian.jira.web.action.util that return types with arguments of type SharePermission | |
---|---|
Collection<SharePermission> |
PortalPageDisplayBean.getAllSharePermissions()
|
Collection<SharePermission> |
SearchRequestDisplayBean.getAllSharePermissions()
|
Collection<SharePermission> |
PortalPageDisplayBean.getSharePermissions()
|
Collection<SharePermission> |
SearchRequestDisplayBean.getSharePermissions()
|
Methods in com.atlassian.jira.web.action.util with parameters of type SharePermission | |
---|---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |