public class CommentPropertyHelper extends Object implements EntityPropertyHelper<Comment>
EntityPropertyHelper.CheckPermissionFunction<E extends WithId>
Constructor and Description |
---|
CommentPropertyHelper(CommentPermissionManager commentPermissionManager,
CommentSearchManager commentSearchManager,
I18nHelper i18n) |
public CommentPropertyHelper(CommentPermissionManager commentPermissionManager, CommentSearchManager commentSearchManager, I18nHelper i18n)
public EntityPropertyHelper.CheckPermissionFunction<Comment> hasEditPermissionFunction()
hasEditPermissionFunction
in interface EntityPropertyHelper<Comment>
public EntityPropertyHelper.CheckPermissionFunction<Comment> hasReadPermissionFunction()
hasReadPermissionFunction
in interface EntityPropertyHelper<Comment>
public java.util.function.Function<Long,io.atlassian.fugue.Option<Comment>> getEntityByIdFunction()
getEntityByIdFunction
in interface EntityPropertyHelper<Comment>
public java.util.function.BiFunction<ApplicationUser,EntityProperty,CommentPropertySetEvent> createSetPropertyEventBiFunction()
createSetPropertyEventBiFunction
in interface EntityPropertyHelper<Comment>
EntityPropertySetEvent
for the proper entity type.public java.util.function.BiFunction<ApplicationUser,EntityProperty,CommentPropertyDeletedEvent> createDeletePropertyEventBiFunction()
createDeletePropertyEventBiFunction
in interface EntityPropertyHelper<Comment>
EntityPropertyDeletedEvent
for the proper entity type.public EntityPropertyType getEntityPropertyType()
getEntityPropertyType
in interface EntityPropertyHelper<Comment>
Copyright © 2002-2020 Atlassian. All Rights Reserved.