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 |
---|---|
com.atlassian.fugue.Function2<ApplicationUser,EntityProperty,ProjectPropertyDeletedEvent> |
createDeletePropertyEventFunction() |
com.atlassian.fugue.Function2<ApplicationUser,EntityProperty,ProjectPropertySetEvent> |
createSetPropertyEventFunction() |
com.google.common.base.Function<Long,com.atlassian.fugue.Option<Project>> |
getEntityByIdFunction() |
com.google.common.base.Function<String,com.atlassian.fugue.Option<Project>> |
getEntityByKeyFunction() |
EntityPropertyType |
getEntityPropertyType() |
EntityPropertyHelper.CheckPermissionFunction<Project> |
hasEditPermissionFunction() |
EntityPropertyHelper.CheckPermissionFunction<Project> |
hasReadPermissionFunction() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDeletePropertyEventBiFunction, createSetPropertyEventBiFunction
public ProjectPropertyHelper(I18nHelper i18n, ProjectManager projectManager, PermissionManager permissionManager)
public com.google.common.base.Function<String,com.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 com.google.common.base.Function<Long,com.atlassian.fugue.Option<Project>> getEntityByIdFunction()
getEntityByIdFunction
in interface EntityPropertyHelper<Project>
public com.atlassian.fugue.Function2<ApplicationUser,EntityProperty,ProjectPropertySetEvent> createSetPropertyEventFunction()
createSetPropertyEventFunction
in interface EntityPropertyHelper<Project>
EntityPropertySetEvent
for the proper entity type.public com.atlassian.fugue.Function2<ApplicationUser,EntityProperty,ProjectPropertyDeletedEvent> createDeletePropertyEventFunction()
createDeletePropertyEventFunction
in interface EntityPropertyHelper<Project>
EntityPropertyDeletedEvent
for the proper entity type.public EntityPropertyType getEntityPropertyType()
getEntityPropertyType
in interface EntityPropertyHelper<Project>
Copyright © 2002-2018 Atlassian. All Rights Reserved.