| Package | Description |
|---|---|
| org.exoplatform.application.gadget | |
| org.exoplatform.application.gadget.impl |
| Modifier and Type | Method and Description |
|---|---|
Gadget |
GadgetRegistryService.getGadget(String name)
Return Gadget object retrieved from database by its name.
|
| Modifier and Type | Method and Description |
|---|---|
List<Gadget> |
GadgetRegistryService.getAllGadgets()
Gets all of available gadgets from the database.
|
List<Gadget> |
GadgetRegistryService.getAllGadgets(Comparator<Gadget> sortComparator)
Gets all of available gadgets from the database.
The list of gadgets are sorted. |
| Modifier and Type | Method and Description |
|---|---|
Source |
SourceStorage.getSource(Gadget gadget)
Return
Source object of gadget that name provided in gadget object param If can't find gadget with that name, return null If gadget is remote, throw Exception |
void |
GadgetRegistryService.saveGadget(Gadget gadget)
Adds the gadget to the database.
|
void |
SourceStorage.saveSource(Gadget gadget,
Source source)
This method will save source to database to a specify path
|
| Modifier and Type | Method and Description |
|---|---|
List<Gadget> |
GadgetRegistryService.getAllGadgets(Comparator<Gadget> sortComparator)
Gets all of available gadgets from the database.
The list of gadgets are sorted. |
| Modifier and Type | Method and Description |
|---|---|
Gadget |
GadgetRegistryServiceImpl.getGadget(String name) |
| Modifier and Type | Method and Description |
|---|---|
List<Gadget> |
GadgetRegistryServiceImpl.getAllGadgets() |
List<Gadget> |
GadgetRegistryServiceImpl.getAllGadgets(Comparator<Gadget> sortComparator) |
| Modifier and Type | Method and Description |
|---|---|
Source |
SourceStorageImpl.getSource(Gadget gadget) |
void |
GadgetRegistryServiceImpl.saveGadget(Gadget gadget) |
void |
SourceStorageImpl.saveSource(Gadget gadget,
Source source) |
| Modifier and Type | Method and Description |
|---|---|
List<Gadget> |
GadgetRegistryServiceImpl.getAllGadgets(Comparator<Gadget> sortComparator) |
Copyright © 2017 JBoss by Red Hat. All Rights Reserved.