@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 |
|---|---|
com.atlassian.fugue.Function2<ApplicationUser,EntityProperty,? extends EntityPropertyDeletedEvent> |
createDeletePropertyEventFunction() |
com.atlassian.fugue.Function2<ApplicationUser,EntityProperty,? extends EntityPropertySetEvent> |
createSetPropertyEventFunction() |
com.google.common.base.Function<Long,com.atlassian.fugue.Option<DashboardItem>> |
getEntityByIdFunction() |
EntityPropertyType |
getEntityPropertyType() |
EntityPropertyHelper.CheckPermissionFunction<DashboardItem> |
hasEditPermissionFunction() |
EntityPropertyHelper.CheckPermissionFunction<DashboardItem> |
hasReadPermissionFunction() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDeletePropertyEventBiFunction, createSetPropertyEventBiFunctionpublic 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 com.google.common.base.Function<Long,com.atlassian.fugue.Option<DashboardItem>> getEntityByIdFunction()
getEntityByIdFunction in interface EntityPropertyHelper<DashboardItem>public com.atlassian.fugue.Function2<ApplicationUser,EntityProperty,? extends EntityPropertySetEvent> createSetPropertyEventFunction()
createSetPropertyEventFunction in interface EntityPropertyHelper<DashboardItem>EntityPropertySetEvent for the proper entity type.public com.atlassian.fugue.Function2<ApplicationUser,EntityProperty,? extends EntityPropertyDeletedEvent> createDeletePropertyEventFunction()
createDeletePropertyEventFunction in interface EntityPropertyHelper<DashboardItem>EntityPropertyDeletedEvent for the proper entity type.public EntityPropertyType getEntityPropertyType()
getEntityPropertyType in interface EntityPropertyHelper<DashboardItem>Copyright © 2002-2017 Atlassian. All Rights Reserved.