@Deprecated
public RepositoryFileTree getTree( final String relPath, final int depth, final String filter,
final boolean showHidden ) {
Assert.hasText( relPath );
final RepositoryRequest repositoryRequest = new RepositoryRequest( relPath, showHidden, depth, filter );
return (RepositoryFileTree) jcrTemplate.execute( new JcrCallback() {
@Override
public Object doInJcr( final Session session ) throws RepositoryException, IOException {
PentahoJcrConstants pentahoJcrConstants = new PentahoJcrConstants( session );
String absPath = pathConversionHelper.relToAbs( relPath );
return JcrRepositoryFileUtils.getTree( session, pentahoJcrConstants, pathConversionHelper, lockHelper, absPath,