Java Doc for SolutionRepositoryBase.java in  » Report » pentaho-report » org » pentaho » core » repository » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » pentaho report » org.pentaho.core.repository 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.pentaho.core.system.PentahoMessenger
   org.pentaho.core.repository.SolutionRepositoryBase

All known Subclasses:   org.pentaho.repository.filebased.solution.SolutionRepository,  com.pentaho.repository.dbbased.solution.SolutionRepository,
SolutionRepositoryBase
abstract public class SolutionRepositoryBase extends PentahoMessenger implements ISolutionRepository(Code)


Field Summary
final protected static  intBROWSE_DEPTH
    
final protected static  StringDIRECTORY_ATTR
    
final protected static  StringEMPTY_STR
    
final protected static  StringENTRY_NODE_NAME
    
final protected static  StringFILE_ATTR
    
final public static  StringINDEX_FILENAME
    
final protected static  StringLOCATION_ATTR_NAME
    
protected static  StringLOG_NAME
    
final protected static  StringNAME_ATTR_NAME
    
final protected static  longPUBLISH_TIMEOUT
    
final protected static  StringROOT_NODE_NAME
    
final protected static  StringTYPE_ATTR_NAME
    
protected  booleancachingAvailable
    
final protected static  booleandebug
    
final protected static  Loglogger
    
protected static  HashMappropertyMap
    
protected  FilerootFile
    
protected  StringrootPath
    
protected  ThreadLocalsession
    


Method Summary
public  intaddSolutionFile(String baseUrl, String path, String fileName, File f, boolean overwrite)
    
public  intaddSolutionFile(String baseUrl, String path, String fileName, byte[] data, boolean overwrite)
    
protected  FilegetFile(String path, boolean create)
    
public  ISolutionFilegetFileByPath(String path)
    
public  DocumentgetFullSolutionTree(int actionOperation, ISolutionFilter filter)
    
protected  LocalegetLocale()
    
public  StringgetLocaleString(String key, String baseName, String baseFilePath)
    
protected  StringgetLocaleString(String key, String baseName, ISolutionFile baseFile)
    
protected  StringgetLocaleText(String key, ISolutionFile file)
    
public  ISolutionFilegetLocalizedFile(ISolutionFile resourceFile)
    
public  LoggetLogger()
    
public  DocumentgetNavigationUIDocument(String solution, String path, int actionOperation)
    
protected  ObjectgetRepositoryObjectFromCache(String key)
     Gets the object from the session cache defined by the parameter key
Parameters:
  key - - String value of the key to lookup Object that is referred to by the key.
public  byte[]getResourceAsBytes(IActionResource actionResource, boolean getLocalizedResource)
    
public  byte[]getResourceAsBytes(String solutionPath, boolean getLocalizedResource)
    
public  DocumentgetResourceAsDocument(String solutionPath)
    
public  DocumentgetResourceAsDocument(IActionResource actionResource)
    
public  StringgetResourceAsString(IActionResource actionResource)
    
public  StringgetResourceAsString(String solutionPath)
    
public  DataSourcegetResourceDataSource(IActionResource actionResource)
    
public  DataSourcegetResourceDataSource(String solutionPath)
    
public  InputStreamgetResourceInputStream(IActionResource actionResource, boolean getLocalizedResource)
    
public  InputStreamgetResourceInputStream(String solutionPath, boolean getLocalizedResource)
    
public  ReadergetResourceReader(IActionResource actionResource)
    
public  ReadergetResourceReader(String solutionPath)
    
public  ISolutionFilegetRootFolder()
    
public  IPentahoSessiongetSession()
    
public  ISolutionFilegetSolutionFile(IActionResource actionResource)
    
protected  ListgetSolutionNames(String solutionName, String pathName, int actionOperation, boolean visibleOnly)
    
public  DocumentgetSolutions(int actionOperation)
    
public  StringgetXSLName(Document document, String solution, String inputXSLName)
    
public  voidinit()
    
public  voidinit(IPentahoSession pentahoSession)
    
protected  booleanisCachingAvailable()
    
public static  booleanisSystemPath(String path)
    
public  voidlocalizeDoc(Node document, ISolutionFile file)
    
protected  ObjectputRepositoryObjectInCache(String key, Object value)
    
public  booleanremoveSolutionFile(String solutionPath)
    
public  booleanremoveSolutionFile(String solution, String path, String fileName)
    
public  voidresetRepository()
    
public  voidsetSession(IPentahoSession inSession)
    

Field Detail
BROWSE_DEPTH
final protected static int BROWSE_DEPTH(Code)



DIRECTORY_ATTR
final protected static String DIRECTORY_ATTR(Code)



EMPTY_STR
final protected static String EMPTY_STR(Code)



ENTRY_NODE_NAME
final protected static String ENTRY_NODE_NAME(Code)



FILE_ATTR
final protected static String FILE_ATTR(Code)



INDEX_FILENAME
final public static String INDEX_FILENAME(Code)



LOCATION_ATTR_NAME
final protected static String LOCATION_ATTR_NAME(Code)



LOG_NAME
protected static String LOG_NAME(Code)



NAME_ATTR_NAME
final protected static String NAME_ATTR_NAME(Code)



PUBLISH_TIMEOUT
final protected static long PUBLISH_TIMEOUT(Code)



ROOT_NODE_NAME
final protected static String ROOT_NODE_NAME(Code)



TYPE_ATTR_NAME
final protected static String TYPE_ATTR_NAME(Code)



cachingAvailable
protected boolean cachingAvailable(Code)



debug
final protected static boolean debug(Code)



