public interface ShareType
Modifier and Type | Interface and Description |
---|---|
static class |
ShareType.Name
The Name of this share type, constricts the
getType() |
static class |
ShareType.UsageContextType
Usage Context types of the Share type.
|
Modifier and Type | Method and Description |
---|---|
Comparator<SharePermission> |
getComparator()
Return a comparator that can order a
SharePermission of this type. |
ShareTypePermissionChecker |
getPermissionsChecker()
Responsible for checking that a user has permission to use
SharedEntity |
int |
getPriority()
Return the priority of the ShareType.
|
ShareQueryFactory<? extends ShareTypeSearchParameter> |
getQueryFactory()
Return the object that can be used to build query conditions to find instances of this ShareType.
|
ShareTypeRenderer |
getRenderer()
Retrieves the
ShareTypeRenderer that contains all logic for rendering this ShareType |
ShareType.Name |
getType()
Unique identifier for the ShareType.
|
ShareTypeValidator |
getValidator()
Retrieves the
ShareTypeValidator that contains all logic for validating this ShareType |
default Collection<ShareType.UsageContextType> |
getValidUsageContextTypes()
Return a collection of Usage Context Types in which this Share Type can be used.
|
default boolean |
isAvailable()
Return true if this share type is configured to be allowed.
|
boolean |
isSingleton()
Represents whether this ShareType is a singleton.
|
ShareType.Name getType()
boolean isSingleton()
SharedEntity
can only have a single instance of this ShareType and no
others.int getPriority()
ShareTypeRenderer getRenderer()
ShareTypeRenderer
that contains all logic for rendering this ShareTypeShareTypeValidator getValidator()
ShareTypeValidator
that contains all logic for validating this ShareTypeShareTypePermissionChecker getPermissionsChecker()
SharedEntity
ShareType
ShareQueryFactory<? extends ShareTypeSearchParameter> getQueryFactory()
Comparator<SharePermission> getComparator()
SharePermission
of this type.default boolean isAvailable()
@Nonnull default Collection<ShareType.UsageContextType> getValidUsageContextTypes()
Copyright © 2002-2022 Atlassian. All Rights Reserved.