Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.gadgets.service
Class ExternalGadgetDescriptor

java.lang.Object
  extended by org.nuxeo.opensocial.gadgets.service.ExternalGadgetDescriptor
All Implemented Interfaces:
GadgetDeclaration

public class ExternalGadgetDescriptor
extends Object
implements GadgetDeclaration


Constructor Summary
ExternalGadgetDescriptor(String category, boolean disabled, URL gadgetDefinition, String iconURL, String name)
           
 
Method Summary
 String getCategory()
           
 boolean getDisabled()
           
 URL getGadgetDefinition()
           
 String getIconUrl()
           
 String getName()
           
 InputStream getResourceAsStream(String resourcePath)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalGadgetDescriptor

public ExternalGadgetDescriptor(String category,
                                boolean disabled,
                                URL gadgetDefinition,
                                String iconURL,
                                String name)
Method Detail

getCategory

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

getDisabled

public boolean getDisabled()
Specified by:
getDisabled in interface GadgetDeclaration

getGadgetDefinition

public URL getGadgetDefinition()
                        throws MalformedURLException
Specified by:
getGadgetDefinition in interface GadgetDeclaration
Throws:
MalformedURLException

getIconUrl

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

getName

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

getResourceAsStream

public InputStream getResourceAsStream(String resourcePath)
                                throws IOException
Specified by:
getResourceAsStream in interface GadgetDeclaration
Throws:
IOException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.