public class FileReportStore extends Object implements ReportStore
| Modifier and Type | Class and Description |
|---|---|
static class |
FileReportStore.FileResource |
static class |
FileReportStore.UtilReportStore |
| Modifier and Type | Field and Description |
|---|---|
protected ResourceBundle |
bundle |
protected static String |
DEFAULT_DIRECTORY |
protected String |
description |
protected static String |
EXPRESSION_EXTENSION |
protected static String |
EXTENSION |
protected static String |
PREFIX |
protected static String |
PROP_EXTENSION |
protected String |
storePath |
protected static String |
SUBDIR_NAME |
| Constructor and Description |
|---|
FileReportStore(String dscr) |
FileReportStore(String dscr,
ResourceBundle bundle) |
FileReportStore(String storePath,
String dscr) |
FileReportStore(String storePath,
String dscr,
ResourceBundle bundle) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String reportId,
ReportStoreDefinition rDef,
int sessionId) |
protected void |
delete(String reportId) |
boolean |
exists(String reportId,
int sessionId) |
ReportStoreDefinition |
get(String reportId,
int sessionId) |
String |
getDescription(int sessionId) |
protected static String |
getPropertiesFileName(String dir) |
ReportProperties |
getReportProperties(String reportId,
int sessionId) |
URL |
getURL(String reportId,
int sessionId) |
ReportProperties[] |
list(int sessionId) |
ReportProperties[] |
list(String entity,
int sessionId) |
ReportProperties[] |
list(String entity,
String type,
int sessionId) |
protected ReportStoreDefinition |
load(String reportId) |
void |
remove(String reportId,
int sessionId) |
protected void |
save(String reportId,
ReportStoreDefinition rDef) |
void |
setResourceBundle(ResourceBundle bundle) |
String |
toString() |
protected static final String DEFAULT_DIRECTORY
protected static final String SUBDIR_NAME
protected static final String EXTENSION
protected static final String PREFIX
protected static final String PROP_EXTENSION
protected static final String EXPRESSION_EXTENSION
protected String storePath
protected String description
protected ResourceBundle bundle
public FileReportStore(String dscr)
public FileReportStore(String dscr, ResourceBundle bundle)
public FileReportStore(String storePath, String dscr, ResourceBundle bundle)
public ReportProperties[] list(int sessionId) throws ReportStoreException
list in interface ReportStoreReportStoreExceptionpublic ReportProperties[] list(String entity, String type, int sessionId) throws ReportStoreException
list in interface ReportStoreReportStoreExceptionpublic ReportProperties[] list(String entity, int sessionId) throws ReportStoreException
list in interface ReportStoreReportStoreExceptionprotected void save(String reportId, ReportStoreDefinition rDef) throws IOException
IOExceptionpublic URL getURL(String reportId, int sessionId) throws ReportStoreException
getURL in interface ReportStoreReportStoreExceptionpublic ReportProperties getReportProperties(String reportId, int sessionId) throws ReportStoreException
getReportProperties in interface ReportStoreReportStoreExceptionprotected ReportStoreDefinition load(String reportId) throws IOException
IOExceptionprotected void delete(String reportId) throws IOException
IOExceptionpublic void add(String reportId, ReportStoreDefinition rDef, int sessionId) throws ReportStoreException
add in interface ReportStoreReportStoreExceptionpublic ReportStoreDefinition get(String reportId, int sessionId) throws ReportStoreException
get in interface ReportStoreReportStoreExceptionpublic boolean exists(String reportId, int sessionId) throws ReportStoreException
exists in interface ReportStoreReportStoreExceptionpublic void remove(String reportId, int sessionId) throws ReportStoreException
remove in interface ReportStoreReportStoreExceptionpublic void setResourceBundle(ResourceBundle bundle)
public String getDescription(int sessionId)
getDescription in interface ReportStoreCopyright © 2016 Imatia Innovation S.L.. All rights reserved.