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

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

public class HasAttachmentCondition
extends BaseConfluenceCondition

Checks if the page in this context has any attachments


Field Summary
 
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
 
Constructor Summary
HasAttachmentCondition()
          Deprecated. 5.7 - use dependency injection
HasAttachmentCondition(AttachmentManager attachmentManager)
           
 
Method Summary
protected  boolean shouldDisplay(WebInterfaceContext webInterfaceContext)
           
 
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

HasAttachmentCondition

@Deprecated
public HasAttachmentCondition()
Deprecated. 5.7 - use dependency injection


HasAttachmentCondition

public HasAttachmentCondition(AttachmentManager attachmentManager)
Method Detail

shouldDisplay

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


Copyright © 2003–2015 Atlassian. All rights reserved.