public class ProjectPropertyHelper extends Object implements EntityWithKeyPropertyHelper<Project>
ProjectPropertyService
.EntityPropertyHelper.CheckPermissionFunction<E extends WithId>
Constructor and Description |
---|
ProjectPropertyHelper(I18nHelper i18n,
ProjectManager projectManager,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
java.util.function.BiFunction<ApplicationUser,EntityProperty,ProjectPropertyDeletedEvent> |
createDeletePropertyEventBiFunction() |
java.util.function.BiFunction<ApplicationUser,EntityProperty,ProjectPropertySetEvent> |
createSetPropertyEventBiFunction() |
java.util.function.Function<Long,io.atlassian.fugue.Option<Project>> |
getEntityByIdFunction() |
java.util.function.Function<String,io.atlassian.fugue.Option<Project>> |
getEntityByKeyFunction() |
EntityPropertyType |
getEntityPropertyType() |
EntityPropertyHelper.CheckPermissionFunction<Project> |
hasEditPermissionFunction() |
EntityPropertyHelper.CheckPermissionFunction<Project> |
hasReadPermissionFunction() |
public ProjectPropertyHelper(I18nHelper i18n, ProjectManager projectManager, PermissionManager permissionManager)
public java.util.function.Function<String,io.atlassian.fugue.Option<Project>> getEntityByKeyFunction()
getEntityByKeyFunction
in interface EntityWithKeyPropertyHelper<Project>
public EntityPropertyHelper.CheckPermissionFunction<Project> hasEditPermissionFunction()
hasEditPermissionFunction
in interface EntityPropertyHelper<Project>
public EntityPropertyHelper.CheckPermissionFunction<Project> hasReadPermissionFunction()
hasReadPermissionFunction
in interface EntityPropertyHelper<Project>
public java.util.function.Function<Long,io.atlassian.fugue.Option<Project>> getEntityByIdFunction()
getEntityByIdFunction
in interface EntityPropertyHelper<Project>
public java.util.function.BiFunction<ApplicationUser,EntityProperty,ProjectPropertySetEvent> createSetPropertyEventBiFunction()
createSetPropertyEventBiFunction
in interface EntityPropertyHelper<Project>
EntityPropertySetEvent
for the proper entity type.public java.util.function.BiFunction<ApplicationUser,EntityProperty,ProjectPropertyDeletedEvent> createDeletePropertyEventBiFunction()
createDeletePropertyEventBiFunction
in interface EntityPropertyHelper<Project>
EntityPropertyDeletedEvent
for the proper entity type.public EntityPropertyType getEntityPropertyType()
getEntityPropertyType
in interface EntityPropertyHelper<Project>
Copyright © 2002-2022 Atlassian. All Rights Reserved.