Prevent row in ADF BC Row from being deleted

I'm using ADF/BC for my data; I'm attempting to prevent a row from being deleted based upon some condition. I'd like to do this in the Impl classes of the EO or VO for the given row but I'm not sure where this should be done or if it's even possible to set a "row" to deletable or not. I'm aware of the isUpdatable method that one can override in the EO but I'm interested in preventing a delete of the row instead of the updatability of the attributes.

Thanks, that prevents it from being deleted for sure but I'm wondering if there is something you can set at the entity level that will be inherited by the Web Tier? In the isAttributeUpdatable method one can set the attributes to read only by returning false and that setting gets bubbled up to the UI tier without any special coding. I'm looking for something similar but instead of a individual attribute I'd like to do it for the Row.
For instance, I'd like to be able to use EL to set a Delete button to enabled or not based upon a custom permission for that Row. Is there something native on the Row that we can set to make the row read only or not and then reference that using EL?

Similar Messages

  • Protecting certain backups from being deleted?

    say, i have a time machine backup. and its running full. the oldest backup i have is on 20th december 2010. i wanna know if there's a way to prevent that or other certain dates from being deleted?

    auturmis wrote:
    say, i have a time machine backup. and its running full. the oldest backup i have is on 20th december 2010. i wanna know if there's a way to prevent that or other certain dates from being deleted?
    No.
    As Matt says, it sounds like you may be doing something rather dangerous. Please clarify just what's going on, and we can provide some help.

  • How do I prevent all dialog processes in SM50 from being occupied?

    Hi experts,
      I have set rdisp/rfc_min_wait_dia_wp = 4 and I still saw all dialog processes got occupied.
    (PS: This screenshot is captured after a few minutes). Anyway, how do I prevent all dialog processes in SM50 from being occupied?
    Should I increase rdisp/rfc_min_wait_dia_wp ( = 4 now ) and rdisp/wp_no_dia ( = 18 now ) to a higher value?

    Hi Gaurav & Nick,
       If I understand correctly, there are 4 dialog processes running and 14 RFC running at the same time.
    If I want to resolve this problem, I need to reduce paralellism of RFCs and increase dialog work processes, right? Here is my new configuration. Any thoughts?
    new parameters:
    rdisp/wp_no_dia = 20
    rdisp/rfc_min_wait_dia_wp = 10
    rdisp/rfc_check = 3
    old parameters in profile:
    rdisp/wp_no_dia = 18
    rdisp/wp_no_btc = 13
    rdisp/wp_no_enq = 0
    rdisp/wp_no_spo = 2
    rdisp/wp_no_vb = 5
    rdisp/wp_no_vb2 = 2
    rdisp/rfc_min_wait_dia_wp = 4
    rdisp/rfc_check = DEFAULT  (DEFAULT is 2, ASYNC and SYNC RFC)

  • How can you prevent encrypted folders that you created in disc utility from being deleted?

    How can you prevent encrypted folders that you created in disc utility from being deleted?

    bibst wrote:
    How can you prevent encrypted folders that you created in disc utility
    You cannot create encrypted folders in, or encrypt folders with, Disk Utility.
    You can create with Disk Utility encrypted disk images from folders. I assume that's what you mean.
    The proper way to do it is by setting the immutable bit. Read here
    <http://www.thexlab.com/faqs/immutableflags.html>
    about the immutable bits (and the trouble they sometimes create).
    The user immutable bit (uchg) is the same as the Finder lock, as described above by X423424X. It's a weak lock, with only a warning.
    The system immutable bit (schg) is more powerful. Once is set, the item cannot be deleted in Finder (even though Finder will ask for your password and may give you the impression that it can trash it; it will end with an error).
    I set it in Terminal, thus
    $ sudo chflags schg my_encrypted_disk_image
    and unset it also in Terminal
    $ sudo chflags noschg my_encrypted_disk_image
    (Note that, when you unset the system immutable bit, the change won't be reflected immediately in Finder, but the item can be trashed nevertheless.)

  • How do i prevent my internet history from being deleted in firefox version 11.0?

    Hi, I would like to stop my internet history from being deleted. I had stopped it when i was on version 7 i think. But now I have version 11 my internet history is being deleted.
    Its when you click on history then show all history and from there it is being deleted and I need it to stop. I have fox filter and I am watching what my boys look at. But i have a feeling they are still getting through it as I have noticed that the istory is being deleted and there are cookies that relate to porn on the computer!
    Thanks!

    First, the version of Firefox that you are running is very very out of date and thus insecure. Please go to [http://www.getfirefox.com www.getfirefox.com] to download the latest and best version.
    Now, you want to make it impossible to have any history deleted from Firefox? I'm not sure that there is a way to prevent that in Firefox (I will look for an addon to do that however).
    I would take a look at the various [[Parental controls|Parental controls]] that are available in Firefox and Windows Vista however. In this case, I think a good content filter will probably be your best course.

  • My itunes account was set up under an email account that has been deleted. I started a new itunes account but have the same device as with the old account. How do i keep my music thats on my ipod touch from being deleted when i sync it to my new account?

    My itunes account was set up under an email account that has been deleted. I started a new i tunes account but have the same device as with the old account. How do i keep my music thats on my ipod touch from being deleted whin i sync it to itunes after purchasing new music?

    I have the same problem (deleted email account). I think I mistakenly set up an account when I was buying an Apple product online, not realizing that it would be the same ID as my iTunes.
    What is the way to actually contact Apple?
    I have been clicking around in circles for hours! Will I have to pay them to resolve this? I don't have any products still have applecare . . .

  • How do I keep emails from being deleted on my iPhone 6? Emails get deleted from phone when I startup desktop computer and they are downloaded from sever. Is POP3 no longer supported on IOS 8.1?

    How do I keep emails from being deleted on my iPhone 6? Emails get deleted from phone when I startup desktop computer and they are downloaded from sever. Is POP3 no longer supported on IOS 8.1?

    Have you seen this?
    Using a POP account with more than one device - Apple Support
    A better solution is if your email provider uses IMAP. IMAP sync email folders between multiple devices. Meaning any device will receive the email, all sent email can be seen on the devices. If you delete email from one device the email is deleted from all the other devices. Check with your email provider to see if they offer IMAP services.
    If they do not your choices are to 1) configure email on the PC to keep Mail on the mail server or 2) change email providers to something like Gmail or Outlook.com (as examples). FWIW I use Cox IMAP email and fully sync email between a Win 8.1 Update 1 laptop, a Win 7 desktop, an iPad 4, an iPhone 4 and an iPhone 5S.

  • Can I restore deleted history or keep history from being deleted?

    My question pretty much summed it up. I would like to restore deleted history or at least see what was deleted, or keep history from being deleted altogether.

    I do not like that firefox keeps harassing me to update it all the time. I Do not like that it has a private browsing feature and I want to know how to permanently get rid of this feature and never be bothered again by an update.

  • How can I protect the book in my Ibooks from being deleted?

    I allow my special needs child to use the Ipad for specific apps that promote learning, however, I am afraid he may delete the books I have purchased with my Ibook app. Is there a way to protect the content in my Ibook app from being deleted?

    Another thought: iCloud stores your previous iBook purchases as described here:
    http://support.apple.com/kb/PH2587
    So even if your iBooks happen to be deleted, there's no great harm done as you can always redownload them.

  • Protect DLL Files from being deleted or unregistered

    I am looking for a way to protect a DLL file from being deleted or unregistered.
    My users have an application that uses the same DLL files as another application. This is in a test environment, so when they are uninstalled they step on each other by deleting or un-registering the DLLs.
    Any ideas?

    Hi,
    These apps are designed to delete the DLL file in uninstallation process. You can test to Deny the Delete permission on the DLL file as a test but it may cause a new issue that application think they failed to uninstall itself clearly as the DLL file cannot
    be deleted. Just have a try on Deny Delete permission in NTFS security. 
    If you have any feedback on our support, please send to [email protected]

  • Protect bbm chat history from being deleted

    Hi Guys
    I'm still new here, plz help me, is it possible for me to stop the bbm chat history on a Blackberry from being deleted? Maybe set a password before deletion will take place?
    Plz help

    Hi Catman78,
    There is no such option of setting password for deletion. You can check the below KB article for checking memory leak -
    KB02843 What is the Low Memory Manager feature on the BlackBerry smartphone
    Alternatively you can save chat history in your media card.  Check the below KB article -
    KB18406 BlackBerry Messenger conversations are lost following an application load process of a BlackBerry smartphone
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • Keeping photos from being deleted from folders

    I am wondering if there is a way to keep photos from being deleted from a folder if they're deleted from the library, like some kind of safeguard. Here is my dilema: I import, say, 50 photos from shooting a band. I choose 5 of those 50 to add to my 'portfolio' album, and no longer need all 50 photos in my library, as they take up much space. So, I select all 50 photos as a group in the library and delete them, but lose the 5 that I put in the 'portfolio' folder. Is there any better way to clean up my library, and not lose the portfolio pictures, short of going one by one and deleting only the ones from the library that I know I don't want to keep? Any imput is greatly appreciated. Thank you all.

    Hi chado404,
    The albums only point to the photos within them, meaning if you delete from the library you are also deleting any of those photos from the album also.
    If you take these 50 photos in a photo shoot, do your deleting first then put the remainder in an album. To help you, you can give the photos you want to keep a star rating. When you are done, select all as a group, then command click on the photos with the star rating to de-select just those, then delete the rest.

  • Can I shut off wifi to prevent my ipod touch music library from being tampered with?

    I switched to a different media source but once more my CD music disappeared. But instead of being corrupted this time it was converted to other. It was fixed by just pulling up the music app list and unchecking/checking the songs again thankfully though.. But if I shut off my wi-fi on my ipod will this prevent my cd music on my touch from being messed with?
    I already got off the phone with a rep two days ago and they scratched their heads as to what's even causing this. We did everything known to fix it, and after looking at the numerous threads now its obvious it isn't just a hardware issue. Everyone is having issues with their cd music. I'd rather just have this nightmare end by any means possible.

    I doubt wifi has anything to do with  unless yo have the iPod and iTunes setup to sync via wifi.
    To turn wifi off place the iPod in airplane mode.

  • Help-Want to lock Time Machine back-up from being deleted

    Hello there,
    I used to have a macbook pro from november of 2006 that was loaded up with data from graduate school. As it was getting quite old, I wanted to get a newer laptop and chose the macbook air for many reasons. However, it doesn't have nearly as much storage/memory, so I could only transfer a fraction of the data files from my old laptop (pro) to the new one (air).
    I am currently using TimeMachine to back up everything to a 4 terabyte external hard drive. Even though I originally transferred all the data via this drive and had a mirrored back up of everything in its entirety from my old macbook pro, now when I view the external hard drive only my macbook air is listed under Backups.backupdp.
    I can still view all the original data and files from the macbook pro in my oldest back up, however, as I begin to fill up the hard drive I worry that this back up might eventually get deleted. Is there anyway to specifically cordone off this back up so that it is never deleted? I essentially want to lock it but am unsure if this is even possible, let alone how to do it.
    Any help you could provide would be greatly appreciated. Thank you so much!!
    All my best,
    pyo_pyo

    I think I follow your post..
    AFAIK there is no way to stop TM from eventually deleting the material from the oldest backup.. Indeed just hoping that the data is stored until the drive is full is not necessarily going to work.
    You need to have another storage and copy the backups.backupdb to it. Store this drive in a draw somewhere.
    Do you still have the old laptop . if so do not do a TM backup of it. Do a direct disk image plus copy and paste and perhaps TM as well.. of all the files and store that. Much easier when you later need access to a file to get it direct rather than extract it from a backup.
    1TB drives are now so cheap .. if the data has any value to you. Go and buy one or two.. spread it around. Store offsite. If anything is valuable it is valuable to store offsite as well.

  • Is there a way to prevent apps DLed on my phone from being transferred to iTunes when I sync?

    So here's my question: When I buy an app on my iPhone and sync to my computer, why does it transfer it to locally to my iTunes still, shouldn't it just be backed up in the could?  And shouldn't this app get deleted locally from iTunes when I remove it from my phone?  I just went through and deleted about 10GB of apps that have accumulated over the years from my computer, which weren't on my phone anymore.  Seems like a big waste of space to even backup apps to the computer anymore, how can I prevent this?

    in itunes,  once your device is conected it will appear on the right hand side. click on it and then on the main window you can select at the top, apps, music movies, etc..
    that's where you can customize you sync for that device, by checking unchecking boxes.
    and this is only for that device. plug another and do the same. and another, and another, as many as you want.
    hope it helped

Maybe you are looking for

  • Can't forward messages to external address - it's impossible to choose e-mail from list

    Hello colleagues! Faced with a strange problem... I have Exchange 2010 SP2, need to forward mail from domain recipient to mail contact (I mean - external e-mail address). So I created this external contact in "Recipient configuration->Mail contact" b

  • How to transfer files to and from iPad air using bluetooth

    How can I transfer file to and from my iPad using Bluetooth to another Bluetooth-enabled device?  Is there an app for this? 

  • BLEED:  How can I tell it's embedded in my Press Quality PDF?

    When saving a Press Quality PDF from an Indesign document, I then open the PDF document but can't figure out how to tell if my bleed is there.  The document view is only the actual trim size.  I've looked at all the menu options but can't figure it o

  • To print image in Non interactive form

    I have a requirement where image file is attached to QM02 transaction, now i want to print the attached image on QM02 print output. I am planning to use Non interactive form method to print the form output. Can anyone pls guide me how to insert/print

  • Adobe updater problem

    Hi, i'm getting a problem with Adobe updater. It does not recognize my internet connection, have a look at the picture please: http://www.flepstudio.org/images/adup.jpg My internet connection works fine but it does not with Adobe updater. Any suggest