How to programmatically delete a ViewCriteria created by program as well?

Hi experts,


I use a method in a VOImpl to create a view of the criteria by program:

        ViewCriteria vc = createViewCriteria();
        ViewCriteriaRow vcr = vc.createViewCriteriaRow();        
        vcr.setAttribute("ProjectName","LIKE 'special%'");
        vc.add(vcr);
        executeQuery(); 

Now, I would need a method to remove it, but don't know how to do because it is not a name or a reference.


I use Jdev 12.1.3. Any suggestion?

Kind regards

Jose.

Thank you all for your advice. The key to solving this problem is

(1) define a name for the VC created by programming:

ViewCriteria vc = createViewCriteria();

vc.setName ("myCustomVC");

(2) apply to adding 'real' as second parameter, otherwise previous VC added at design time will be lost:

applyViewCriteria (vc, true);

(3) after that, the Victoria Cross can be removed with:

Boolean result = removeApplyViewCriteriaName ("myCustomVC");

Thank you all!

Tags: Java

Similar Questions

  • How can I delete a file from C:\program files\samsung\kies.exe?

    How can I delete a file from C:\program files\samsung\kies.exe?

    There is a program from samsung.com uninstalling, but I can't find it on their website.

    Try this link: -.

    http://sumtips.com/2010/11/completely-uninstall-Samsung-Kies.html

    Click on the download alternative uninstallkies.zip - the list is active.

  • How to programmatically delete annotations on a graph?

    o: SPT = "75" o: preferrelative = "t" path="m@4@5l@4@11@9@11@9@5xe" filled = "f".
    stroked = "f" >

    height: 134.25pt ">"
    o: title = "fig1" / >
    Hello

    I would like to label some vertices of the graph of waveform on detection of the input signal Ridge finish.  Now, I've annotated by program chart (see fig. 1). However, annotations stay there all the time (see fig. 2). Annotations are supposed to disappear whenever the vi is executed and only appear when the task of Ridge detection is over that is triggered by a push button.

    So can I know how to clear annotations on a chart programmatically?  Thank you in advance.

    Try this:

  • How can I delete an old account?

    How can I delete an old account?

    This article should help you ve-or-delete-apple-id-3463233/ http://www.macworld.co.uk/how-to/apple/how-change-apple-id-how-create-reset-remo

  • How can I remove the tones created in garageband that have been uninstalled? I also installed but I can't remove it either please help thanks

    How can I remove the tones created in garageband that have been uninstalled? I also installed but I can't remove it either please help thanks

    Hello Michael,

    Welcome to Apple Support communities.

    I see that you need assistance, removal of GarageBand ringtones that were uninstalled. I know it's nice to be able to properly manage your tones. I can help you with this.

    Use the article for iOS (iPad) 2.0.x GarageBand: GarageBand share songs, more precisely, this section:

    To remove the existing ringtones follow these steps:

    • Press to select, then press the button Delete for any ringtone you want to delete.

    • Drag a ringtone in the list, and then press delete.

    Have a great day!

  • How can I DELETE / REMOVE tab Max more add-on? I hate it.

    I wanted to create a brand new page every time automatically for bookmarks and links to pages within Firefox. But someone on your blog told me that Firefox won't [despite all other browsers making].
    And instead advised me to try an add-on called Max Tab Plus.

    Well, I tried it. And I HATE it. So, how can I DELETE / REMOVE?

    See this:

    https://support.Mozilla.org/en-us/KB/disable-or-remove-add-ons

  • How can I delete my library on my MacBook Air?

    The photos on my Macbook are dilapidated and must be purged as they take a large part of my storage.

    I created a file zip in my library and it dumped on a SD reader as well as in my Cloud Drive.

    How can I delete my library easily? Without having to go through each album photo/etc?

    Also, is there an easy way to delete all my pictures from my phone as well? Since then, they have been included in the zip of the library from today?

    It's time for spring cleaning!

    Thank you!

    Photo library - drag to the trash and empty the trash - there is no cancellation for this

    On the phone, you can use Image capture to remove photos from a connected phone

    LN

  • Delete the partition created in reformatting/reinstall for A50

    Then when I got my Toshiba Satellite A50, he had no partition that I knew of, just a drive C with XP installed on it. But the disk that it came with to reformat the hard drive and reinstall XP is creating a partition!

    So it's not the original or set up installation I've had... I have an external hard drive, I don't want a partition.

    How can I delete the partition? I'm ready to completely reformat the entire hard drive again, but if so, how do I that?

    The Toshiba CD doesn't really give me a prompt to go reformatting the hard drive me...

    The other annoying, that of my C drive is NTFS, but the disc creates a drive NTFS and FAT32 other... too... which is really scary, is when the Toshiba disk loads, it says "loading Windows 98"... to my understanding of my laptop NEVER had 98 on it... I pray that this is not a 98 - xp upgrade. It seems that someone gave me the wrong drive with my laptop computer?

    Or am I worrying over nothing?

    Hello Lou

    Believe me worry for nothing! Please don t be confused about W98 loading message. The unit starts in DOS mode and it's the same as on W98.

    Now step by step explanation: I did the procedure of recovery many times and have a little experience with it.

    When starts, CD recovery menu displays with two options: modes of STANDARD facilities and EXPERT. STANDARD mode simply erase the whole HARD drive and creates one partition (the whole HARD disk capacity) for the installation of the OS.
    EXPERT mode should be used if you want to install the operating system on already created partition or if you want to create a new partition for the installation of the OS. Note You can create only the first partition it (C :) and you can not edit already created the partition.)

    In my opinion, it is always good to have two partitions, one for the operating system and installation and a second for recording data. You might not always drive external HARD with you. If something is wrong at any time, you can install the OS on the first partition without losing the data stored on the other.

    Anyway, to start the recovery procedure and choose the recovery STANDARD (option 1) procedure. The whole HARD drive will be formatted and Os will be installed on a partition.

    Bye and if you have any other questions please write again.

  • How can I delete a sticky note? The delete icon (red ball) is not in the top corner; There is an arrow to develop instead. I use El Capitan 10.11.3?

    How can I delete a sticky note? The delete icon (red ball) is not in the top corner; There is an arrow to develop instead. I use El Capitan 10.11.3?

    Just command-W to close and command + N to create a new.

  • Equium L350 - 11 d - how do I delete the second partition on the HARD drive

    How can I delete the second partition that came with the laptop, so I can use the full capacity of computers HARD drive?

    I feel that this partition is their because I have not created a DVD of recovery he would remove the partition once I created the recovery DVDs.

    The score contains a folder of HARD disk RECOVERY and in the folder says do not delete or change this folder or files.

    I have a Toshiba Equium L350 - 11 d

    As you have already said that the second partition contains the HDD Recovery folder if you would remove this partition you will not be able to create the recovery DVD and would not be able to recover the laptop HARD drive.

    Therefore, you must create the DVD before recovery would remove anything from the second partition on the HARD drive.

    After you create the DVD recovery successfully, you could remove the partition and could add the free space on the HARD disk on the first partition.
    This can be done on disk management!

    This is a useful page for Microsoft:
    [Using Windows and procedures: Vista HARD disk partition | http://windowshelp.microsoft.com/windows/en-us/help/d9a4d35e-efdf-406c-a049-0860180129a71033.mspx]

    Good bye

  • How can I delete my payment information for my iPhone

    HI, I just need some help, I want to take my my iPhone off payment information 6. 64 gb, iOS 9.2. I tried to go into the settings of application/ITunes store but I couldn't find a 'none' button or whatever it is to get to be there. I took my iCloud to iTunes Store, but how do I delete the info...) : can somebody help me please...

    I have to take my iCloud turned off my iPhone and reset it and create a new cloud?

  • How can I delete my project?  How can I change my password?  How can I delete my account?

    How can I delete my project?  How can I change my password?  How can I delete my account?

    Sorry, this is probably a better resource: creating, renaming and deleting projects

  • How can I delete a table of contents?

    I made mistake he follow the instructions on adding a table of contents to my document and now it is totally fucked up the whole 350 pages of the document.

    Yes, it seems to be screwed in the document and it doesn't seem to be an obvious way to get rid of him. I'm deleting it and it simply re - appear elsewhere.

    How can I delete, UN - do, the KNOCK out of there?

    Select the text that is the table of contents and delete. Then make a copy of the file on the case where next steps remove all.

    Try to create a new table of contents and the do not pass to the existing text. This might work, maybe not.

    From my experience if you cut the picture containing a table of contents and paste back into the document, it loses its special TOC property that allows it to be updated, so that would be another option to try.

  • Delete the items created first video mp4 song

    Around a year ago, I created a film with added background music clips form. How can I delete music and add new or what music I want relaxation video form the original videos?

    Thanks for your response

    If you have the file .prel of origin and media that you used to create it, it's as simple as open this file .prel and replace the soundtrack.

  • How can I delete files from Dreamweaver?

    I spent the day creating HTML files for a class assignment. I thought I had all the files in a folder, but they were not. I have lost since the files, but not files. All I have left are labels for files. I need to delete the files and start again. How can I do?

    Create a new Site definition in DW by going to Site > new Site.

    Delete the old folder of the site to your hard drive with your operating system file manager.

    Nancy O.

Maybe you are looking for