com.ontimize.report.store
Class FileReportStore
java.lang.Object
com.ontimize.report.store.FileReportStore
- All Implemented Interfaces:
- java.rmi.Remote, ReportStore
- Direct Known Subclasses:
- PrivateFileReportStore
- public class FileReportStore
- extends java.lang.Object
- implements ReportStore
|
Method Summary |
void |
add(java.lang.String reportId,
ReportStoreDefinition rDef,
int sessionId)
|
protected void |
delete(java.lang.String reportId)
|
boolean |
exists(java.lang.String reportId,
int sessionId)
|
ReportStoreDefinition |
get(java.lang.String reportId,
int sessionId)
|
java.lang.String |
getDescription(int sessionId)
|
protected static java.lang.String |
getPropertiesFileName(java.lang.String dir)
|
ReportProperties |
getReportProperties(java.lang.String reportId,
int sessionId)
|
java.net.URL |
getURL(java.lang.String reportId,
int sessionId)
|
ReportProperties[] |
list(int sessionId)
|
ReportProperties[] |
list(java.lang.String entity,
int sessionId)
|
ReportProperties[] |
list(java.lang.String entity,
java.lang.String type,
int sessionId)
|
protected ReportStoreDefinition |
load(java.lang.String reportId)
|
void |
remove(java.lang.String reportId,
int sessionId)
|
protected void |
save(java.lang.String reportId,
ReportStoreDefinition rDef)
|
void |
setResourceBundle(java.util.ResourceBundle bundle)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_DIRECTORY
protected static final java.lang.String DEFAULT_DIRECTORY
SUBDIR_NAME
protected static final java.lang.String SUBDIR_NAME
- See Also:
- Constant Field Values
EXTENSION
protected static final java.lang.String EXTENSION
- See Also:
- Constant Field Values
PREFIX
protected static final java.lang.String PREFIX
- See Also:
- Constant Field Values
PROP_EXTENSION
protected static final java.lang.String PROP_EXTENSION
- See Also:
- Constant Field Values
EXPRESSION_EXTENSION
protected static final java.lang.String EXPRESSION_EXTENSION
- See Also:
- Constant Field Values
storePath
protected java.lang.String storePath
description
protected java.lang.String description
bundle
protected java.util.ResourceBundle bundle
FileReportStore
public FileReportStore(java.lang.String dscr)
FileReportStore
public FileReportStore(java.lang.String dscr,
java.util.ResourceBundle bundle)
FileReportStore
public FileReportStore(java.lang.String storePath,
java.lang.String dscr,
java.util.ResourceBundle bundle)
FileReportStore
public FileReportStore(java.lang.String storePath,
java.lang.String dscr)
getPropertiesFileName
protected static java.lang.String getPropertiesFileName(java.lang.String dir)
list
public ReportProperties[] list(int sessionId)
throws ReportStoreException
- Specified by:
list in interface ReportStore
- Throws:
ReportStoreException
list
public ReportProperties[] list(java.lang.String entity,
java.lang.String type,
int sessionId)
throws ReportStoreException
- Specified by:
list in interface ReportStore
- Throws:
ReportStoreException
list
public ReportProperties[] list(java.lang.String entity,
int sessionId)
throws ReportStoreException
- Specified by:
list in interface ReportStore
- Throws:
ReportStoreException
save
protected void save(java.lang.String reportId,
ReportStoreDefinition rDef)
throws java.io.IOException
- Throws:
java.io.IOException
getURL
public java.net.URL getURL(java.lang.String reportId,
int sessionId)
throws ReportStoreException
- Specified by:
getURL in interface ReportStore
- Throws:
ReportStoreException
getReportProperties
public ReportProperties getReportProperties(java.lang.String reportId,
int sessionId)
throws ReportStoreException
- Specified by:
getReportProperties in interface ReportStore
- Throws:
ReportStoreException
load
protected ReportStoreDefinition load(java.lang.String reportId)
throws java.io.IOException
- Throws:
java.io.IOException
delete
protected void delete(java.lang.String reportId)
throws java.io.IOException
- Throws:
java.io.IOException
add
public void add(java.lang.String reportId,
ReportStoreDefinition rDef,
int sessionId)
throws ReportStoreException
- Specified by:
add in interface ReportStore
- Throws:
ReportStoreException
get
public ReportStoreDefinition get(java.lang.String reportId,
int sessionId)
throws ReportStoreException
- Specified by:
get in interface ReportStore
- Throws:
ReportStoreException
exists
public boolean exists(java.lang.String reportId,
int sessionId)
throws ReportStoreException
- Specified by:
exists in interface ReportStore
- Throws:
ReportStoreException
remove
public void remove(java.lang.String reportId,
int sessionId)
throws ReportStoreException
- Specified by:
remove in interface ReportStore
- Throws:
ReportStoreException
setResourceBundle
public void setResourceBundle(java.util.ResourceBundle bundle)
toString
public java.lang.String toString()
getDescription
public java.lang.String getDescription(int sessionId)
- Specified by:
getDescription in interface ReportStore