Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.gadgets.service
Class BaseGadgetDescriptor

java.lang.Object
  extended by org.nuxeo.opensocial.gadgets.service.BaseGadgetDescriptor
All Implemented Interfaces:
Serializable, GadgetDeclaration
Direct Known Subclasses:
ExternalGadgetDescriptor, InternalGadgetDescriptor

public abstract class BaseGadgetDescriptor
extends Object
implements Serializable, GadgetDeclaration

See Also:
Serialized Form

Constructor Summary
BaseGadgetDescriptor()
           
 
Method Summary
 String getAuthor()
           
 org.apache.shindig.gadgets.spec.GadgetSpec getGadgetSpec()
           
 String getPublicGadgetDefinition()
          Returns the public URL of the gadget spec.
 String getScreenshot()
           
 String getThumbnail()
           
 String getTitle()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.opensocial.gadgets.service.api.GadgetDeclaration
getCategory, getDescription, getDisabled, getGadgetDefinition, getIconUrl, getName, getResourceAsStream, isExternal
 

Constructor Detail

BaseGadgetDescriptor

public BaseGadgetDescriptor()
Method Detail

getGadgetSpec

public org.apache.shindig.gadgets.spec.GadgetSpec getGadgetSpec()
Specified by:
getGadgetSpec in interface GadgetDeclaration

getTitle

public String getTitle()
Specified by:
getTitle in interface GadgetDeclaration

getAuthor

public String getAuthor()
Specified by:
getAuthor in interface GadgetDeclaration

getScreenshot

public String getScreenshot()
Specified by:
getScreenshot in interface GadgetDeclaration

getThumbnail

public String getThumbnail()
Specified by:
getThumbnail in interface GadgetDeclaration

getPublicGadgetDefinition

public String getPublicGadgetDefinition()
                                 throws MalformedURLException
Description copied from interface: GadgetDeclaration
Returns the public URL of the gadget spec. That URL can be used to add the gadget in an other container.

Specified by:
getPublicGadgetDefinition in interface GadgetDeclaration
Throws:
MalformedURLException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.