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