com.atlassian.confluence.plugin.descriptor.web.urlreadingconditions
Class AnonymousAccessEnabledUrlReadingCondition

java.lang.Object
  extended by com.atlassian.confluence.plugin.descriptor.web.urlreadingconditions.AnonymousAccessEnabledUrlReadingCondition
All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.webresource.condition.UrlReadingCondition

public class AnonymousAccessEnabledUrlReadingCondition
extends Object
implements com.atlassian.plugin.webresource.condition.UrlReadingCondition

Loads a web resource based when anonymous access is enabled.

Since:
5.7

Constructor Summary
AnonymousAccessEnabledUrlReadingCondition(SpacePermissionManager spacePermissionManager)
           
 
Method Summary
 void addToUrl(com.atlassian.plugin.webresource.url.UrlBuilder urlBuilder)
           
 void init(Map<String,String> params)
           
 boolean shouldDisplay(com.atlassian.plugin.webresource.QueryParams params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnonymousAccessEnabledUrlReadingCondition

public AnonymousAccessEnabledUrlReadingCondition(SpacePermissionManager spacePermissionManager)
Method Detail

init

public void init(Map<String,String> params)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.webresource.condition.UrlReadingCondition
Throws:
com.atlassian.plugin.PluginParseException

addToUrl

public void addToUrl(com.atlassian.plugin.webresource.url.UrlBuilder urlBuilder)
Specified by:
addToUrl in interface com.atlassian.plugin.webresource.condition.UrlReadingCondition

shouldDisplay

public boolean shouldDisplay(com.atlassian.plugin.webresource.QueryParams params)
Specified by:
shouldDisplay in interface com.atlassian.plugin.webresource.condition.UrlReadingCondition


Copyright © 2003–2015 Atlassian. All rights reserved.