com.atlassian.confluence.plugin.descriptor.web.conditions
Class HasBlogPostCondition

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

public class HasBlogPostCondition
extends BaseConfluenceCondition

Only display the link if the user is viewing a blog post (as opposed to a page or some other content type)


Constructor Summary
HasBlogPostCondition()
           
 
Method Summary
 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

HasBlogPostCondition

public HasBlogPostCondition()
Method Detail

shouldDisplay

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


Copyright © 2003-2011 Atlassian. All Rights Reserved.