Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.webengine.gadgets
Class Gadgets

java.lang.Object
  extended by org.nuxeo.ecm.webengine.model.impl.AbstractResource<org.nuxeo.ecm.webengine.model.impl.ResourceTypeImpl>
      extended by org.nuxeo.ecm.webengine.model.impl.DefaultObject
          extended by org.nuxeo.ecm.webengine.model.impl.ModuleRoot
              extended by org.nuxeo.opensocial.webengine.gadgets.Gadgets
All Implemented Interfaces:
org.nuxeo.ecm.webengine.model.ModuleResource, org.nuxeo.ecm.webengine.model.Resource, org.nuxeo.runtime.model.Adaptable

public class Gadgets
extends org.nuxeo.ecm.webengine.model.impl.ModuleRoot


Constructor Summary
Gadgets()
           
 
Method Summary
 String getCategoryLabel(String categoryKey)
           
 Object getGadget(String gadgetName)
           
 Object getGadgetList(String category)
           
 Object getGallery(String category, String mode)
           
 Object getSample()
           
 Object getSampleContainer()
           
 String getSecureToken(List<String> gadgetSpecUrls)
           
 
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.ModuleRoot
getLink, getSkinResource, handleError, setHttpHeaders, setHttpRequest, setUriInfo
 
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapter
 
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.webengine.model.Resource
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot
 
Methods inherited from interface org.nuxeo.runtime.model.Adaptable
getAdapter
 

Constructor Detail

Gadgets

public Gadgets()
        throws Exception
Throws:
Exception
Method Detail

getGallery

public Object getGallery(String category,
                         String mode)

getGadgetList

public Object getGadgetList(String category)

getSample

public Object getSample()

getGadget

public Object getGadget(String gadgetName)
                 throws Exception
Throws:
Exception

getCategoryLabel

public String getCategoryLabel(String categoryKey)

getSampleContainer

public Object getSampleContainer()

getSecureToken

public String getSecureToken(List<String> gadgetSpecUrls)
                      throws Exception
Throws:
Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.