Java Doc for SolutionRepository.java in  » Report » pentaho-report » com » pentaho » repository » dbbased » solution » 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 » com.pentaho.repository.dbbased.solution 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.pentaho.core.repository.SolutionRepositoryBase
   com.pentaho.repository.dbbased.solution.SolutionRepository

SolutionRepository
public class SolutionRepository extends SolutionRepositoryBase implements SolutionReposUtil.ISolutionFilter,SolutionReposUtil.ISolutionAttributeContributor,IPentahoInitializer(Code)

author:
   William Seyler TODO To change the template for this generated type comment go to Window - Preferences - Java -
author:
   Code Style - Code Templates



Constructor Summary
public  SolutionRepository()
    

Method Summary
public  intaddSolutionFile(String baseUrl, String path, String fileName, byte[] data, boolean overwrite)
    
public  intaddSolutionFile(String baseUrl, String path, String fileName, File f, boolean overwrite)
    
public  voidcontributeAttributes(ISolutionFile solutionFile, Element childNode)
    
public  booleandeleteRepository(String repositoryNameToDelete)
    
public  voidexitPoint()
    
public  IActionSequencegetActionSequence(String solutionName, String actionPath, String sequenceName, int localLoggingLevel, int actionOperation)
    
public  String[]getAllActionSequences()
    
public  ListgetChildrenFilesByParentId(String parentId)
    
public  ClassLoadergetClassLoader(String path)
    
public  ISolutionFilegetFileByPath(String path)
    
public  StringgetRepositoryName()
    
public  ISolutionFilegetRootFolder()
    
public  RepositoryFilegetSolutionById(String anId)
    
public  DocumentgetSolutionDocument(String documentPath, int actionOperation)
    
public  longgetSolutionFileLastModified(String path)
    
public  DocumentgetSolutionStructure(int actionOperation)
    
public  DocumentgetSolutionTree(int actionOperation)
    
public  DocumentgetSolutionTree(int actionOperation, ISolutionFilter filter)
    
public  DocumentgetSolutions(String solutionName, String pathName, int actionOperation, boolean visibleOnly)
    
public  StringgetValue(Document doc, String xPath, String defaultValue)
    
public  booleanhasAccess(RepositoryFile aFile, int actionOperation)
    
public  voidinit()
    
public  booleanisPentahoAdministrator()
    
public  booleankeepFile(ISolutionFile solutionFile, int actionOperation)
    
public synchronized  ListloadSolutionFromFileSystem(IPentahoSession pSession, String solutionRoot, boolean deleteOrphans)
     This method loads solution files and folders from the file system into the RDBMS repository.
public  voidreloadSolutionRepository(IPentahoSession localSession, int localLoggingLevel)
    
public  booleanremoveSolutionFile(String solutionPath)
    
public  booleanremoveSolutionFile(String solution, String path, String fileName)
    
public  StringresetSolutionFromFileSystem(IPentahoSession pSession)
    
public  booleanresourceExists(String solutionPath)
    
public  longresourceSize(String solutionPath)
    
public  voidsetRepositoryName(String value)
    
public  booleansupportsACLS()
    


Constructor Detail
SolutionRepository
public SolutionRepository()(Code)




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



addSolutionFile
public int addSolutionFile(String baseUrl, String path, String fileName, File f, boolean overwrite)(Code)



contributeAttributes
public void contributeAttributes(ISolutionFile solutionFile, Element childNode)(Code)



deleteRepository
public boolean deleteRepository(String repositoryNameToDelete)(Code)



exitPoint
public void exitPoint()(Code)



getActionSequence
public IActionSequence getActionSequence(String solutionName, String actionPath, String sequenceName, int localLoggingLevel, int actionOperation)(Code)



getAllActionSequences
public String[] getAllActionSequences()(Code)



getChildrenFilesByParentId
public List getChildrenFilesByParentId(String parentId)(Code)



getClassLoader
public ClassLoader getClassLoader(String path)(Code)



getFileByPath
public ISolutionFile getFileByPath(String path)(Code)



getRepositoryName
public String getRepositoryName()(Code)
Returns the repositoryName.



getRootFolder
public ISolutionFile getRootFolder()(Code)



getSolutionById
public RepositoryFile getSolutionById(String anId)(Code)



getSolutionDocument
public Document getSolutionDocument(String documentPath, int actionOperation)(Code)



getSolutionFileLastModified
public long getSolutionFileLastModified(String path)(Code)



getSolutionStructure
public Document getSolutionStructure(int actionOperation)(Code)



getSolutionTree
public Document getSolutionTree(int actionOperation)(Code)



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



getSolutions
public Document getSolutions(String solutionName, String pathName, int actionOperation, boolean visibleOnly)(Code)



getValue
public String getValue(Document doc, String xPath, String defaultValue)(Code)



hasAccess
public boolean hasAccess(RepositoryFile aFile, int actionOperation)(Code)



init
public void init()(Code)



isPentahoAdministrator
public boolean isPentahoAdministrator()(Code)



keepFile
public boolean keepFile(ISolutionFile solutionFile, int actionOperation)(Code)



loadSolutionFromFileSystem
public synchronized List loadSolutionFromFileSystem(IPentahoSession pSession, String solutionRoot, boolean deleteOrphans) throws RepositoryException(Code)
This method loads solution files and folders from the file system into the RDBMS repository.
Parameters:
  pSession - Users' Session
Parameters:
  solutionRoot - The file system root folder
Parameters:
  deleteOrphans - Whether to delete stranded references from RDBMS repository List of orphans that were deleted - returns list of deleted solution files.
throws:
  RepositoryException -
author:
   mbatchel



reloadSolutionRepository
public void reloadSolutionRepository(IPentahoSession localSession, int localLoggingLevel)(Code)



