public abstract class BasePermissionCondition extends BaseConfluenceCondition
getPermissionTarget(WebInterfaceContext)
.CONTEXT_KEY_HELPER
Constructor and Description |
---|
BasePermissionCondition() |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
getPermissionTarget(WebInterfaceContext context) |
void |
init(Map<String,String> params) |
void |
setPermissionManager(PermissionManager permissionManager) |
boolean |
shouldDisplay(WebInterfaceContext context) |
shouldDisplay
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.web.Condition
init
in class BaseConfluenceCondition
com.atlassian.plugin.PluginParseException
public boolean shouldDisplay(WebInterfaceContext context)
shouldDisplay
in class BaseConfluenceCondition
protected abstract Object getPermissionTarget(WebInterfaceContext context)
public void setPermissionManager(PermissionManager permissionManager)
Copyright © 2003–2016 Atlassian. All rights reserved.