LIST_COLLECTIONS_SERVICE : "listCollectionRefs.service",\r
COPY_COLLECTION_TO_COLL_SERVICE : "copyCollectionToCollection.service",\r
LIST_RESULTS_SERVICE : "listResultAttributes.service",\r
+ LIST_RESULTS_LONG_SERVICE : "listResults.service",\r
GET_RESULT_SERVICE : "getResult.service",\r
GET_ATTACHEMENT_SERVICE : "getAttachment.service",\r
LIST_SLCEXEC_SERVICE : "listSlcExecutions.service",\r
LIST_AGENTS_SERVICE : "listAgents.service",\r
LIST_MODULES_SERVICE : "listModulesDescriptors.service",\r
GET_EXECUTION_DESC_SERVICE : "getExecutionDescriptor.service",\r
+ GET_SLC_EXECUTION_SERVICE : "getSlcExecution.service",\r
RELOAD_BUNDLE_SERVICE : "reloadBundle.service",\r
AMQ_SERVICE : "amq",\r
\r
+ LIST_MODULAR_DISTRIB_SERVICE : "listModularDistributions.service",\r
+ INSTALL_MODULE_SERVICE : "installModule.service",\r
+ UNINSTALL_MODULE_SERVICE : "uninstallModule.service",\r
+ \r
/**\r
* Standard Request getter\r
* @param serviceName {String} The name of the service to call (without base context)\r
return request;\r
},\r
\r
+ /**\r
+ * List all results or results of a given collection with all details \r
+ * @param collectionId {String} Id of the collection to load\r
+ * @param fireReloadEventType {String} Whether query should trigger a ReloadEvent\r
+ * @param iLoadStatusables {org.argeo.ria.components.ILoadStatusables[]} Gui parts to update\r
+ * @return {qx.io.remote.Request}\r
+ */\r
+ getListResultsLongService : function(collectionId, fireReloadEventType, iLoadStatusables){\r
+ var request = org.argeo.slc.ria.SlcApi.getServiceRequest(\r
+ org.argeo.slc.ria.SlcApi.LIST_RESULTS_LONG_SERVICE, \r
+ fireReloadEventType, \r
+ iLoadStatusables\r
+ );\r
+ if(collectionId){\r
+ request.setParameter("id", collectionId);\r
+ }\r
+ return request;\r
+ },\r
+ \r
/**\r
* List all results or results of a given collection \r
* @param collectionId {String} Id of the collection to load\r
);\r
},\r
\r
+ /**\r
+ * List currently registered SlcExecutions.\r
+ * @param fireReloadEventType {String} Event type to trigger (optionnal)\r
+ * @param iLoadStatusables {org.argeo.ria.components.ILoadStatusables[]} Gui parts to update \r
+ * @return {qx.io.remote.Request}\r
+ */\r
+ getListModularDistributionsService:function(fireReloadEventType, iLoadStatusables){\r
+ return org.argeo.slc.ria.SlcApi.getServiceRequest(\r
+ org.argeo.slc.ria.SlcApi.LIST_MODULAR_DISTRIB_SERVICE,\r
+ fireReloadEventType,\r
+ iLoadStatusables\r
+ );\r
+ },\r
+ \r
+ getInstallModuleService : function(){\r
+ return org.argeo.slc.ria.SlcApi.DEFAULT_CONTEXT +"/"+ org.argeo.slc.ria.SlcApi.INSTALL_MODULE_SERVICE;\r
+ },\r
+\r
+ /**\r
+ * Load a result test\r
+ * @param resultId {String} Id of the test result to load\r
+ * @param fireReloadEventType {String} Whether query should trigger a ReloadEvent\r
+ * @param iLoadStatusables {org.argeo.ria.components.ILoadStatusables[]} Gui parts to update\r
+ * @return {qx.io.remote.Request}\r
+ */\r
+ getUninstallModuleService : function(moduleName, moduleVersion, fireReloadEventType, iLoadStatusables){\r
+ var request = org.argeo.slc.ria.SlcApi.getServiceRequest(\r
+ org.argeo.slc.ria.SlcApi.UNINSTALL_MODULE_SERVICE, \r
+ fireReloadEventType, \r
+ iLoadStatusables\r
+ );\r
+ request.setParameter("name", moduleName);\r
+ request.setParameter("version", moduleVersion);\r
+ return request;\r
+ },\r
\r
+ \r
+ \r
/**\r
* New SlcExecution\r
* @param agentId {String} Agent id target\r
return req;\r
},\r
\r
+ getSlcExecutionService :function(executionMessageId, fireReloadEventType, iLoadStatusables){\r
+ var request = org.argeo.slc.ria.SlcApi.getServiceRequest(\r
+ org.argeo.slc.ria.SlcApi.GET_SLC_EXECUTION_SERVICE,\r
+ fireReloadEventType,\r
+ iLoadStatusables\r
+ );\r
+ request.setParameter("uuid", executionMessageId);\r
+ return request;\r
+ },\r
\r
/**\r
* List currently available agents queues.\r