| org.pentaho.core.repository.SolutionRepositoryBase com.pentaho.repository.dbbased.solution.SolutionRepository
Method Summary | |
public int | addSolutionFile(String baseUrl, String path, String fileName, byte[] data, boolean overwrite) | public int | addSolutionFile(String baseUrl, String path, String fileName, File f, boolean overwrite) | public void | contributeAttributes(ISolutionFile solutionFile, Element childNode) | public boolean | deleteRepository(String repositoryNameToDelete) | public void | exitPoint() | public IActionSequence | getActionSequence(String solutionName, String actionPath, String sequenceName, int localLoggingLevel, int actionOperation) | public String[] | getAllActionSequences() | public List | getChildrenFilesByParentId(String parentId) | public ClassLoader | getClassLoader(String path) | public ISolutionFile | getFileByPath(String path) | public String | getRepositoryName() | public ISolutionFile | getRootFolder() | public RepositoryFile | getSolutionById(String anId) | public Document | getSolutionDocument(String documentPath, int actionOperation) | public long | getSolutionFileLastModified(String path) | public Document | getSolutionStructure(int actionOperation) | public Document | getSolutionTree(int actionOperation) | public Document | getSolutionTree(int actionOperation, ISolutionFilter filter) | public Document | getSolutions(String solutionName, String pathName, int actionOperation, boolean visibleOnly) | public String | getValue(Document doc, String xPath, String defaultValue) | public boolean | hasAccess(RepositoryFile aFile, int actionOperation) | public void | init() | public boolean | isPentahoAdministrator() | public boolean | keepFile(ISolutionFile solutionFile, int actionOperation) | public synchronized List | loadSolutionFromFileSystem(IPentahoSession pSession, String solutionRoot, boolean deleteOrphans) This method loads solution files and folders from the file system into the RDBMS repository. | public void | reloadSolutionRepository(IPentahoSession localSession, int localLoggingLevel) | public boolean | removeSolutionFile(String solutionPath) | public boolean | removeSolutionFile(String solution, String path, String fileName) | public String | resetSolutionFromFileSystem(IPentahoSession pSession) | public boolean | resourceExists(String solutionPath) | public long | resourceSize(String solutionPath) | public void | setRepositoryName(String value) | public boolean | supportsACLS() |
SolutionRepository | public SolutionRepository()(Code) | | |
addSolutionFile | public int addSolutionFile(String baseUrl, String path, String fileName, byte[] data, boolean overwrite)(Code) | | |
contributeAttributes | public void contributeAttributes(ISolutionFile solutionFile, Element childNode)(Code) | | |
deleteRepository | public boolean deleteRepository(String repositoryNameToDelete)(Code) | | |
exitPoint | public void exitPoint()(Code) | | |
getAllActionSequences | public String[] getAllActionSequences()(Code) | | |
getChildrenFilesByParentId | public List getChildrenFilesByParentId(String parentId)(Code) | | |
getRepositoryName | public String getRepositoryName()(Code) | | Returns the repositoryName. |
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) | | |
isPentahoAdministrator | public boolean isPentahoAdministrator()(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) | | |
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) | | |
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)
|
|
|