@InjectableComponent public final class DashboardItemPropertyHelper extends Object implements EntityPropertyHelper<DashboardItem>
EntityPropertyHelper.CheckPermissionFunction<E extends WithId>| Constructor and Description |
|---|
DashboardItemPropertyHelper(com.atlassian.gadgets.dashboard.spi.DashboardPermissionService dashboardPermissionService,
com.atlassian.gadgets.dashboard.spi.DashboardStateStore dashboardStateStore) |
| Modifier and Type | Method and Description |
|---|---|
java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertyDeletedEvent> |
createDeletePropertyEventBiFunction() |
java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertySetEvent> |
createSetPropertyEventBiFunction() |
java.util.function.Function<Long,io.atlassian.fugue.Option<DashboardItem>> |
getEntityByIdFunction() |
EntityPropertyType |
getEntityPropertyType() |
EntityPropertyHelper.CheckPermissionFunction<DashboardItem> |
hasEditPermissionFunction() |
EntityPropertyHelper.CheckPermissionFunction<DashboardItem> |
hasReadPermissionFunction() |
public DashboardItemPropertyHelper(com.atlassian.gadgets.dashboard.spi.DashboardPermissionService dashboardPermissionService,
com.atlassian.gadgets.dashboard.spi.DashboardStateStore dashboardStateStore)
public EntityPropertyHelper.CheckPermissionFunction<DashboardItem> hasEditPermissionFunction()
hasEditPermissionFunction in interface EntityPropertyHelper<DashboardItem>public EntityPropertyHelper.CheckPermissionFunction<DashboardItem> hasReadPermissionFunction()
hasReadPermissionFunction in interface EntityPropertyHelper<DashboardItem>public java.util.function.Function<Long,io.atlassian.fugue.Option<DashboardItem>> getEntityByIdFunction()
getEntityByIdFunction in interface EntityPropertyHelper<DashboardItem>public java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertySetEvent> createSetPropertyEventBiFunction()
createSetPropertyEventBiFunction in interface EntityPropertyHelper<DashboardItem>EntityPropertySetEvent for the proper entity type.public java.util.function.BiFunction<ApplicationUser,EntityProperty,? extends EntityPropertyDeletedEvent> createDeletePropertyEventBiFunction()
createDeletePropertyEventBiFunction in interface EntityPropertyHelper<DashboardItem>EntityPropertyDeletedEvent for the proper entity type.public EntityPropertyType getEntityPropertyType()
getEntityPropertyType in interface EntityPropertyHelper<DashboardItem>Copyright © 2002-2022 Atlassian. All Rights Reserved.