public interface ShareType
Modifier and Type | Interface and Description |
---|---|
static class |
ShareType.Name
The Name of this share type, constricts the
getType() |
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 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()
Copyright © 2002-2018 Atlassian. All Rights Reserved.