org.exoplatform.platform.upgrade.plugins
Class LocalGadgetImporter
java.lang.Object
org.exoplatform.application.gadget.GadgetImporter
org.exoplatform.platform.upgrade.plugins.LocalGadgetImporter
public class LocalGadgetImporter
- extends org.exoplatform.application.gadget.GadgetImporter
| Fields inherited from class org.exoplatform.application.gadget.GadgetImporter |
log |
|
Constructor Summary |
LocalGadgetImporter(String name,
org.exoplatform.application.gadget.GadgetRegistryService registryService,
String gadgetPath,
org.exoplatform.container.configuration.ConfigurationManager configurationManager,
org.exoplatform.container.PortalContainer container)
|
|
Method Summary |
protected byte[] |
getGadgetBytes(String gadgetURI)
|
protected String |
getGadgetURL()
|
protected void |
process(String gadgetURI,
org.exoplatform.application.gadget.impl.GadgetDefinition def)
|
protected void |
processMetadata(org.apache.shindig.gadgets.spec.ModulePrefs prefs,
org.exoplatform.application.gadget.impl.GadgetDefinition def)
|
| Methods inherited from class org.exoplatform.application.gadget.GadgetImporter |
doImport, getGadgetName, getGadgetURI, toString |
LocalGadgetImporter
public LocalGadgetImporter(String name,
org.exoplatform.application.gadget.GadgetRegistryService registryService,
String gadgetPath,
org.exoplatform.container.configuration.ConfigurationManager configurationManager,
org.exoplatform.container.PortalContainer container)
process
protected void process(String gadgetURI,
org.exoplatform.application.gadget.impl.GadgetDefinition def)
throws Exception
- Specified by:
process in class org.exoplatform.application.gadget.GadgetImporter
- Throws:
Exception
getGadgetBytes
protected byte[] getGadgetBytes(String gadgetURI)
throws IOException
- Specified by:
getGadgetBytes in class org.exoplatform.application.gadget.GadgetImporter
- Throws:
IOException
getGadgetURL
protected String getGadgetURL()
- Specified by:
getGadgetURL in class org.exoplatform.application.gadget.GadgetImporter
processMetadata
protected void processMetadata(org.apache.shindig.gadgets.spec.ModulePrefs prefs,
org.exoplatform.application.gadget.impl.GadgetDefinition def)
- Specified by:
processMetadata in class org.exoplatform.application.gadget.GadgetImporter
Copyright © 2013 eXo Platform SAS. All Rights Reserved.