logger
final protected static Log logger(Code)



propertyMap
protected static HashMap propertyMap(Code)



rootFile
protected File rootFile(Code)



rootPath
protected String rootPath(Code)



session
protected ThreadLocal session(Code)





Method Detail
addSolutionFile
public int addSolutionFile(String baseUrl, String path, String fileName, File f, boolean overwrite)(Code)
int possible values:ISolutionRepository.FILE_ADD_SUCCESSFULISolutionRepository.FILE_EXISTSISolutionRepository.FILE_ADD_FAILED



addSolutionFile
public int addSolutionFile(String baseUrl, String path, String fileName, byte[] data, boolean overwrite)(Code)



getFile
protected File getFile(String path, boolean create)(Code)



getFileByPath
public ISolutionFile getFileByPath(String path)(Code)



getFullSolutionTree
public Document getFullSolutionTree(int actionOperation, ISolutionFilter filter)(Code)



getLocale
protected Locale getLocale()(Code)



getLocaleString
public String getLocaleString(String key, String baseName, String baseFilePath)(Code)



getLocaleString
protected String getLocaleString(String key, String baseName, ISolutionFile baseFile)(Code)



getLocaleText
protected String getLocaleText(String key, ISolutionFile file) throws IOException(Code)



getLocalizedFile
public ISolutionFile getLocalizedFile(ISolutionFile resourceFile)(Code)



getLogger
public Log getLogger()(Code)



getNavigationUIDocument
public Document getNavigationUIDocument(String solution, String path, int actionOperation)(Code)



getRepositoryObjectFromCache
protected Object getRepositoryObjectFromCache(String key)(Code)
Gets the object from the session cache defined by the parameter key
Parameters:
  key - - String value of the key to lookup Object that is referred to by the key. Null if not in the cache or if caching is unavailable



getResourceAsBytes
public byte[] getResourceAsBytes(IActionResource actionResource, boolean getLocalizedResource) throws IOException(Code)



getResourceAsBytes
public byte[] getResourceAsBytes(String solutionPath, boolean getLocalizedResource) throws IOException(Code)



getResourceAsDocument
public Document getResourceAsDocument(String solutionPath) throws IOException(Code)



getResourceAsDocument
public Document getResourceAsDocument(IActionResource actionResource) throws IOException(Code)



getResourceAsString
public String getResourceAsString(IActionResource actionResource) throws IOException(Code)



getResourceAsString
public String getResourceAsString(String solutionPath) throws IOException(Code)



getResourceDataSource
public DataSource getResourceDataSource(IActionResource actionResource) throws FileNotFoundException(Code)



getResourceDataSource
public DataSource getResourceDataSource(String solutionPath) throws FileNotFoundException(Code)



getResourceInputStream
public InputStream getResourceInputStream(IActionResource actionResource, boolean getLocalizedResource) throws FileNotFoundException(Code)



getResourceInputStream
public InputStream getResourceInputStream(String solutionPath, boolean getLocalizedResource) throws FileNotFoundException(Code)



getResourceReader
public Reader getResourceReader(IActionResource actionResource) throws FileNotFoundException, IOException(Code)



getResourceReader
public Reader getResourceReader(String solutionPath) throws FileNotFoundException, IOException(Code)



getRootFolder
public ISolutionFile getRootFolder()(Code)



getSession
public IPentahoSession getSession()(Code)



getSolutionFile
public ISolutionFile getSolutionFile(IActionResource actionResource)(Code)



getSolutionNames
protected List getSolutionNames(String solutionName, String pathName, int actionOperation, boolean visibleOnly)(Code)



getSolutions
public Document getSolutions(int actionOperation)(Code)



getXSLName
public String getXSLName(Document document, String solution, String inputXSLName)(Code)



init
public void init()(Code)



init
public void init(IPentahoSession pentahoSession)(Code)



isCachingAvailable
protected boolean isCachingAvailable()(Code)



isSystemPath
public static boolean isSystemPath(String path)(Code)



localizeDoc
public void localizeDoc(Node document, ISolutionFile file)(Code)



putRepositoryObjectInCache
protected Object putRepositoryObjectInCache(String key, Object value)(Code)
Caches the repository object
Parameters:
  key - - String value of the key
Parameters:
  value - - Object referred to by key null if unable to catch otherwise returns the object that was cached



removeSolutionFile
public boolean removeSolutionFile(String solutionPath)(Code)



removeSolutionFile
public boolean removeSolutionFile(String solution, String path, String fileName)(Code)
this is the file based removeSolutionFile, used by subclasses



resetRepository
public void resetRepository()(Code)
Clears cached data for ALL users



setSession
public void setSession(IPentahoSession inSession)(Code)



Methods inherited from org.pentaho.core.system.PentahoMessenger
public void debug(String message)(Code)(Java Doc)
public void debug(String message, Throwable error)(Code)(Java Doc)
public void error(String message)(Code)(Java Doc)
public void error(String message, Throwable error)(Code)(Java Doc)
public void fatal(String message)(Code)(Java Doc)
public void fatal(String message, Throwable error)(Code)(Java Doc)
public List getMessages()(Code)(Java Doc)
public static String getUserString(String type)(Code)(Java Doc)
public void info(String message)(Code)(Java Doc)
public void info(String message, Throwable error)(Code)(Java Doc)
public void setMessages(List messages)(Code)(Java Doc)
public void trace(String message)(Code)(Java Doc)
public void trace(String message, Throwable error)(Code)(Java Doc)
public void warn(String message)(Code)(Java Doc)
public void warn(String message, Throwable error)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.