|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axway.grapes.server.core.ModuleHandler
public class ModuleHandler
Module Handler
Manages all operation regarding Modules. It can, get/update Modules of the database.
| Constructor Summary | |
|---|---|
ModuleHandler(RepositoryHandler repositoryHandler)
|
|
| Method Summary | |
|---|---|
void |
deleteModule(String moduleId)
Delete a module |
DbModule |
getModule(String moduleId)
Returns a module |
List<DbLicense> |
getModuleLicenses(String moduleId)
Return a licenses view of the targeted module |
List<String> |
getModuleNames(FiltersHolder filters)
Returns the available module names regarding the filters |
List<DbModule> |
getModules(FiltersHolder filters)
Provides a list of module regarding the filters |
List<String> |
getModuleVersions(String name,
FiltersHolder filters)
Returns the available module names regarding the filters |
DbOrganization |
getOrganization(DbModule module)
|
PromotionReportView |
getPromotionReport(String moduleId)
Provide a report about the promotion feasibility |
void |
promoteModule(String moduleId)
Perform the module promotion |
void |
store(DbModule dbModule)
Add/update module in the database |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModuleHandler(RepositoryHandler repositoryHandler)
| Method Detail |
|---|
public void store(DbModule dbModule)
dbModule - DbModulepublic List<String> getModuleNames(FiltersHolder filters)
filters - FiltersHolder
public List<String> getModuleVersions(String name,
FiltersHolder filters)
name - Stringfilters - FiltersHolder
public DbModule getModule(String moduleId)
moduleId - String
public void deleteModule(String moduleId)
moduleId - Stringpublic List<DbLicense> getModuleLicenses(String moduleId)
moduleId - String
public void promoteModule(String moduleId)
moduleId - Stringpublic PromotionReportView getPromotionReport(String moduleId)
moduleId - String
public DbOrganization getOrganization(DbModule module)
public List<DbModule> getModules(FiltersHolder filters)
filters - FiltersHolder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||