hu.setSQLQuery("select {folder.*} from folder,identifier,inode folder_1_ where folder.identifier = identifier.id and "
+ "folder_1_.inode = folder.inode and host_inode = ? and path =(select parent_path from identifier where id=?)");
hu.setParam(hostId);
hu.setParam(file.getIdentifier());
return (Folder) hu.load();
}
public List<File> findFiles(User user, boolean includeArchived, Map<String, Object> params, String hostId, String inode,
String identifier, String parent, int offset, int limit, String orderBy) throws DotSecurityException, DotDataException {