com.atlassian.confluence.plugin.descriptor.web.conditions.user
Class FollowingTargetUserCondition

java.lang.Object
  extended by com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
      extended by com.atlassian.confluence.plugin.descriptor.web.conditions.user.FollowingTargetUserCondition
All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition

public class FollowingTargetUserCondition
extends BaseConfluenceCondition

Returns true if the logged in user is following the target user


Field Summary
 
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
 
Constructor Summary
FollowingTargetUserCondition()
           
 
Method Summary
 void setFollowManager(FollowManager followManager)
           
protected  boolean shouldDisplay(WebInterfaceContext context)
           
 
Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
init, shouldDisplay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FollowingTargetUserCondition

public FollowingTargetUserCondition()
Method Detail

shouldDisplay

protected boolean shouldDisplay(WebInterfaceContext context)
Specified by:
shouldDisplay in class BaseConfluenceCondition

setFollowManager

public void setFollowManager(FollowManager followManager)


Copyright © 2003-2014 Atlassian. All Rights Reserved.