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

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

public class TargetUserCanSetStatusCondition
extends BaseConfluenceCondition

This determines whether the target user of a profile action can set their status. This is used to detirmine if the current user should see the status update view functions for the user they are browsing.


Field Summary
 
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
 
Constructor Summary
TargetUserCanSetStatusCondition()
           
 
Method Summary
 void setPermissionManager(PermissionManager permissionManager)
           
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

TargetUserCanSetStatusCondition

public TargetUserCanSetStatusCondition()
Method Detail

shouldDisplay

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

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)


Copyright © 2003–2015 Atlassian. All rights reserved.