Read Only Model via package protection and delegation

I have a model that I have made read only to most client code by use of package protection and delegation.
Changes are made to the model via a delegate inside the model's package (more precisely with a delegate that uses commands) .
I am unhappy about the design for two reasons, 1. it is annoying to always have keep the delegate up to date with changes to the model 2. the package is getting very big and I would like to start splitting the packages up into say subpackages (package protection does not work with subpackages does it?).
Does anyone have any suggestions how I could address these weaknesses in the design?
thanks

One way is to provide a copy to the client, the client could update their copy but only your copy would be the master.
This way the client would use the same classes you do.
Or you could generate the delegates from the model.

Similar Messages

  • External hard disc is read only on my MacBook air and I can't safe and export files on it, how can I change that

    My external hard drive is read only on my MacBook air and I cand safe  or export files to it. How can I change this so I can use the external hard drive to export my files and work on an other pc.

    Eject and disconnect the drive (and its power supply, if it has a separate one) for a few moments, then restart it.  Restart your Mac, then reconnect the drive.
    If that doesn't help, the directory structure may be damaged.  See if you can Repair it, per #6 in Using Disk Utility.

  • Read Only Display of Radio group and Text area with counter not working

    Hello,
    I am using Apex 3.2, with 10g for the database
    I have this form, with fields that will set to read only when status = 'closed'
    All of the fields display as read only except for 2. I cannot figure out why this is not working correctly.
    1st field is Issues that is a text area with character counter, with a sql query behind it, that is set to null unless the query is pulling in the data.
    2nd field is Status which is a radio group that will not display as read only when status = 'closed'
    I have other fields on the form with the same format and they change to read only when the status = 'closed', I have even copied the pl/sql expression from one field to these fields and it still doesn't work correctly. I have also tried javascript for an on load event, which works, but once I click on the save button, it disables all of the page items, which works correctly, but I purposely forget to enter information, to make sure the validations are firing correctly, which it does, but the script disables everything, not allowing me to correct the errors. The javascript is firing on the on page load event.
    Any help on this is greatly appreciated.
    Mary

    Dung,
    That API seems to have a bug, it returns true/false/null, so you could use 'return not nvl(htmldb_util.current_user_in_group(p_group_name => 'APP Admin'),false)' to get a false value.
    Unfortunately there's another problem: using the read-only attributes for checkbox or radiogroup item makes them hidden. My suggestion would be to create another item that has disabled="disabled" in the HTML Form Element attribute in the item definition and display that item or the non-disabled item alternately, using conditions based on the current_user_in_group logic.
    Scott

  • Read Only privileges for Access Server and Identity Server - OAM 10g

    Hi,
    I am working on Oracle Access Manager 10g version 10.1.4.
    I use an administrative account that is a member of the 'COREid Administrators' group to log into the access console and identity console of OAM.
    Since this is the administrative account, it has the rights to modify and update all access/identity entities.
    How can I set up an account that has "view only" privileges over all access and identity objects in OAM?
    I need to log into the access and identity consoles of OAM and view all policy domains/policies/access system configuration/user manager config/group manager config etc bt not be able to modify any of them.
    Is there a way to setup such an account in OAM?
    Regards,
    Abhishek.

    Hi Abhishek,
    It is possible to define different levels of administrator, but it is not possible to give an admin read access (to objects in the consoles) without also giving modify access. I do not believe that there is a straightforward way to meet this requirement - for the Access System you could use the Policy Manager API and write your own interface (which does not have the ability to modify) but obviously this would be some development effort.
    Regards,
    Colin

  • Read-only bind mount using fstab and systemd

    I'd like to have read-only bind mount in fstab. I've read that proper solution of that problem is adding to /etc/fstab those lines:
    /src/dir   /dst/dir    none   bind   0 0
    /src/dir   /dst/dir   none   remount,bind,ro   0 0
    I know it works on non-systemd enviroments (Debian) but with systemd I get error message from systemd-fstab-generator during startup about duplicate entry in /etc/fstab and my mount point is not read-only. Does anyone have better solution than running a script?

    R00KIE wrote:
    You could use the "alternative" way of doing it, which is exemplified in the manual page: '
    mount --bind olddir newdir
    mount -o remount,ro,bind olddir newdir
    Here I can reproduce your problem but the "alternative" way seems to work fine.
    That's not the alternative way, that's the only way. Though, you don't need to specify both the source and dest on the remount -- just the dest.
    Last edited by falconindy (2012-01-31 13:32:12)

  • I cannot delete calendar entries from my Iphone 5. It says they all are read only. I went back and I cannot find the main. It was deleted. I clicked save future events when I did this accidentally.

    I cannot delete a repeated appointment in my calendar. I deleted the main and accidentally hit save future dates. I tried to delete each future date but there was no edit function. I then clicked the calendar and i could change it but they all display read only cannot delete.

    Were the photos taken by your new iPhone?  If so, did you not import them off your phone to your computer (as you would any other digital camera) before the restore?  If not, restoring wiped the data off the phone and your pictures are gone.
    Sounds like a good time to (re)read the User Guide.

  • Can you use time capsule if you only connect via wi fi, and no ethernet lines?

    I'm considering buying a Time Capsule to back up my stuff and use as a router, but I only use wi fi (my fi) via my phone service. Is Time Capsule functional without an ethernet connection, and if so, how functional? Basically, is it the right thing for me within these parameters?
    thanks in advance
    Taythorne

    This could be OK, because Time Capsule's operation is quite independent of the router function. Time Capsule does need to live on a LAN with a router somewhere, even if it is not the router itself. As long as that's true, it could work.
    But it sounds like there is more research you have to do. Normally, Time Capsule either functions as a router, meaning you give it a direct IP address to a modem; or it functions in bridge mode, meaning you give it the IP address of a router. I don't know how a mi-fi works compared to a cable or DSL modem, but I am guessing you might set up the Time Capsule to connect to it in bridge mode. If that works, everything else should work fine.
    Regardless of the setup, Time Capsule should work as long as the Mac can find the Time Capsule and mount the backup volume. An actual Internet connection is not required for that, because it's all within the LAN.

  • My podcast has a channel, and one episode in the channel, but my second episode is only accessible via a search and doesn't appear in my channel

    So I've recently submitted a podcast, and my channel is up and running with my first episode, but now that I've submitted my 2nd episode its not showing up when you view my podcast
    BUT when you search my podcast name both episodes show up in the search results
    As you can see its there in the 2nd picture but not in the first.
    Futhermore when I click on the link to my own channel (the green rectangle on the bottom left of the second picture) it takes me right to the first picture, missing the 2nd episode.
    Is this just a case of itunes being slow to add my next episode?
    Here is a link to my RSS
    http://miniaturejames.podbean.com/

    That link is to your web page. Your feed is at http://miniaturejames.podbean.com/feed/
    and your iTunes Store page is at https://itunes.apple.com/podcast/miniature-james-show/id687962754
    There are three episodes in the feed, the last two posted only yesterday. It's quite normal for the Store to take a couple of days to show new episodes, so it's just a question of waiting.

  • While syncing last time the computer turned off during the process and now when I try to get ont oitunes the phone is read only as a camera device and I cant  sync my phone.  I have tried re installing itunes and have turned every thing off and on. Help!!

    While syncing my Iphone the computer turned off and now Itunes doesnt read the connection. A message appears that I have plugged in my camera on my pc.I have gone through turning every thing off and on and re installing Itunes but still no luck. Any suggestions?

    If iTunes cannot see your iPhone.
    First, try soft-resetting your iPhone.  Press and hold sleep/wake and home button, ignore the slide bar - keep pressing.
    When you see the Apple logon, let go.  When the phone has restarted, plug into PC. Will iTunes see iPhone now?
    If not, you'll have to do a DFU restore - please note that this will wipe everything on your iPhone. If you have a recent backup (iTunes does this by default), then you're in luck and you can restore everything back.
    If not, then...hmm well... Oh bum.  Maybe you have an iCloud backup? I haven't tried this so I can't comment.
    Click HERE for DFU instructions

  • MY Hard Drive says_"YOU CAN READ ONLY" for the OWNERSHIP AND PERMISSSIONS!

    I cannot add anything to my EXTERNAL (SimpleDrivePS) hard drive. When I try to copy something to it, it says "The item cannot be moved because SimpleDrivePS cannot be modified."
    Upon control-clicking this external hard drive's icon, under "Get info" it says "You can read only" for it's "Ownership and Permissions."
    I have used this hard drive with Windows-based computers, but not with this new Apple yet.
    What do I need to do so that I can move or copy things to this external hard drive?
    Also, is there a discussion room for just general questions? - There are many little things that I wonder how to do from time to time as I am trying to become accustomed with Apple, like shortcut key for desktop, or where is control panel or link to "my computer" or other shortcut keys - things like that.

    Hi newsppler;
    Since I have never had a disk that was formatted NTFS, I am not absolutely sure exactly how you can discover how it is formatted. I think if you look at the disk with Disk Utility that should tell you.
    Yes. If you reformat you will lose everything that is currently on that disk.
    To reformat open Disk Utility and then select the disk. You then click the partition tab. This will allow you to select what format you wish to use. I would suggest Mac OS Extended +
    Allan

  • SD card set to read only and I can't change it

    I bought a brand new 64GB SD card and used it for the first time today. I inserted it into the SD card slot on my mid 2010 MBP and copied the files to my drive. When I wanted to delete the files however, I couldn't. I tried using cmd+backspace, dragging it to the trash and even trying to erase/format the card in Disk Utility to no avail - everything was greyed out.
    I've looked around to try and find a solution but can't. Does anyone know what's wrong or what I shoud do?
    I've also checked if the lock switch was set to lock on the card, which it isn't. The card also appears read only on a Windows machine, and I can't change the permissions on either Mac or PC. I've also reset my PRAM as I saw this as a possible solution by another use but it hasn't worked.
    Please help!

    Hi,
    Google is your Friend
    10:18 PM      Sunday; February 12, 2012
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Read Only for Non Trusted Users

    Hi everyone:
    Is it possible to forbid non trusted (or non certified) users for modifying the pdf (I'm interested in signing protection particularly) but allowing them to open the pdf in READ ONLY mode?
    I'm wondering how to do it using Adobe Acrobat Professional 8 (info with Adobe Acrobat Pro X will be also appreciated) and opening the pdfs in their Reader corresponding versions (managing non trusted users as READ ONLY users).
    Thanks for your time
    Regards,
    Javier

    Thanks Bill:
    I've been trying what you said, and is possible to "lock" the pdf so it's in read only mode via password (using Adobe Acrobat X). Is it possible to do the same with certificates? As far as I have seen, if you use certificates policies, you use the certificate to encrypt the document but then, non certified users are not allowed to access the pdf. I'm really interested in using certification restrictions but being able to access the pdf: I want to simulate the READ ONLY MODE for everybody and the WRITE mode for certified users.
    Using this kind of restrictions, the only problem that I see (for end users) is that they should disable secure settings before editing / signing (this two options appear disabled with this method). Is it possible to get them available and open the "enter password" dialog when clicking them, not managing the security properties?
    Thanks for your time
    Regards
    Javier

  • Read only query help

    Hello,
    I have read-only access to a database and I'm trying to perform a count on a decoded statement.
    I cannot update, merge, create views, or delete at all.
    example:
    vdh.vin as VIN,
    mcs.vehicle.veh_manuf_year@OCP5 as YEAR,
    mcs.veh_make.veh_make_desc@OCP5 as MAKE,
    vcbc.veh_model.veh_model_desc@OCP5 as MODEL,
    vdh.created_timestamp as "TIMESTAMP",
    max(to_char(decode(c.COMMAND_ID,'LT_FT_TR_PR',TRIM (TO_CHAR
    (c.command_result, 'XXXXXXXXXXXXXXX')), ' '))) LF_TIRE_PRESSURE,
    max(to_char(decode(c.COMMAND_ID,'RT_FT_TR_PR',TRIM (TO_CHAR
    (c.command_result, 'XXXXXXXXXXXXXXX')), ' '))) RF_TIRE_PRESSURE,
    max(to_char(decode(c.COMMAND_ID,'LT_RR_TR_PR',TRIM (TO_CHAR
    (c.command_result, 'XXXXXXXXXXXXXXX')), ' '))) LR_TIRE_PRESSURE,
    max(to_char(decode(c.COMMAND_ID,'RT_RR_TR_PR',TRIM (TO_CHAR
    (c.command_result, 'XXXXXXXXXXXXXXX')), ' '))) RR_TIRE_PRESSURE,
    max(to_char(decode(c.COMMAND_ID,'HIGH__PRESSURE_LIMIT',TRIM (TO_CHAR
    (c.command_result, 'XXXXXXXXXXXXXXX')), ' '))) HI_LIMIT,
    max(to_char(decode(c.COMMAND_ID,'LOW__PRESSURE_LIMIT',TRIM (TO_CHAR
    (c.command_result, 'XXXXXXXXXXXXXXX')), ' '))) LO_LIMIT,
    c.STATUS as STATUS,
    dh.DTC_CODE as DTC_CODE,
    dh.EXPLANATION_TEXT as DTC_EXPLANATION
    from vdu.c2pt_data_history c, veh_diag_history vdh,
    vdu.connected_veh_param cvp,
    module_history mh, dtc_history dh,
    mcs.vehicle@OCP5, mcs.veh_make@OCP5, vcbc.veh_model@OCP5,
    vcbc.veh_manufacturer@OCP5
    where ((c.VEH_DIAG_HISTORY_SAK = vdh.VEH_DIAG_HISTORY_SAK)
    and (vdh.CASE_SAK = cvp.CASE_SAK)
    and (dh.MODULE_HISTORY_SAK = mh.MODULE_HISTORY_SAK)
    and (vdh.VEH_DIAG_HISTORY_SAK = mh.MODULE_HISTORY_SAK)
    and (cvp.VEHICLE_SAK = vehicle.vehicle_sak@OCP5)
    and (veh_make.veh_manuf@OCP5 = veh_model.veh_manuf@OCP5)
    AND (veh_make.veh_make@OCP5 = veh_model.veh_make@OCP5)
    AND (veh_manufacturer.veh_manuf@OCP5 = veh_model.veh_manuf@OCP5)
    AND (veh_model.veh_manuf@OCP5 = vehicle.veh_manuf@OCP5)
    AND (veh_model.veh_make@OCP5 = vehicle.veh_make@OCP5)
    AND (veh_model.veh_model@OCP5 = vehicle.veh_model@OCP5)
    AND (veh_model.veh_manuf_year@OCP5 = vehicle.veh_manuf_year@OCP5))
    and c.CREATED_TIMESTAMP >= to_date ('10/20/2007 12:00:00 AM','MM/DD/YYYY
    HH:MI:SS AM')
    and c.CREATED_TIMESTAMP < to_date ('10/21/2007 12:00:00 AM','MM/DD/YYYY
    HH:MI:SS AM')
    group by vdh.vin, mcs.vehicle.veh_manuf_year@OCP5,
    mcs.veh_make.veh_make_desc@OCP5,
    vcbc.veh_model.veh_model_desc@OCP5, vdh.created_timestamp, c.STATUS,
    dh.DTC_CODE,
    dh.EXPLANATION_TEXT
    order by vdh.created_timestamp
    unfortunately it returns no data. I think there is a disconnect between table:dh and table:c
    but my main problem is how do I add another column called count which counts from 0 through 4 what the return is on:
    max(to_char(decode(c.COMMAND_ID,'LT_FT_TR_PR',TRIM (TO_CHAR
    (c.command_result, 'XXXXXXXXXXXXXXX')), ' '))) LF_TIRE_PRESSURE,
    max(to_char(decode(c.COMMAND_ID,'RT_FT_TR_PR',TRIM (TO_CHAR
    (c.command_result, 'XXXXXXXXXXXXXXX')), ' '))) RF_TIRE_PRESSURE,
    max(to_char(decode(c.COMMAND_ID,'LT_RR_TR_PR',TRIM (TO_CHAR
    (c.command_result, 'XXXXXXXXXXXXXXX')), ' '))) LR_TIRE_PRESSURE,
    max(to_char(decode(c.COMMAND_ID,'RT_RR_TR_PR',TRIM (TO_CHAR
    (c.command_result, 'XXXXXXXXXXXXXXX')), ' '))) RR_TIRE_PRESSURE
    all I need to know is whether or not 1 through 4 are null or not, if not, then set the value to 1 and then if null then the value is zero and cound 1 through 4 in the column called count_pressure.
    the values may be anything from 1.23232 to 100000.00323.
    I hope this makes sense.

    Not sure if I understand your requirements but perhaps;
    SQL> with t as (
       select 5 c1,5 c2,5 c3,5 c4 from dual union all
       select 5, 5, 5, null from dual union all
       select null, null, null, null from dual union all
       select null, null, 5, 5 from dual)
    select
       nvl2(c1,1,0) +
       nvl2(c2,1,0) +
       nvl2(c3,1,0) +
       nvl2(c4,1,0) tot
    from t
           TOT
             4
             3
             0
             2

  • 'Read-Only' is applied to 44k photos while using LR5...can't save work.

    Hello,
    As noted in the title...
    Using MacPro (5 years old), OS Lion, full RAM, 4 HD's with 2 TB+ drives, plenty ofroom left over in all.
    ALL 44k images located in one LR3 catalog (recent upgrade to LR5 hoping for remedy 2 days ago) show 'read-only' notice, so after doing any kind of work on them in develop, etc. I select all (in specific folder, not 44k photos!) then save it, a notice comes up and says these are 'read-only' files. Thus not able to save any work that is apparent in LR.  BUT, when exported as JPG all changes are saved.
    I have opened various folders, NOT via LR, but via Finder (OS Lion) and opened one by one using PS 4 and they open fine in RAW converter window.  Save as PSD, all files look fine.  Same for JPG's.
    The issue is LR, or hard drive or something along the chain where the photos, when viewed in LR, say they are 'read-only'.
    Via Finder window I have opened various files (denoting read-only notice) and right-clicked to 'get info' on that specific photo. ALL files are 'read and write', there are NO files that are denoted read-only when getting the info.  I checked 50+ photos in 25 different folder locations.
    Laptop test:
    I started a new LR catalog in LR5, with ZERO photos and imported a few folders, with images that had 'read-only' notice to make sure I tested the same photos that had given me the read-only notice.
    Did a test on photos with 'read-only' files on a laptop (OS Mountain Lion), pulled files from HD where ALL 44k photos are located.  Copied to thumb drive, imported with LR5, copied to desktop in test folder, all photos came in fine, slected all, did global edit to all images, saved all, all images were saved with NO 'read-only' notice.  This is true for a series of folders.
    So my test, if it proves anything, is that either LR is messed-up or the HD is messed-up on MacPro tower or something is telling LR to show the 'read-only' notice to pop up.
    Back-ups:
    Back-ups were done from HD where all 44K photos reside, to 2 (two) other drives, within MacPro tower.  So ALL 44k photos are essentially the same.  This was a drag-n-drop not using Super Duper or similar byte-verification software.
    Any ideas on why ALL 44k images say 'read-only', when viewed in LR5 in MacPro tower but NOT in laptop?  HD is 5 years old...could this be the weak link?
    Also, considering to wipe the complete system drive (not HD where photos reside) and re-load everything from scratch to begin anew.  My concern is will this help and then, will wiping all drives and re-loading all images, then re-loading LR5 catalog will solve this.  I am resigned to a week of doing this if it works as right now, I am at a stand still and cannot go forward or backward.
    Thanks
    Sergio

    Ok, before we square off on the definition of metadata.  I was saving work done in the develop module, as in developing the photo to my taste.  Once I am done with the work, I either select the one image or all images in a folder and save the work.  If the saving action is indeed called metadata (that is written to the xmp sidecar file) so be it.  All I care about is that the sidecar file hangs onto the work I just did.  Thus if a catalog is corrupted, I can re-load a recent back-up (done every time LR exits) and not have to do the work again.  I also want to make sure my photos can be used even if LR dies, fades away into obscurity or no longer works.  I do not want my photos to be 'prisoners' of Adobe LR or any other software.  That is why I tested the photos outside of LR, by opening them in PS and see if my settings stayed as I had them before.  If LR automatically saves the work to the catalog, great, no worries.
    Now, onto the issue at hand.
    Why do I get 'read-only' when I try to save work to a photo or a bunch of photos within a folder?
    Where do I go to get "permission to write to a folder', whether using LR or any other software?
    thanks

  • Select in read only transaction mode / insert in write mode

    hello,
    i have a following question: i have 2 db, one is rdb and one oracle
    im extracting data out of table out of rdb and inserting them into oracle via OWB;
    however this is run in read-write mode and causes locks in rdb; the only way to prevent locks is to run a select statement that accesses rdb in 'read only' transaction mode;
    my question is: is this possible to split up the select and insert statements of oracle into 2 different transaction modes, so that select statement is run in 'read-only' mode and insert in 'write' mode?
    i appreicate tips on how this could be achieved
    thx
    rgds

    Hello,
    is this something like:
    insert into oracle_table (select * from rdb_table@rdb_link);
    Then it is easy, you just need to use an sql init file for your OCI Service. Create a file, e.g. sql_init.ini that contains this line:
    declare transaction read only;
    Then alter your service so that it sees the sql init file, e.g.:
    SQLSRV> alter service <your OCI service> sql_init_file sql_init.ini
    The service owner must have the privileges to read the file. You need to restart the OCI service.
    Then a statement of the above kind results in a read only transaction on Rdb side, and the insert on Oracle side is done.
    I hope your SQL/Services version is a recent one (actual version is 7.3.1), because of this (from the SQL/Services Release Notes 7.2.0.1):
    5.4.25 Declare Transaction in SQL Init File Being Overridden
    In releases of OCI Services for Oracle Rdb prior to 7.2.0.1, if a DECLARE
    TRANSACTION statement was executed in the SQL initialization file of a service, it would
    be overridden by a DECLARE TRANSACTION statement executed later by OCI Services
    for Oracle Rdb. Toward the end of the connection setup, OCI Services for Oracle Rdb would
    execute a DECLARE TRANSACTION statement to set the default transaction
    characteristics to be close to Oracle default transaction characteristics. This would supersede
    any DECLARE TRANSACTION statement in the SQL initialization file. Starting with
    release 7.2.0.1, OCI Services for Oracle Rdb recognizes that a DECLARE TRANSACTION
    statement has been executed and will not execute another one.
    Regards
    Wolfgang
    P.S.: It is always better to place Rdb related questions in our communities at https://communities.oracle.com/portal/server.pt/community/rdb_product_family_on_openvms . Those are watched by Rdb Engineering and Support. It was by pure chance that I saw this forum thread.

Maybe you are looking for

  • Updated reports saved to shared directory not updating for users.

    We are using Crystal Reports XI to generate reports based upon our application (EZ-CAP).  When we update a report, and save it to our shared report folder on the server, the users "see" only the original report when the open it in Crystal Reports.  T

  • How to check netwok whether install driver in mac 8.6

    i want to set tcp/ip. But connect via field no "Ethernet" for me to choose in TCP/IP. So, i want to check network card whether install driver. My mac is mac8500. The Specifications below: http://docs.info.apple.com/article.html?artnum=112374 What is

  • Safe third party fractal plug-in for CS6Photoshop

    I am wanting to purchase a fractal plug-in.  I want to know of a good and safe one to use for CS6 Photoshop.  Any suggestions?

  • Running Oracle ADF tutorial example to weblogic server

    Hi all, I am following the tutorial at [Developing RIA Web Applications with Oracle ADF|http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm] . However, I did something new here. I deployed the finishe

  • Can a server handle threads?

    I have a server that a) recieves data b) updates a database c) sends data to clients I tried putting the database update into a separate thread : Runnable task = new Runnable() { public void run() { //i have a print statement here //which is not reac