|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.sharing.type.AbstractShareType
public class AbstractShareType
Abstract class for ShareType classes.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.atlassian.jira.sharing.type.ShareType |
|---|
ShareType.Name |
| Constructor Summary | |
|---|---|
AbstractShareType(ShareType.Name type,
boolean singleton,
int priority,
ShareTypeRenderer renderer,
ShareTypeValidator validator,
ShareTypePermissionChecker permissionChecker,
ShareQueryFactory<? extends ShareTypeSearchParameter> queryFactory,
Comparator<SharePermission> comparator)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractShareType(ShareType.Name type,
boolean singleton,
int priority,
ShareTypeRenderer renderer,
ShareTypeValidator validator,
ShareTypePermissionChecker permissionChecker,
ShareQueryFactory<? extends ShareTypeSearchParameter> queryFactory,
Comparator<SharePermission> comparator)
| Method Detail |
|---|
public ShareType.Name getType()
ShareType
getType in interface ShareTypepublic boolean isSingleton()
ShareTypeSharedEntity can only have a single instance of this ShareType and no
others.
isSingleton in interface ShareTypepublic int getPriority()
ShareType
getPriority in interface ShareTypepublic ShareTypeRenderer getRenderer()
ShareTypeShareTypeRenderer that contains all logic for rendering this ShareType
getRenderer in interface ShareTypepublic ShareTypeValidator getValidator()
ShareTypeShareTypeValidator that contains all logic for validating this ShareType
getValidator in interface ShareTypepublic ShareTypePermissionChecker getPermissionsChecker()
ShareTypeSharedEntity
getPermissionsChecker in interface ShareTypeShareTypepublic Comparator<SharePermission> getComparator()
ShareTypeSharePermission of this type.
getComparator in interface ShareTypepublic ShareQueryFactory<? extends ShareTypeSearchParameter> getQueryFactory()
ShareType
getQueryFactory in interface ShareType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||