Package com.atlassian.jira.sharing.type
Class GlobalShareType
java.lang.Object
com.atlassian.jira.sharing.type.AbstractShareType
com.atlassian.jira.sharing.type.GlobalShareType
- All Implemented Interfaces:
ShareType
Implementation of the ShareType that allows a
SharedEntity to be shared with all users on a JIRA instance.
This includes the sharing with the anonymous user.
This contrasts with the AuthenticatedUserShareType that restricts the shared entity to be visible only to logged in users.- Since:
- v3.13
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.sharing.type.ShareType
ShareType.Name, ShareType.UsageContextType -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGlobalShareType(GlobalShareTypeRenderer renderer, GlobalShareTypeValidator validator, ApplicationProperties applicationProperties) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this share type is configured to be allowed.Methods inherited from class com.atlassian.jira.sharing.type.AbstractShareType
getComparator, getPermissionsChecker, getPriority, getQueryFactory, getRenderer, getType, getValidator, getValidUsageContextTypes, isSingleton
-
Field Details
-
TYPE
-
PRIORITY
public static final int PRIORITY- See Also:
-
-
Constructor Details
-
Method Details
-
isAvailable
public boolean isAvailable()Description copied from interface:ShareTypeReturn true if this share type is configured to be allowed.- Returns:
- true if this share type is configured to be allowed.
-