Documents in multiple folders

What I need to acheive is a search for all documents that appear in folders A, B and C with certain attributes.
I started with find all documents in Folder A using a FolderRestrictQualification and the documents have search attributes, no problems.
How do I check if the documents also appear in Folders B & C? I tried getting all the results and checking the folderpaths to see if B & C were present but the overhead of checking the results is prohibitive. I think I need to expand my seach statement but need some help.
Thanks in advance

just construct a search tree using AND clauses, like this:
AND
frqA AND
frqB frqC
FolderRestrictQualification frqA = new FolderRestrictQualification();
FolderRestrictQualification frqB = new FolderRestrictQualification();
FolderRestrictQualification frqC = new FolderRestrictQualification();
SearchClause secondAndClause = new SearchClause(frqB, frqC, SearchClause.AND);
SearchClause firstAndClause = new SearchClause(frqA, secondAndClause, SearchClause.AND);

Similar Messages

  • Document in multiple folders

    Hi,
    Long time ago (I believe version 1.x) I saw so demo from IFS by Oracle that provides to make a document part of multiple folders.
    At this moment I have installed both WebStarterApp and WebStarterApp2, but both does not show me this.
    Have anyone an example of this in JSP
    or can anyone describe me how to make this in JSP based on Webstarterapp(2).

    This is one of the reasons that tags were added to Mavericks. This exact scenario is why tags/keywords are heavily used to organize photos. You put the file in one folder, and then you use tags so you can find it in different ways.
    For example, you could simply organize documents in folders by date, then tag them appropriately ("tax", "receipt", "business", "travel", "medical" etc.) And then, you could for example create Smart Folders that gather up each type of tag automatically. So if you wanted all receipts that document medical expenses for your tax return, you could create a Smart Folder where the criteria is:
    "Tags" "Contains" medical"
    "Tags" "Contains" "tax"
    "Tags" "Contains" "receipt"
    and the Smart Folder will populate itself with a list of the files (not the files themselves, but virtual shortcuts to them)
    Aliases work too, but I find them much harder to manage, especially when the source document is renamed or deleted.

  • Create multiple folders with one click on documents tab in BP in SAP CRM

    Hi Experts,
    I have a requirement to create multiple folders by clicking on a button in Documents tab in BP transaction in CRM. In standard process by clicking on create folder button we create folders. we want to create multiple folders with one single click ( i guess we can develop another button for that) folder name will be hard coded. Kindly let me know , how this can be achieved.

    Hi Experts,
    I have a requirement to create multiple folders by clicking on a button in Documents tab in BP transaction in CRM. In standard process by clicking on create folder button we create folders. we want to create multiple folders with one single click ( i guess we can develop another button for that) folder name will be hard coded. Kindly let me know , how this can be achieved.

  • How to open multiple folders and read file?

    Hello,
    I try to use this bridge script. The script work very well for me but some times I have multiple folders.
    Now script work that:
    1. Read file in folder
    2. Save text file and show me popup with full quadrature
    http://forums.adobe.com/message/3996179?tstart=56
    1. Open folder
    2. Read file
    3. Close folder
    4. Read next folder
    5. Read file
    6. Close folder
    7. ....
    8. Save text file with all folders and show me popup with full quadrature
    Please help!
    Best regards.

    Lightwave wrote:
    I don't think you guys are hearing my question. I can see how to restore a single file or folder.
    I want to restore ALL the changed or deleted files and folders since my last backup (but not the entire disk, that would be unnecessary)
    Were all (or most) of the items in, say, your Documents folder, or your Music folder? If so, you can restore the whole folder via TM. That will put all sub-folders and files back exactly the way they were at the time of the backup. You just have to be careful to pick the right backup (date & time).
    Or, if they were scattered through your Home Folder, you can restore that entire folder in the same way.
    If you've made changes subsequent to that backup, however, they will be lost in the process. What you can do in that case is, restore to a different location, then compare the two folders, and drag & drop what you want. (To restore to a different location, select the folder in TM, then click the "gear" icon in the TM Finder window, and select +Restore <item selected> to ...+ and you'll be prompted for a restore location.)

  • Single billing document for multiple delivery documents

    Hi,
    Can someone tell me how to configure or proceed to make single billing document for multiple delivery documents.
    Document flow: Contract--> Order---> Delivery----> Billing
    -Thanks

    Being an old member of the forum, there is no need to stress the importance of adhering to forum rules where it has been clearly spelled out to avoid posting repeated queries.
    If you search the forum or Google it, you will find lot of documentations available on the same topic.  Take the inputs and try on your own.  Still if you face any issue, update here.
    G. Lakshmipathi

  • Shortcut to close multiple folders in List View

    In the Finder, in list view, I have multiple folders open (using the triangle by the Folder name). I'd like to be able to close all the open folders at once. I know that holding Option while clicking the red Close button on a window will close multiple windows and I want to do something similar with the folders.
    I'm sure I knew how to do this once but can't remember now.
    Thanks,
    Steve

    Command-click or otherwise select all of them, and then push the left arrow key.
    (104961)

  • How can "multiple folders/files" be deleted in ONE PSEXEC COMMAND LINE

    I can delete remote folders/files via bat command with psexec (below) but; 
    It takes a little time because of the 9 different folders. Maybe, looping of txt file can be used for different folders.
    So how we can delete multiple folders in ONE PSEXEC COMMAND LINE?
    Here my working code but it does its job in 9 steps :(
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\1*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\2*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\3*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\4*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\5*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\6*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\7*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\8*.*") do rd /s /q "%%a""
    psexec \\%PC% cmd /c "for /d %%a in ("c:\Users\9*.*") do rd /s /q "%%a""
    \_(ツ)_/ twitter.com/serdaruzun

    I think it is:psexec \\%PC% cmd /c "for /l %%n in (1;1;9) do for /d %%a in ("c:\Users\%%n*.*") do rd /s /q "%%a""
    \_(ツ)_/ twitter.com/serdaruzun

  • How can I add multiple folders to iTunes with Windows 8?

    I have windows 8 and the latest version of iTunes on Windows 8. How can I put multiple folders of music onto iTunes

    Enable the menu bar with Ctrl+B. Then use File > Add Folder to Library.
    tt2

  • How do I move multiple folders to  a new location

    I'm tring to reorganize after a computer crash. How do I move multiple folders to  a new location?

    In the Organizer you can switch to Folder Location View by clicking the Display button (near top right)
    You can then expand he folder tree in the left hand pane and drag and drop.

  • Multiple folders on a single MP3 cd

    when I put a MP3 cd in my car stereo, it asks me which folder do you want to play? This leads me to believe that I can put multiple folders on one cd, and I was wondering the logistics of this. Can I simply burn one folder on the cd, pick another play list in itunes and click burn while leaving the same CD in my drive?

    We don't support this yet but we are starting to look at what it would take to add this to the product.
    You can vote on this feature request here: http://forums.adobe.com/ideas/1046
    We use this to help prioritize our work.
    Thanks,
    Randy

  • Can I export multiple folders at the same time, keeping the album structure

    I'm exporting all of my photos from 2010 so far. Is there a way to export multiple folders at the same time, while keeping the existing album structure? It seems that when I try it, iPhoto exports them all to the same folder.
    I really don't want to do this one album at a time, and here's why -
    I'd like to select all of the albums, then export, using the plugin, to WalMart so that I can order prints.

    Check out [iPhotoToDisk|http://www.iphototodisk.com/index.html]
    I'd like to select all of the albums, then export, using the plugin, to WalMart so that I can order prints.
    Why not upload to Walmart from iPhoto? Check out the first option here:
    There are many, many ways to access your files in iPhoto:
    *For Users of 10.5 and later*
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    *For users of 10.4 and later* ...
    Many internet sites such as Flickr and SmugMug have plug-ins for accessing the iPhoto Library. If the site you want to use doesn’t then some, one or any of these will also work:
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. However, if you're using Gmail you can use iPhoto2GMail
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto not running*:
    For users of 10.6 and later:
    You can download a free Services component from MacOSXAutomation which will give you access to the iPhoto Library from your Services Menu. Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and later:
    Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    Regards
    TD

  • Would like to be able to select and move multiple folders in one operation.

    Unless I'm missing something really simple here, there doesn't seem to be any easy way of selecting and moving multiple folders at once.
    Here's a little example of a simple task I want to do. I presently have a multitude of folders each seperated by the day the photo was taken on. So in my case for a given year I might have maybe 50 folders or so. It's getting a little cluttered, so all I want to be able to do is to take all the folders for one given year and place them in a folder with that year's date. This should be a simple 30 second task, simply select the folders I want moved by either <CTRL> or <SHIFT> clicking them, and then dragging and dropping them into the new folder.
    Right now, the only way I've figured how to do this this is to drag and drop each folder one by one, never mind that this is a slow process in itself, but to add to the slowness, whenever I try to drag and drop more than one folder consecutively, I get a message saying ... "Can not move a folder while another move operation is in progress...blah blah". Not that I want this to be the fix, but haven't they heard of queuing?
    I've seen people on the net suggest that for this type of task, you should simply move the folders in Windows first and then locate them in Lightroom. Again, unless I'm missing something very simple here, there doesn't seem to be a way to locate multiple missing folders at once. If I have to manually locate each missing folder one by one, then I'd rather just do the drag and drop thing as this would actually be faster.
    I've also tried moving the folders from within Windows first and then using the "Synchronize folder" option, yeah sure this works, but I lose any changes that I've done in Develop module. Not what I'm looking for.

    Daniel is right. It´s really strange that I can´t move several folders in one move! When I need more space on my laptop I move a group of folders (one folder for every photosession) to an archive. Therefore I really would like to move them in one click, not "baby-sitting" the move of each folder.

  • HP Officejet 6500A How do I scan a document with multiple pages into one file?

    HP Officejet 6500A Plus e-All-in-One Printer - E710n
    Windows 7 (64 bit)
    How do I scan a document with multiple pages into one file?  My old printer (psc 2110) asked after each scan if I wanted to scan another page.  At the end I had one pdf file with multiple pages.
    This new one creates one file for each page and I cannot find a way to create one pdf file with multiple pages.
    This question was solved.
    View Solution.

    Hi mpw101,
    If you load the papers into the ADF - Automatic Document Feeder, and then select Document to PDF then they will all be scanning into one file. Let me know if this works for you?
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • Save same bookmark in multiple folders without having to do it manually. Is there and add-on that can help me fix this issue?

    If I have a bookmark in a folder and I save a new folder that may overlap with the old bookmarks the bookmarks from the old folder are automatically removed, this is a problem for me and I cant always manually go fix it.
    If I have a folder named A1-D1 that has bookmarks A1, B1, C1 & D1
    & now I am searching bookmarks related to A & want a new folder A1-A4 with bookmarks A1, A2, A3 & A4
    when I save the new group of bookmarks it removes A1 from A1-D1, which is horrible.
    & its very time consuming & frustrating to have to manually fix this every time.
    I know Firefox did this on purpose to prevent duplicate bookmarking but this is worse than having the the same bookmark being repeated more than it needs to. Now when I am looking at folder A1-D1 i don't even know how many of them have disappeared & have to search all over again.
    I hope they fix it soon.
    Please let me know if there is an add-on that will prevent Firefox form ruining my bookmarks.

    This extension gets around that limitation for me. <br />
    https://addons.mozilla.org/en-US/firefox/addon/add-bookmark-here-2/
    Really nothing to be fixed, that "feature" was added to Firefox 3 when the "Tags" feature was added to Firefox bookmarks. The concept is to use Tags to categorize a single bookmark with multiple Tags, instead of the user saving the same bookmark to multiple folders. I don't care for Tags and save the same bookmark to whatever folders I want it in using that extension.

  • I have WD 1TB and use Time Machine for the past 2 years. Now I have multiple folders in my external hard drive and want to know how to condense all folders into yearly folders instead. Anyone know how to do this?

    Now I have multiple folders in my external hard drive and want to know how to condense all folders into yearly folders instead. Anyone know how to do this?

    anthonycancel wrote:
    I want the folders I already backed up to come together into one folder when that year is over. Is there a way to manually do that or automatic through TM?
    I'm quite sure there is no "automatic" way to do this. I've never heard of anyone trying it either. I suppose if you wanted try it, you could simply create a new folder in the same partition TM is on, label it for that year, then gather all the days for that year and drag/drop them into the folder. I suspect (but do not know) you'd be risking the continuity of your backups, meaning TM would simply start over again, meaning that next back up would start a new series of backups, with the first one roughly equalling the entire capacity of your internal HD, instead of adding only the new data to the previous backup. Once again, I would recommend against it, unless you're fine with TM starting a new series of backups if it doesn't work out the way you want it to. Hope you'll post back with results so we can learn from it.

Maybe you are looking for

  • Here is a 2 for one, On a Mac Pro 5,1 2.66ghz 6 core Xeon.

    My mac pro is developing some strangeness, now when I go to start up the machine in morning it doesnt turn on until I have hit the power button 3 times, sometimes even this doesnt do the trick so I unplug it wait a couple sec and plug back in. So far

  • Unable to configure/build using studio12u1 compiler

    I am trying this on sol10 host: Solaris 10 10/08 s10s_u6wos_07b SPARC Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 27 October 2008 Here is my script that I run to start configure: #!/bin/ksh pw

  • Resetting Leopard to just opened settings

    Hey, so my father just bought a new MacBook pro. I opened the box and was the first to use it. I completed the setup that is required when first using Leopard entering my fathers name for the admin, adding a password for him, etc. He didn't tell me h

  • RoboHelp8: Search Tab takes time to show results

    Hi, I am experiencing yet another irritating problem with RoboHelp 8. When I deploy my web help, my search tab takes longer than usual to load search results. The Contents, Index and Glossary tabs are working fine.

  • Storage Space - Parity spaces is the same as New Spanned Volume?

    Hi, i am very new to Windows Server 2012, i am trying to setup my Windows server 2012 may i ask how do i format my Hardisk to parity space? is parity space the same as New Spanned Volume? currently my server has 4x 3TB hardisk, if one of my hardisk i