removeSolutionFile
public boolean removeSolutionFile(String solutionPath)(Code)



removeSolutionFile
public boolean removeSolutionFile(String solution, String path, String fileName)(Code)



resetSolutionFromFileSystem
public String resetSolutionFromFileSystem(IPentahoSession pSession)(Code)



resourceExists
public boolean resourceExists(String solutionPath)(Code)



resourceSize
public long resourceSize(String solutionPath)(Code)



setRepositoryName
public void setRepositoryName(String value)(Code)

Parameters:
  repositoryName - The repositoryName to set.



supportsACLS
public boolean supportsACLS()(Code)



Fields inherited from org.pentaho.core.repository.SolutionRepositoryBase
final protected static int BROWSE_DEPTH(Code)(Java Doc)
final protected static String DIRECTORY_ATTR(Code)(Java Doc)
final protected static String EMPTY_STR(Code)(Java Doc)
final protected static String ENTRY_NODE_NAME(Code)(Java Doc)
final protected static String FILE_ATTR(Code)(Java Doc)
final public static String INDEX_FILENAME(Code)(Java Doc)
final protected static String LOCATION_ATTR_NAME(Code)(Java Doc)
protected static String LOG_NAME(Code)(Java Doc)
final protected static String NAME_ATTR_NAME(Code)(Java Doc)
final protected static long PUBLISH_TIMEOUT(Code)(Java Doc)
final protected static String ROOT_NODE_NAME(Code)(Java Doc)
final protected static String TYPE_ATTR_NAME(Code)(Java Doc)
protected boolean cachingAvailable(Code)(Java Doc)
final protected static boolean debug(Code)(Java Doc)
final protected static Log logger(Code)(Java Doc)
protected static HashMap propertyMap(Code)(Java Doc)
protected File rootFile(Code)(Java Doc)
protected String rootPath(Code)(Java Doc)
protected ThreadLocal session(Code)(Java Doc)

Methods inherited from org.pentaho.core.repository.SolutionRepositoryBase
public int addSolutionFile(String baseUrl, String path, String fileName, File f, boolean overwrite)(Code)(Java Doc)
public int addSolutionFile(String baseUrl, String path, String fileName, byte[] data, boolean overwrite)(Code)(Java Doc)
protected File getFile(String path, boolean create)(Code)(Java Doc)
public ISolutionFile getFileByPath(String path)(Code)(Java Doc)
public Document getFullSolutionTree(int actionOperation, ISolutionFilter filter)(Code)(Java Doc)
protected Locale getLocale()(Code)(Java Doc)
public String getLocaleString(String key, String baseName, String baseFilePath)(Code)(Java Doc)
protected String getLocaleString(String key, String baseName, ISolutionFile baseFile)(Code)(Java Doc)
protected String getLocaleText(String key, ISolutionFile file) throws IOException(Code)(Java Doc)
public ISolutionFile getLocalizedFile(ISolutionFile resourceFile)(Code)(Java Doc)
public Log getLogger()(Code)(Java Doc)
public Document getNavigationUIDocument(String solution, String path, int actionOperation)(Code)(Java Doc)
protected Object getRepositoryObjectFromCache(String key)(Code)(Java Doc)
public byte[] getResourceAsBytes(IActionResource actionResource, boolean getLocalizedResource) throws IOException(Code)(Java Doc)
public byte[] getResourceAsBytes(String solutionPath, boolean getLocalizedResource) throws IOException(Code)(Java Doc)
public Document getResourceAsDocument(String solutionPath) throws IOException(Code)(Java Doc)
public Document getResourceAsDocument(IActionResource actionResource) throws IOException(Code)(Java Doc)
public String getResourceAsString(IActionResource actionResource) throws IOException(Code)(Java Doc)
public String getResourceAsString(String solutionPath) throws IOException(Code)(Java Doc)
public DataSource getResourceDataSource(IActionResource actionResource) throws FileNotFoundException(Code)(Java Doc)
public DataSource getResourceDataSource(String solutionPath) throws FileNotFoundException(Code)(Java Doc)
public InputStream getResourceInputStream(IActionResource actionResource, boolean getLocalizedResource) throws FileNotFoundException(Code)(Java Doc)
public InputStream getResourceInputStream(String solutionPath, boolean getLocalizedResource) throws FileNotFoundException(Code)(Java Doc)
public Reader getResourceReader(IActionResource actionResource) throws FileNotFoundException, IOException(Code)(Java Doc)
public Reader getResourceReader(String solutionPath) throws FileNotFoundException, IOException(Code)(Java Doc)
public ISolutionFile getRootFolder()(Code)(Java Doc)
public IPentahoSession getSession()(Code)(Java Doc)
public ISolutionFile getSolutionFile(IActionResource actionResource)(Code)(Java Doc)
protected List getSolutionNames(String solutionName, String pathName, int actionOperation, boolean visibleOnly)(Code)(Java Doc)
public Document getSolutions(int actionOperation)(Code)(Java Doc)
public String getXSLName(Document document, String solution, String inputXSLName)(Code)(Java Doc)
public void init()(Code)(Java Doc)
public void init(IPentahoSession pentahoSession)(Code)(Java Doc)
protected boolean isCachingAvailable()(Code)(Java Doc)
public static boolean isSystemPath(String path)(Code)(Java Doc)
public void localizeDoc(Node document, ISolutionFile file)(Code)(Java Doc)
protected Object putRepositoryObjectInCache(String key, Object value)(Code)(Java Doc)
public boolean removeSolutionFile(String solutionPath)(Code)(Java Doc)
public boolean removeSolutionFile(String solution, String path, String fileName)(Code)(Java Doc)
public void resetRepository()(Code)(Java Doc)
public void setSession(IPentahoSession inSession)(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.