Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.gadgets.service
Class InternalGadgetDescriptor

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

public class InternalGadgetDescriptor
extends Object
implements GadgetDeclaration


Field Summary
static String GADGETS_HOST
           
static String GADGETS_PATH
           
static String GADGETS_PORT
           
static String HTTP
           
static String HTTP_SEPARATOR
           
static String URL_SEPARATOR
           
 
Constructor Summary
InternalGadgetDescriptor()
           
 
Method Summary
 org.osgi.framework.Bundle getBundle()
           
 String getCategory()
           
 ComponentName getComponentName()
           
 String getDirectory()
           
 boolean getDisabled()
           
 String getEntryPoint()
           
 URL getGadgetDefinition()
           
 String getIcon()
           
 String getIconUrl()
           
 String getMountPoint()
           
 String getName()
           
 InputStream getResourceAsStream(String resourcePath)
           
 StringBuilder getUrlPrefix()
           
 void setBundle(org.osgi.framework.Bundle bundle)
           
 void setComponentName(ComponentName name)
           
 void setEntryPoint(String entryPoint)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GADGETS_PORT

public static final String GADGETS_PORT
See Also:
Constant Field Values

GADGETS_HOST

public static final String GADGETS_HOST
See Also:
Constant Field Values

GADGETS_PATH

public static final String GADGETS_PATH
See Also:
Constant Field Values

HTTP

public static final String HTTP
See Also:
Constant Field Values

HTTP_SEPARATOR

public static final String HTTP_SEPARATOR
See Also:
Constant Field Values

URL_SEPARATOR

public static final String URL_SEPARATOR
See Also:
Constant Field Values
Constructor Detail

InternalGadgetDescriptor

public InternalGadgetDescriptor()
Method Detail

getName

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

getDisabled

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

getIcon

public String getIcon()

getMountPoint

public final String getMountPoint()

getCategory

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

setBundle

public final void setBundle(org.osgi.framework.Bundle bundle)

getBundle

public final org.osgi.framework.Bundle getBundle()

setComponentName

public final void setComponentName(ComponentName name)

getComponentName

public final ComponentName getComponentName()

setEntryPoint

public final void setEntryPoint(String entryPoint)

getEntryPoint

public final String getEntryPoint()

getDirectory

public String getDirectory()

getIconUrl

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

getUrlPrefix

public StringBuilder getUrlPrefix()

getResourceAsStream

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

getGadgetDefinition

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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.