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

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

public class UserWatchingSpaceCondition
extends BaseConfluenceCondition

Returns true if the user is watching the current space. Returns false if the user is only watching the space for a specific content type.


Constructor Summary
UserWatchingSpaceCondition()
           
 
Method Summary
 void setNotificationManager(NotificationManager notificationManager)
           
 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

UserWatchingSpaceCondition

public UserWatchingSpaceCondition()
Method Detail

shouldDisplay

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

setNotificationManager

public void setNotificationManager(NotificationManager notificationManager)


Copyright © 2003-2011 Atlassian. All Rights Reserved.