Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.gadgets.service.api
Interface GadgetDeclaration

All Known Implementing Classes:
ExternalGadgetDescriptor, InternalGadgetDescriptor

public interface GadgetDeclaration

This is how code outside of the gadget implementation sees the gadget. The implementation can be an internal or external gadget. Callers should not depend on particular implementation strategies since they may vary quite widely.

Author:
Ian Smith

Method Summary
 String getCategory()
           
 boolean getDisabled()
           
 URL getGadgetDefinition()
           
 String getIconUrl()
           
 String getName()
           
 InputStream getResourceAsStream(String resourcePath)
           
 

Method Detail

getName

String getName()

getDisabled

boolean getDisabled()

getCategory

String getCategory()

getIconUrl

String getIconUrl()

getResourceAsStream

InputStream getResourceAsStream(String resourcePath)
                                throws IOException
Throws:
IOException

getGadgetDefinition

URL getGadgetDefinition()
                        throws MalformedURLException
Throws:
MalformedURLException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.