Class IssueTypePropertyHelper
java.lang.Object
com.atlassian.jira.bc.issuetype.property.IssueTypePropertyHelper
- All Implemented Interfaces:
EntityPropertyHelper<IssueTypeWithID>
public class IssueTypePropertyHelper
extends Object
implements EntityPropertyHelper<IssueTypeWithID>
- Since:
- 7.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.entity.property.EntityPropertyHelper
EntityPropertyHelper.CheckPermissionFunction<E extends WithId>
-
Constructor Summary
ConstructorsConstructorDescriptionIssueTypePropertyHelper
(IssueTypeManager issueTypeManager, IssueTypePermissionService issueTypePermissionService, I18nHelper i18n) -
Method Summary
-
Constructor Details
-
IssueTypePropertyHelper
public IssueTypePropertyHelper(IssueTypeManager issueTypeManager, IssueTypePermissionService issueTypePermissionService, I18nHelper i18n)
-
-
Method Details
-
hasEditPermissionFunction
- Specified by:
hasEditPermissionFunction
in interfaceEntityPropertyHelper<IssueTypeWithID>
- Returns:
- the function which will check if the provided user has permissions to edit the entity.
-
hasReadPermissionFunction
- Specified by:
hasReadPermissionFunction
in interfaceEntityPropertyHelper<IssueTypeWithID>
- Returns:
- the function which will check if the provided user has permissions to view the entity.
-
getEntityByIdFunction
- Specified by:
getEntityByIdFunction
in interfaceEntityPropertyHelper<IssueTypeWithID>
- Returns:
- the function which will get the entity for the provided id.
-
createSetPropertyEventBiFunction
public BiFunction<ApplicationUser,EntityProperty, createSetPropertyEventBiFunction()? extends EntityPropertySetEvent> - Specified by:
createSetPropertyEventBiFunction
in interfaceEntityPropertyHelper<IssueTypeWithID>
- Returns:
- the function which will create an instance of
EntityPropertySetEvent
for the proper entity type.
-
createDeletePropertyEventBiFunction
public BiFunction<ApplicationUser,EntityProperty, createDeletePropertyEventBiFunction()? extends EntityPropertyDeletedEvent> - Specified by:
createDeletePropertyEventBiFunction
in interfaceEntityPropertyHelper<IssueTypeWithID>
- Returns:
- the function which will create an instance of
EntityPropertyDeletedEvent
for the proper entity type.
-
getEntityPropertyType
- Specified by:
getEntityPropertyType
in interfaceEntityPropertyHelper<IssueTypeWithID>
- Returns:
- the type of the entity property.
-