Welcome to the Lobeo Module Server project. Please feel free to submit bugs related to it.
FS#490 - [] 5 new Api method to deal with the admin interface
Attached to Project:
LMS
Opened by Ferdinand (PaGaisu) - Friday, 14 December 2012, 15:40 GMT
Last edited by Ferdinand (PaGaisu) - Wednesday, 20 February 2013, 08:49 GMT
Opened by Ferdinand (PaGaisu) - Friday, 14 December 2012, 15:40 GMT
Last edited by Ferdinand (PaGaisu) - Wednesday, 20 February 2013, 08:49 GMT
|
Details5 new Api method to deal with the admin interface:
- getModules() - getTemplates(module) - getParameters(module) - getTemplateParameters(module) - processModule(module,param) |
This task depends upon
Closed by Ferdinand (PaGaisu)
Wednesday, 20 February 2013, 08:49 GMT
Reason for closing: Implemented
Wednesday, 20 February 2013, 08:49 GMT
Reason for closing: Implemented
* Return the template included in the specified module
* @param moduleId the id of the module
* @return an array of template id
* @throws Exception when unable to get the templates
*/
public String[] getTemplates(String moduleId) throws Exception;
/**
* Return the properties of the template included in the specified module
* @param moduleId the id of the module
* @param templateId the id of the template
* @return an array of property
* @throws Exception when unable to get the templates
*/
public Property[] getTemplateProperties(String moduleId, String templateId) throws Exception;
/**
* Process the template included in the specified module
* @param moduleId the id of the module
* @param templateId the id of the template
* @param properties the properties to process (can be null)
* @return an array of template id
* @throws Exception when an error occurred in the processing
*/
public void processTemplate(String moduleId, String templateId, Property... properties) throws Exception;