@RemoteServiceRelativePath(value="ReportServiceImpl")
public interface ReportService
extends com.google.gwt.user.client.rpc.RemoteService
Modifier and Type | Method and Description |
---|---|
VmeExportResponse |
deleteReportFromRSG(VMETypeIdentifier refType,
String idToDelete) |
VmeExportResponse |
exportReportToRSG(VMETypeIdentifier refType,
org.gcube.portlets.d4sreporting.common.shared.Model toSave) |
org.gcube.portlets.d4sreporting.common.shared.Table |
getSampleTimeSeries(org.gcube.portlets.d4sreporting.common.shared.RepTimeSeries sTS)
return the first ten records of the timeseries having id as param
|
SessionInfo |
getSessionInfo(String currentHost)
each portlet instance runs in a scope
each portlet instance is used by a unique username from within the portal
|
String[] |
getUserTemplateNames() |
org.gcube.portlets.d4sreporting.common.shared.Model |
getVMEReportRef2Associate(String id,
VMETypeIdentifier refType) |
org.gcube.portlets.d4sreporting.common.shared.Model |
getWorkflowDocumentFromDocumentLibrary() |
org.gcube.portlets.d4sreporting.common.shared.Model |
importVMEReport(String id,
String name,
VMETypeIdentifier refType) |
org.gcube.portlets.d4sreporting.common.shared.Model |
importVMETemplate(VMETypeIdentifier refType) |
ArrayList<VMEReportBean> |
listVMEReportRefByType(VMETypeIdentifier refType) |
ArrayList<VMEReportBean> |
listVMEReports() |
org.gcube.portlets.d4sreporting.common.shared.Model |
readImportedModel(String tempPath) |
org.gcube.portlets.d4sreporting.common.shared.Model |
readModel(String templateName,
String templateObjectID,
boolean isTemplate,
boolean isImporting) |
org.gcube.portlets.d4sreporting.common.shared.Model |
readTemplateFromSession() |
void |
renewHTTPSession() |
void |
renewLock() |
String |
save(String filePath,
String workspaceFolderId,
String ItemName,
org.gcube.portlets.widgets.exporter.shared.TypeExporter type,
boolean overwrite) |
void |
saveReport(org.gcube.portlets.d4sreporting.common.shared.Model toSave)
the report model is taken from the session, the id also
|
void |
saveReport(org.gcube.portlets.d4sreporting.common.shared.Model toSave,
String folderid,
String newname)
the report model is taken from the session
|
void |
storeTemplateInSession(org.gcube.portlets.d4sreporting.common.shared.Model model) |
void |
updateWorkflowDocument(org.gcube.portlets.d4sreporting.common.shared.Model toSave,
boolean update) |
ArrayList<VMEReportBean> listVMEReports()
ArrayList<VMEReportBean> listVMEReportRefByType(VMETypeIdentifier refType)
org.gcube.portlets.d4sreporting.common.shared.Model importVMEReport(String id, String name, VMETypeIdentifier refType)
org.gcube.portlets.d4sreporting.common.shared.Model getVMEReportRef2Associate(String id, VMETypeIdentifier refType)
org.gcube.portlets.d4sreporting.common.shared.Model importVMETemplate(VMETypeIdentifier refType)
String save(String filePath, String workspaceFolderId, String ItemName, org.gcube.portlets.widgets.exporter.shared.TypeExporter type, boolean overwrite) throws org.gcube.portlets.widgets.exporter.shared.SaveReportFileException, org.gcube.portlets.widgets.exporter.shared.SaveReportFileExistException
org.gcube.portlets.widgets.exporter.shared.SaveReportFileException
org.gcube.portlets.widgets.exporter.shared.SaveReportFileExistException
org.gcube.portlets.d4sreporting.common.shared.Table getSampleTimeSeries(org.gcube.portlets.d4sreporting.common.shared.RepTimeSeries sTS)
sTS
- .String[] getUserTemplateNames()
org.gcube.portlets.d4sreporting.common.shared.Model readModel(String templateName, String templateObjectID, boolean isTemplate, boolean isImporting)
templateName
- .templateObjectID
- .isTemplate
- says if you're opening a template or a reportisImporting
- says if your importing or youre loading a template in the UISessionInfo getSessionInfo(String currentHost)
currentHost
- .void storeTemplateInSession(org.gcube.portlets.d4sreporting.common.shared.Model model)
model
- .org.gcube.portlets.d4sreporting.common.shared.Model readTemplateFromSession()
void saveReport(org.gcube.portlets.d4sreporting.common.shared.Model toSave, String folderid, String newname)
folderid
- the basket id where to save the reportvoid saveReport(org.gcube.portlets.d4sreporting.common.shared.Model toSave)
VmeExportResponse exportReportToRSG(VMETypeIdentifier refType, org.gcube.portlets.d4sreporting.common.shared.Model toSave)
toSave
- the report instance to saveVmeExportResponse deleteReportFromRSG(VMETypeIdentifier refType, String idToDelete)
org.gcube.portlets.d4sreporting.common.shared.Model getWorkflowDocumentFromDocumentLibrary()
void updateWorkflowDocument(org.gcube.portlets.d4sreporting.common.shared.Model toSave, boolean update)
void renewLock()
org.gcube.portlets.d4sreporting.common.shared.Model readImportedModel(String tempPath)
tempPath
- void renewHTTPSession()
Copyright © 2014. All Rights Reserved.