public class LocalRemoteReportStore extends Object implements ReportStore
| Modifier and Type | Field and Description |
|---|---|
protected ResourceBundle |
bundle |
protected String |
description |
protected ReportStore |
rs |
| Constructor and Description |
|---|
LocalRemoteReportStore(ReportStore rs) |
LocalRemoteReportStore(ReportStore rs,
ResourceBundle bundle) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String reportId,
ReportStoreDefinition rDef,
int sessionId)
add
|
void |
deleteDirAndFiles(String path)
Deletes directory and files associated with report (.xml,.qry and
.properties file) in local report store.
|
boolean |
exists(String reportId,
int sessionId)
exists
|
ReportStoreDefinition |
get(String reportId,
int sessionId)
get
|
String |
getDescription(int sessionId)
getDescription
|
protected String |
getPropertiesFileName(String dir) |
ReportProperties |
getReportProperties(String reportId,
int sessionId)
getReportProperties
|
URL |
getURL(String reportId,
int sessionId)
getURL
|
ReportProperties[] |
list(int sessionId)
list
|
ReportProperties[] |
list(String entity,
int sessionId) |
ReportProperties[] |
list(String entity,
String type,
int sessionId) |
void |
remove(String reportId,
int sessionId)
remove
|
void |
setResourceBundle(ResourceBundle bundle) |
String |
toString() |
protected ReportStore rs
protected ResourceBundle bundle
protected String description
public LocalRemoteReportStore(ReportStore rs)
public LocalRemoteReportStore(ReportStore rs, ResourceBundle bundle)
public void add(String reportId, ReportStoreDefinition rDef, int sessionId) throws Exception
add in interface ReportStorereportId - StringrDef - ReportStoreDefinitionExceptionpublic void setResourceBundle(ResourceBundle bundle)
public boolean exists(String reportId, int sessionId) throws Exception
exists in interface ReportStorereportId - StringExceptionpublic ReportStoreDefinition get(String reportId, int sessionId) throws Exception
get in interface ReportStorereportId - StringExceptionpublic String getDescription(int sessionId) throws Exception
getDescription in interface ReportStoreExceptionpublic ReportProperties getReportProperties(String reportId, int sessionId) throws Exception
getReportProperties in interface ReportStorereportId - StringExceptionpublic URL getURL(String reportId, int sessionId) throws Exception
getURL in interface ReportStorereportId - StringExceptionpublic ReportProperties[] list(String entity, String type, int sessionId) throws Exception
list in interface ReportStoreExceptionpublic ReportProperties[] list(String entity, int sessionId) throws Exception
list in interface ReportStoreExceptionpublic ReportProperties[] list(int sessionId) throws Exception
list in interface ReportStoreExceptionpublic void remove(String reportId, int sessionId) throws Exception
remove in interface ReportStorereportId - StringExceptionpublic void deleteDirAndFiles(String path)
path - The complete path to directoryCopyright © 2016 Imatia Innovation S.L.. All rights reserved.