Ontimize 5.2072EN

com.ontimize.report.store
Class PrivateFileReportStore

java.lang.Object
  extended bycom.ontimize.report.store.FileReportStore
      extended bycom.ontimize.report.store.PrivateFileReportStore
All Implemented Interfaces:
java.rmi.Remote, ReportStore

public class PrivateFileReportStore
extends FileReportStore


Nested Class Summary
 
Nested classes inherited from class com.ontimize.report.store.FileReportStore
FileReportStore.FileResource, FileReportStore.UtilReportStore
 
Field Summary
protected  SecureReferenceLocator locator
           
protected  java.lang.String storePathRoot
           
 
Fields inherited from class com.ontimize.report.store.FileReportStore
bundle, DEFAULT_DIRECTORY, description, EXPRESSION_EXTENSION, EXTENSION, PREFIX, PROP_EXTENSION, storePath, SUBDIR_NAME
 
Constructor Summary
PrivateFileReportStore(java.lang.String storePath, java.lang.String dscr, SecureReferenceLocator locator)
           
 
Method Summary
 void add(java.lang.String reportId, ReportStoreDefinition rDef, int sessionId)
           
 boolean exists(java.lang.String reportId, int sessionId)
           
 ReportStoreDefinition get(java.lang.String reportId, int sessionId)
           
 ReportProperties getReportProperties(java.lang.String reportId, int sessionId)
           
protected  java.lang.String getStorePath(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)
           
 void remove(java.lang.String reportId, int sessionId)
           
 
Methods inherited from class com.ontimize.report.store.FileReportStore
delete, getDescription, getPropertiesFileName, load, save, setResourceBundle, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

locator

protected SecureReferenceLocator locator

storePathRoot

protected java.lang.String storePathRoot
Constructor Detail

PrivateFileReportStore

public PrivateFileReportStore(java.lang.String storePath,
                              java.lang.String dscr,
                              SecureReferenceLocator locator)
Method Detail

getStorePath

protected java.lang.String getStorePath(int sessionId)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

list

public ReportProperties[] list(int sessionId)
                        throws ReportStoreException
Specified by:
list in interface ReportStore
Overrides:
list in class FileReportStore
Throws:
ReportStoreException

list

public ReportProperties[] list(java.lang.String entity,
                               java.lang.String type,
                               int sessionId)
Specified by:
list in interface ReportStore
Overrides:
list in class FileReportStore

list

public ReportProperties[] list(java.lang.String entity,
                               int sessionId)
                        throws ReportStoreException
Specified by:
list in interface ReportStore
Overrides:
list in class FileReportStore
Throws:
ReportStoreException

getURL

public java.net.URL getURL(java.lang.String reportId,
                           int sessionId)
                    throws ReportStoreException
Specified by:
getURL in interface ReportStore
Overrides:
getURL in class FileReportStore
Throws:
ReportStoreException

getReportProperties

public ReportProperties getReportProperties(java.lang.String reportId,
                                            int sessionId)
                                     throws ReportStoreException
Specified by:
getReportProperties in interface ReportStore
Overrides:
getReportProperties in class FileReportStore
Throws:
ReportStoreException

add

public void add(java.lang.String reportId,
                ReportStoreDefinition rDef,
                int sessionId)
         throws ReportStoreException
Specified by:
add in interface ReportStore
Overrides:
add in class FileReportStore
Throws:
ReportStoreException

remove

public void remove(java.lang.String reportId,
                   int sessionId)
            throws ReportStoreException
Specified by:
remove in interface ReportStore
Overrides:
remove in class FileReportStore
Throws:
ReportStoreException

get

public ReportStoreDefinition get(java.lang.String reportId,
                                 int sessionId)
                          throws ReportStoreException
Specified by:
get in interface ReportStore
Overrides:
get in class FileReportStore
Throws:
ReportStoreException

exists

public boolean exists(java.lang.String reportId,
                      int sessionId)
               throws ReportStoreException
Specified by:
exists in interface ReportStore
Overrides:
exists in class FileReportStore
Throws:
ReportStoreException

Ontimize