|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GadgetService
Method Summary | |
---|---|
GadgetDeclaration |
getGadget(String gadgetSymbolicName)
Return a gadget declaration |
List<String> |
getGadgetCategory()
Returns the list of gadget categories |
URL |
getGadgetDefinition(String gadgetName)
Returns a URL to the gadget definition |
List<GadgetDeclaration> |
getGadgetList()
Returns the list of all registered gadgets declarations |
List<GadgetDeclaration> |
getGadgetList(String category)
Returns the list of the registered gadgets for a given category |
Map<String,ArrayList<String>> |
getGadgetNameByCategory()
Return a hashed map of all registered gadgets by category TODO: check if this is necessary in the API (perhaps a GWT tweak) |
InputStream |
getGadgetResource(String gadgetName,
String resourcePath)
Returns a stream on a resource of a gadget |
String |
getIconUrl(String gadgetName)
Returns a relative URL to the gadget icon |
Method Detail |
---|
GadgetDeclaration getGadget(String gadgetSymbolicName)
gadgetSymbolicName
- the symbolic name of the gadgetList<GadgetDeclaration> getGadgetList()
List<String> getGadgetCategory()
List<GadgetDeclaration> getGadgetList(String category)
category
- the categoryMap<String,ArrayList<String>> getGadgetNameByCategory()
InputStream getGadgetResource(String gadgetName, String resourcePath) throws IOException
gadgetName
- the symbolic name of the gadgetresourcePath
- the relative path to the resources
IOException
URL getGadgetDefinition(String gadgetName)
gadgetName
- the gadget symbolic nameString getIconUrl(String gadgetName)
gadgetName
- the gadget symbolic name
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |