com.atlassian.gadgets.dashboard.internal.rest.representations
Class GadgetRepresentation

java.lang.Object
  extended by com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation

public class GadgetRepresentation
extends Object

Provides a JAXB view of a Gadget, so that we can build new gadgets on the file in Javascript. TODO: AG-428 add LINK elements to this representation, as the REST Guidleines recommend.


Method Summary
 Color getColor()
           
 String getColorUrl()
           
 Integer getColumn()
           
 String getErrorMessage()
           
 String getGadgetSpecUrl()
           
 String getGadgetUrl()
           
 Boolean getHasNonHiddenUserPrefs()
           
 Integer getHeight()
           
 String getId()
           
 String getRenderedGadgetUrl()
           
 String getTitle()
           
 String getTitleUrl()
           
 UserPrefsRepresentation getUserPrefs()
           
 Integer getWidth()
           
 Boolean hasNonHiddenUserPrefs()
           
 Boolean isLoaded()
           
 Boolean isMaximizable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHasNonHiddenUserPrefs

public Boolean getHasNonHiddenUserPrefs()

isLoaded

public Boolean isLoaded()

getColor

public Color getColor()

getGadgetSpecUrl

public String getGadgetSpecUrl()

getHeight

public Integer getHeight()

getId

public String getId()

isMaximizable

public Boolean isMaximizable()

getTitle

public String getTitle()

getTitleUrl

public String getTitleUrl()

getUserPrefs

public UserPrefsRepresentation getUserPrefs()

getWidth

public Integer getWidth()

getRenderedGadgetUrl

public String getRenderedGadgetUrl()

getColorUrl

public String getColorUrl()

getGadgetUrl

public String getGadgetUrl()

hasNonHiddenUserPrefs

public Boolean hasNonHiddenUserPrefs()

getColumn

public Integer getColumn()

getErrorMessage

public String getErrorMessage()


Copyright © 2010 Atlassian. All Rights Reserved.