com.atlassian.jira.dashboard
Class DashboardUtil

java.lang.Object
  extended by com.atlassian.jira.dashboard.DashboardUtil

public final class DashboardUtil
extends Object

Implements static utility methods for dashboards

Since:
v4.0

Method Summary
static int getMaxGadgets(ApplicationProperties applicationProperties)
           
static Long toLong(com.atlassian.gadgets.dashboard.DashboardId dashboardId)
          Convert a DashboardId to long
static Long toLong(com.atlassian.gadgets.GadgetId gadgetId)
          Convert a GadgetId to long
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toLong

public static Long toLong(com.atlassian.gadgets.dashboard.DashboardId dashboardId)
Convert a DashboardId to long

Parameters:
dashboardId - dashboardId to convert
Returns:
The converted Long value

toLong

public static Long toLong(com.atlassian.gadgets.GadgetId gadgetId)
Convert a GadgetId to long

Parameters:
gadgetId - gadgetId to convert
Returns:
The converted Long value

getMaxGadgets

public static int getMaxGadgets(ApplicationProperties applicationProperties)


Copyright © 2002-2013 Atlassian. All Rights Reserved.