|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SharedEntitySearchContext> com.atlassian.jira.sharing.search.SharedEntitySearchContext
@PublicApi public enum SharedEntitySearchContext
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 Constant Summary | |
---|---|
ADMINISTER
|
|
USE
|
Method Summary | |
---|---|
static SharedEntitySearchContext |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SharedEntitySearchContext[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SharedEntitySearchContext USE
public static final SharedEntitySearchContext ADMINISTER
Method Detail |
---|
public static SharedEntitySearchContext[] values()
for (SharedEntitySearchContext c : SharedEntitySearchContext.values()) System.out.println(c);
public static SharedEntitySearchContext valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |