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 java.lang.Object
implements GadgetDeclaration


Constructor Summary
ExternalGadgetDescriptor(java.lang.String category, boolean disabled, java.net.URL gadgetDefinition, java.lang.String iconURL, java.lang.String name)
           
 
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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalGadgetDescriptor

public ExternalGadgetDescriptor(java.lang.String category,
                                boolean disabled,
                                java.net.URL gadgetDefinition,
                                java.lang.String iconURL,
                                java.lang.String name)
Method Detail

getCategory

public java.lang.String getCategory()
Specified by:
getCategory in interface GadgetDeclaration

getDisabled

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

getGadgetDefinition

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

getIconUrl

public java.lang.String getIconUrl()
Specified by:
getIconUrl in interface GadgetDeclaration

getName

public java.lang.String getName()
Specified by:
getName in interface GadgetDeclaration

getResourceAsStream

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.