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
 java.lang.String getCategory()
           
 boolean getDisabled()
           
 java.net.URL getGadgetDefinition()
           
 java.lang.String getIconUrl()
           
 java.lang.String getName()
           
 java.io.InputStream getResourceAsStream(java.lang.String resourcePath)
           
 

Method Detail

getName

java.lang.String getName()

getDisabled

boolean getDisabled()

getCategory

java.lang.String getCategory()

getIconUrl

java.lang.String getIconUrl()

getResourceAsStream

java.io.InputStream getResourceAsStream(java.lang.String resourcePath)
                                        throws java.io.IOException
Throws:
java.io.IOException

getGadgetDefinition

java.net.URL getGadgetDefinition()
                                 throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.