public class CommentPropertyHelper extends Object implements EntityPropertyHelper<Comment>
EntityPropertyHelper.CheckPermissionFunction<E extends WithId>
Constructor and Description |
---|
CommentPropertyHelper(CommentPermissionManager commentPermissionManager,
CommentSearchManager commentSearchManager,
I18nHelper i18n) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Function2<ApplicationUser,EntityProperty,CommentPropertyDeletedEvent> |
createDeletePropertyEventFunction() |
com.atlassian.fugue.Function2<ApplicationUser,EntityProperty,CommentPropertySetEvent> |
createSetPropertyEventFunction() |
com.google.common.base.Function<Long,com.atlassian.fugue.Option<Comment>> |
getEntityByIdFunction() |
EntityPropertyType |
getEntityPropertyType() |
EntityPropertyHelper.CheckPermissionFunction<Comment> |
hasEditPermissionFunction() |
EntityPropertyHelper.CheckPermissionFunction<Comment> |
hasReadPermissionFunction() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDeletePropertyEventBiFunction, createSetPropertyEventBiFunction
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 com.google.common.base.Function<Long,com.atlassian.fugue.Option<Comment>> getEntityByIdFunction()
getEntityByIdFunction
in interface EntityPropertyHelper<Comment>
public com.atlassian.fugue.Function2<ApplicationUser,EntityProperty,CommentPropertySetEvent> createSetPropertyEventFunction()
createSetPropertyEventFunction
in interface EntityPropertyHelper<Comment>
EntityPropertySetEvent
for the proper entity type.public com.atlassian.fugue.Function2<ApplicationUser,EntityProperty,CommentPropertyDeletedEvent> createDeletePropertyEventFunction()
createDeletePropertyEventFunction
in interface EntityPropertyHelper<Comment>
EntityPropertyDeletedEvent
for the proper entity type.public EntityPropertyType getEntityPropertyType()
getEntityPropertyType
in interface EntityPropertyHelper<Comment>
Copyright © 2002-2017 Atlassian. All Rights Reserved.