org.nuxeo.opensocial.gadgets.service
Class BaseGadgetDescriptor
java.lang.Object
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
BaseGadgetDescriptor
public BaseGadgetDescriptor()
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.