com.atlassian.jira.plugin.webfragment.conditions
Class IsDashboardOwnerCondition

java.lang.Object
  extended by com.atlassian.jira.plugin.webfragment.conditions.IsDashboardOwnerCondition
All Implemented Interfaces:
com.atlassian.plugin.web.Condition

public class IsDashboardOwnerCondition
extends java.lang.Object
implements com.atlassian.plugin.web.Condition

Checks if the current user is the owner of a given dashboard

Since:
v4.0

Field Summary
static java.lang.String CONTEXT_KEY_DASHBOARD_ID
           
 
Constructor Summary
IsDashboardOwnerCondition()
           
 
Method Summary
 void init(java.util.Map<java.lang.String,java.lang.String> params)
           
 boolean shouldDisplay(java.util.Map<java.lang.String,java.lang.Object> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_KEY_DASHBOARD_ID

public static final java.lang.String CONTEXT_KEY_DASHBOARD_ID
See Also:
Constant Field Values
Constructor Detail

IsDashboardOwnerCondition

public IsDashboardOwnerCondition()
Method Detail

init

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

shouldDisplay

public boolean shouldDisplay(java.util.Map<java.lang.String,java.lang.Object> context)
Specified by:
shouldDisplay in interface com.atlassian.plugin.web.Condition


Copyright © 2002-2010 Atlassian. All Rights Reserved.