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

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

public class UserWatchingSpaceForContentTypeCondition
extends BaseConfluenceCondition

Returns true if the user is watching content in the space for a particular type - e.g. pages or blogs.


Constructor Summary
UserWatchingSpaceForContentTypeCondition()
           
 
Method Summary
 void init(Map<String,String> params)
           
 void setNotificationManager(NotificationManager notificationManager)
           
 boolean shouldDisplay(WebInterfaceContext context)
           
 
Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
shouldDisplay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserWatchingSpaceForContentTypeCondition

public UserWatchingSpaceForContentTypeCondition()
Method Detail

init

public void init(Map<String,String> params)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.web.Condition
Overrides:
init in class BaseConfluenceCondition
Throws:
com.atlassian.plugin.PluginParseException

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.