|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShareType
Interface for all ShareTypes in the JIRA. ShareType represents a way to share an object and contains all logic for rendering, validating and searching.
Nested Class Summary | |
---|---|
static class |
ShareType.Name
The Name of this share type, constricts the getType() |
Method Summary | |
---|---|
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 |
boolean |
isSingleton()
Represents whether this ShareType is a singleton. |
Method Detail |
---|
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 ShareType
ShareTypeValidator getValidator()
ShareTypeValidator
that contains all logic for validating this ShareType
ShareTypePermissionChecker getPermissionsChecker()
SharedEntity
ShareType
ShareQueryFactory<? extends ShareTypeSearchParameter> getQueryFactory()
Comparator<SharePermission> getComparator()
SharePermission
of this type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |