@PublicApi public enum


extends Enum<E extends Enum<E>>
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.jira.sharing.search.SharedEntitySearchContext


This enum is designed for plugins to consume (call its methods).

Clients of @PublicApi can expect that programs compiled against a given version will remain binary compatible with later versions of the @PublicApi as per each product's API policy as long as the client does not implement/extend @PublicApi interfaces or classes (refer to each product's API policy for the exact guarantee---usually binary compatibility is guaranteed at least across minor versions).

Note: since @PublicApi interfaces and classes are not designed to be implemented or extended by clients, we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces annotated with @PublicSpi are safe to extend/implement).

Class Overview

Indicates the context of a shared entity search, shared entities can be searched in "USER" or "ADMINISTRATION" context.

When searching within a USER context, the search is being performed with the objective of using the results in jira as a user, e.g. favourite the result, use it in a dashboard, see its content in the issue navigator...

Conversely, a search in "ADMINISTRATION" context is being done with the objective of performing administration tasks on the returned search entities, e.g. Delete the entity, change its owner, change its sharing permissions.

Only JIRA Administrators are able to perform "ADMINISTRATION" context queries.


Enum Values
SharedEntitySearchContext  ADMINISTER   
SharedEntitySearchContext  USE   
Public Methods
static SharedEntitySearchContext valueOf(String name)
final static SharedEntitySearchContext[] values()
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final SharedEntitySearchContext ADMINISTER

public static final SharedEntitySearchContext USE

Public Methods

public static SharedEntitySearchContext valueOf (String name)

public static final SharedEntitySearchContext[] values ()