How to remove related reference?

Hello,
I have two entity service: Incident and DispatchOffice.  Service "Incident" has relation to DispatchOffice service with name "dispatchOfficeRef" and cardinality 0..n. I want to delete one related object from this relation:
String key = <incident_object_key>;
String rel_key = <related_object_key>;
AIncident inc = IncidentServiceProxy.read(key);
bool result = inc.removeDispatchOfficeRef(DispatchOfficeServiceProxy.read(rel_key));
inc.getAspect().sendChanges();
During running this code I have no errors. After removeDispatchOfficeRef() call "result" variable has "true" value. But CAF doesn't anything: relation still exists.
Permission check are disabled for both entity services.
What I does wrong? Thanks for help.
Best regards,
Eugeny

I found answer on my question.
I created application service with following code:
Incident inc = this.getIncidentService().read(incident_key);
inc.removeDispatchOfficeRef(dispatch_off_key);
this.getIncidentService().update(inc);
It's works.
CAF is very very strange thing.

Similar Messages

  • How to remove all reference to topic that has no underlying file

    We are a team of four who use Robohelp 7 and Robosource
    control 3, with the roboshelp source on a server.
    Sometimes Robohelp seems to get confused about which file
    corresponds to a topic: usually because the file doesn't exist.
    This can happen sometimes if I change the name of file even if I do
    so in the topic properties, using the topic properties dialog box.
    In such a case, we are left with a 'zombie' topic, which we
    can't use but can't get rid of. I want to know a sure way to remove
    all knowledge of a zombie topic from Robohelp.
    For example, is it enough (or sensible) to do the following?
    - delete all links in other topics to that zombie topic
    - delete the reference in the .fpj file to the zombie topic
    This seems to be an intermittent issue but very time
    consuming when it happens!
    Regards
    Peter

    Hi Peter.
    First of all let me say that I use a different version
    control application. However this does seem to be a synching issue
    between your RH project and the RoboSource database. If after you
    check in your project, can you check for any differences between
    the source and the source control database. This may shed some
    light. I certianly wouldn't delete anything just yet.

  • How to remove related data by cmp

    I want to remove the data from database use cmp ejb.
    But the exception occured:
    ORA-02292: integrity constraint (YFZHU.SYS_C005711) violated - child record found
    How can I remove all the data by cmp EJB?
    Thanks in advance!

    The way it looks, you will have to remove the child first. Whether this can be done by cmp I don t know. If the child is another bean, just call the it's remove method first. Otherwise you might have to use a bean managed persistence
    With regards
    rh

  • Does anyone know how to remove references to facebook and Twitter from the settings and "share" feature screens?

    I don't use facebook or Twitter and I shouldn't have to see references to them in the settings section or the "share" dropdowns of Safari, the photo management screens, or anywhere else. Can anyone tell me how to remove these references?

    To the best of my knowledge you can't.
    You can try going into the settings and restrictions and turn them off and see if that makes the icons disappear (probably won't) but there's no way to select the icons you want.

  • Audio Unit Manager: How to remove references to deleted files?

    I upgraded my NI software. Replaced Guitar Rig 4 with Guitar Rig 5.
    Removed the Guitar Rig 4 components from both system and user Audio/Plugins/Components
    directories.
    The now-removed plug-ins are still showing in Logic's Audio Unit Manager. Of course they fail validation,
    and aren't used. But, leaves a messy listing, and causes other programs (Live, Kore) to also list them try to valid,
    and fail.
    Any ideas on how to remove these references??

    I would love to know this too. I have the worst plug in in the world ( Universal UVI Player) haging around my system although I removed it from all "visible' places.

  • How to remove bullets and spacing for url links in the Related Links iview?

    I tried to look for a property that I can edit the look-n-feel of the url links in the Related Link iView using "Theme Editor".
    All I need is to remove the bullets and increase some vertical spacing between the links.
    Currently, it looks like this:
    URL iView A
    URL Iview B
    I go through the whole section of Related Links properties, none of them seems to do what I want.
    Here are the list of properties in Related Link section (of Navigation Panel):
    Link Color
    Text Decoration of Link
    Hover Color
    Text Decoration of Hovered Link
    Initially, I thought "Text Decoration of Link" should be the right property I should look at. But there are a drop-down with 5 options: None, Underline, Blinking, Overline and Line-Through, which really can't achieve what I want.
    Thanks for advice.
    Kent
    Post with Diagram Illustration:
    <a href="http://sapnetweaverforum.blogspot.com/2006/11/how-to-remove-bullets-and-spacing-for.html">How to remove bullets and spacing for url links in the Related Links iview?</a>
    Message was edited by: Kent C.

    Hi, Kai.
    I checked the Related iView properties (URL Template), I don't see what layoutset it is really using. I am not sure, is that a layout set apply to the Related Link Iview?
    For the regular KM iView, I will see what Layout Set I want to apply, then I can go and change the properties (of layout coontroller, collection renderer & resource renderer)you mentioned. But for this Related Link iView, I really don't know. I guess it may be in the code itself.
    If there is a layout set for Related Link iView (or the place to apply layout set to it), can you point to me which one is that? (I did a search through the layout set names, I only find the AppQuicklinkExplorer (I used this for Dynamic Nav. Link iView before), if I can aply this layout set to Related Link iView, my problem will be solved.)
    Thanks for help.
    Kent

  • How to programmatically remove the reference to a VI within a project...

    Big picture of what I'm after is to go through a massive project and remove unused VIs.  I've got a way to programmatically go through and find all unused VIs and can them delete them from my machine.  But I'd like to also remove the reference to them in the project.  Anyone aware of how to go about this?
    Thanks!

    LV8.5's project explorer introduces a new setting for the folders : Snapshot or Auto-populating. The project will be refreshed automatically according to the content of an auto-populating folder.
    The behaviour of a folder is shown by its icon and it is possible to change it at any time.
    See this document for more details.
    Message Edité par JB le 02-22-2008 09:11 AM
    Attachments:
    Add folder to project.jpg ‏46 KB
    Convert.jpg ‏69 KB

  • How to remove reference to workgroup?

    After manually upgrading OS on my Air, it will only work in "Safe mode". I bought my Air from previous employer, it was set up as part of "Workgroup", and there are lots of references to that workgroup. I'm not sure how to remove all these references.
    For instance: the "Software update" in the apple menu, points to an domain controlled by previous employer.
    Any advice welcome

    The workgroup has nothing to do with your air not working in a normal boot.
    You need to completely wipe the drive then reinstall OS X and programs. You need to remove all references of your employer and the only way to do that is to wipe the drive and reinstall everything clean.

  • How to remove the Options and Task from the toolbar

    In the FLM portal initially we can see 'Options' in the menu bar after we log in. Below it there is 'Tasks' and 'Reports'. on clicking 'Tasks' and new menu bar 'Tasks' can be seen, under which 'New Tasks' option is there. When we click on 'New Forms' it shows the list of forms and when we select the desired form it opens the interactive form.
    My problem is when this form is opened on the header the 'Options' and 'Tasks' bar can be seen, under which the adobe menu bar comes (Print, Save, Zoom etc.) . This 'Options' and 'Tasks'  how to remove from the interactive forms page.
    Edited by: NIKHILKUMAR POOJARI on Feb 13, 2009 4:24 PM

    Dear Mano,
    By using Authorizations you can remove the Drag and Relate Menu
    Goto Administration ---> System Initialization -
    > Authorization -
    > General Authorization
    General -
    > Drag & Relate -
    > No authorization
    Regarding Authorizations, click the below link to get details
    [Define Authorizations|https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_HIER_KEY=701100035871000437965&_OBJECT=011000358700000481572006E&_SCENARIO=01100035870000000183&]
    Regards,
    Bala

  • How to remove a java script pop up

    Hi,
    I imported a robohelp document from another company and i am
    catering it to my company's needs. The problem is they have popups
    which refer to .bmp and it is in java script. If i highlight the
    word which has the pop up and remove the popup and then highlight
    the normal word again and refer it to my topic in the project
    manger; it still refers to their image and not mine. It is strange
    but true. I don't know how to remove the java script cos each time
    i hover over the highlighted text there are 2 red squares on the
    left and right hand side of the word highlighted which i want to
    change from their image to mine.
    Any help would be much appreciated .
    Thanks,
    Ramya

    please take a look at this
    //--></script></robohelp>
    on the <b style="font-weight: normal;">Environmental
    Consequence</b> window
    captures and displays information that you reported to a
    governmental
    agency, police, rescue center, or internal company sources.
    </p>
    <div class=droptext id=POPUP286607275 x-ss-type=dropdown
    style="display: none;">
    <p class=Graphic style="margin-left: 0in;"><img
    src="agency_notification_tab.bmp"
    x-maintain-ratio=TRUE class=img_whs2 style="width: 1108px;
    height: 120px; border-style: none; border-style: none;"
    width=1108 height=120 border=0></p>
    </div>
    <p class=Body>The following is a description of some of
    the fields that
    display on the <b style="font-weight:
    normal;">Agency Notification</b> tab:</p>
    <ul class=whs3 style="list-style: disc;" type=disc>
    <li class=p-BulletedList1><p
    class=BulletedList1><b style="font-weight: bold;">Reported
    By</b> - Person who reported the incident to an agency
    or organization.</p></li>
    <li class=p-BulletedList1><p
    class=BulletedList1><b style="font-weight: bold;">Agencies
    Notified</b> - Agencies or organizations notified
    about the incident.</p></li>
    <li class=p-BulletedList1><p
    class=BulletedList1><b style="font-weight:
    bold;">Contact</b>
    - Contact person at the notified agency or
    organization.</p></li>
    <li class=p-BulletedList1><p
    class=BulletedList1><b style="font-weight: bold;">Notify
    Date</b> - Date the agency was
    notified.</p></li>
    <li class=p-BulletedList1><p
    class=BulletedList1><span style="font-weight:
    bold;">Comment/Report
    Number</span> - This field can be used to record any
    comments, notes,
    agency report/case numbers associated with the agency
    notification. </p></li>
    </ul>
    <p class=TableText><a href="javascript:void(0);"
    onClick="var e; if (parseInt(navigator.appVersion)>=4){e=event;}
    if (parseInt(navigator.appVersion) >=2 &amp;&amp;
    typeof(PopupMenu_Invoke) == 'function')
    PopupMenu_Invoke(e,'','Action
    Buttons','../../03_Getting_Started_files/Action_Buttons.htm','Adding
    a Row','../../03_Getting_Started_files/Adding_Row.htm','Adding Text
    Entries','../../03_Getting_Started_files/Adding_Text_Entries.htm','Deleting
    a
    Row','../../03_Getting_Started_files/Deleting_Rows.htm','Environmental
    Consequence
    Record','EC_Environmental_Consequence_Record.htm','Searching by
    Personnel
    ID','../../03_Getting_Started_files/Searching_by_Personnel_ID.htm','Selecting
    the
    Time','../../03_Getting_Started_files/Selecting_Time.htm');return
    false"
    title="Related Topics" id=a2 style="position:
    relative;"><img src="../../ss_btn_related_topics1.gif"
    alt="Related Topics" style="width: 81px; height: 17px;
    border-style: none; border-style: none;"
    width=81 height=17
    border=0></a><robohelp><script
    type="text/javascript"
    language=JavaScript1.2><!--
    InitEffects('a2');
    //--></script></robohelp>
    </p>
    <script language=javascript1.2
    type="text/javascript"><!--
    kadovTextPopupInit('a1','POPUP286607275');
    //--></script>
    if you could paste this code on your word doc and try to
    search for .bmp it exactly shows where it is used i tried removing
    that line but it acted strange as even when i added a pop up to a
    word it does not show anything in the view mode.

  • How to remove magicjack plus osx  10.7.5

    Hello,
    I am new to Mac and I am not a Unix system programmer.
    I purchased a MagicJack Plus for my sister and I set it up using my new iMac for her. Now I would like to remove the setup software from my iMac as I do not like to leave extraneous software on my machine.  Also, MagicJack seems to be even more clueless than me, which I find VERY disturbing.
    I.  I viewed and attempted to execut instructions outlined in "How do I uninstall magicJack from my computer?" on MJ wesite as follows:
    Download CompleteUninstall.sh. After the download is complete, open a terminal window by navigating to /Applications/Utilities/Terminal.
    In the Terminal Window, navigate to your download directory (usually Downloads) by typing cd Downloads and pressing enter. Next, type chmod+x CompleteUninstall.sh and press enter. Now type ./CompleteUninstall.sh and press enter again.
    For reference the CompleteUninstall.sh script contains the following:
    #!/bin/sh
    # instalator files
    rm -rf ~/.magicJack
    rm -rf ~/MJInstlogs
    rm -rf ~/Desktop/Start\ magicJack.app
    # softphone files
    rm -rf ~/Library/Preferences/magicJack
    # WebKit cache
    rm -rf ~/Library/Caches/magicJack
    II.  This is results:
    Last login: Tue Apr 23 11:36:11 on ttys000
    Larrys-iMac:~ ldwalker$ cd Downloads
    Larrys-iMac:Downloads ldwalker$ chmod+x CompleteUninstall.sh
    -bash: chmod+x: command not found
    Larrys-iMac:Downloads ldwalker$
    The change ownership command failed, I presume because the path to the Unix Commands directory is not set? If so, how do I set it and then reset everything back to current defaults?
    Thanks in advance for any help you can provide!

    baltwo,
    Thanks VERY much.......this solved my problem. 
    I just cut and pasted the command into my terminal session.  I assumed the format was correct as the exact same command set format was used on several different web sites giving instructions on how to remove the magicjack software.
    Amazing how incorrect info gets propagated around the web!

  • How to remove all CIM in SLD

    Hi all
    i would like to remove all software component from current SLD. i am not telling reimport new released CIM and Contents Version.
    how to remove all related component to make empty SLD BOX?
    Regards and Thanks in advance
    Tony

    david,
    goto SLD-> software catalog -> products / s/w components...
    now when u open any particuler product, the ris an button of REMOVE, click tht to remove tht product and all its related components else,
    select ur component u want to delete and then again click REMOVE, u will be deleting only tht componenet...
    so u need not delete all the components or products, just the ones u dont find useful...
    regards...
    vishal

  • Does anyone know how to remove images from google

    i had instagram and i didnt upload images of myself but i only used my own image in the display picture and some how it has gone on to the google image search yesterday i deleted my account but when i checked to see if my images do appear in the google images i had some really bad regrets !! i reallywant to know how i can remove pictures off the google image search  even doe this does not kind of relate thank you .

    Does anyone know how to remove vocals from an import from I tunes...a  polyphonic stereo mix ?
    If you are talking about some "Karaoke" method using Logic I'll try to offer one. Before that I must say that most of the Karaoke methods are based on reversing the Phase of one of the stereo channel and bussing or merging the stereo into Mono. The result is: killing all Pan Centered in the mix - like Main Vocal, Bass, Kick, SN ect.
    The artifacts of the Stereo FX of the main vocal will stay in the Karaoke, cause the FX is stereo etc.
    Here is the Logic Setup I can offer to try some Karaoke trick using Logic.
    1. Import a Stereo mix into a Logic Stereo track.
    2. Create another stereo track and duplicate (copy) the Original Mix region to the duplicated track.
    3. Hard Pan L/R both stereo tracks.
    4. Insert an EQ and Gainer plugins into the duplicated track (R).
    5. Set the Output select of the both tracks to a Bus and assign the new Aux Track Switch mode to "Mono".
    6. Open the Gainer plugin and thick the "Phase Invert" Right button.
    7. To keep the "lowend" instruments like the bass and kick, open the EQ plugin and enable the Low Cut filter and try some Hz settings 80-115, or different Q which will sounds better for your Karaoke.
    P.S Click the image below to show its real resolution!
    Regards,
    A.G
    ======================================
    www.audiogrocery.com
    Author of: Logic GUI Deluxe(Free), Vox De Bulgaria s.a.g.e vocal pack for RMX, Logic Snapshot Console, RMX Power CTRL - Logic Environment Midi editor for Stylus etc.
    ======================================

  • Fedlet: How to remove SPNameQualifier attribute from Authnrequest message

    Hi all,
    Hopefully someone on this forum is able to give me some hints how to proceed.
    I'm trying to understand how SAML2 works, and how (if I get it working with sample application) I can integrate it with our existing application.
    SP: Fedlet (Running on Weblogic 10.3)
    IDP: Shibboleth (Running on Weblogic 10.3)
    Both are running on the same server, but in different domains (and obviously with different ports).
    Fedlet is installed, and has the IDP meta data file loaded. When I go to the fedletsample application, I get the 3 hyperlinks (Of which "Run Identity Provider initiated Single Sign-On" is a broken link). Clicking on the "Run Fedlet (SP) initiated Single Sign-On using HTTP POST binding" brings me to the IDP login page.
    My IDP is using the embedded LDAP server from Weblogic. I enter the UID and Password, and (if details are entered correct), I'm redirected to the SP site again. Unfortunately at the SP site (The fedlet app) the message states "Single Sign On failed.".
    From reading the log file at the IDP, I understand that my user is successfully authenticated, however IDP (Shibboleth) is unable to process "SPNameQualifer"
    The log states a lot but I think the issue is related to an unknown attribute in the NameIDPolicy element:
    My NameIDPolicy in the AuthnRequest looks like this
    =====
         <samlp:NameIDPolicy
              AllowCreate="true"
              Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient"
              SPNameQualifier="fedletsp"
              xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"/>
    =====
    If I look up the details in the IDP log I see this
    ======
    - Starting to unmarshall DOM element {urn:oasis:names:tc:SAML:2.0:protocol}NameIDPolicy
    - Targeted QName checking is not available for this unmarshaller, DOM Element {urn:oasis:names:tc:SAML:2.0:protocol}NameIDPolicy was not verified
    - Building XMLObject for {urn:oasis:names:tc:SAML:2.0:protocol}NameIDPolicy
    - Unmarshalling attributes of DOM Element {urn:oasis:names:tc:SAML:2.0:protocol}NameIDPolicy
    - Pre-processing attribute AllowCreate
    - Attribute AllowCreate is neither a schema type nor namespace, calling processAttribute()
    - Pre-processing attribute Format
    - Attribute Format is neither a schema type nor namespace, calling processAttribute()
    - Pre-processing attribute SPNameQualifier
    - Attribute SPNameQualifier is neither a schema type nor namespace, calling processAttribute()
    - Pre-processing attribute {http://www.w3.org/2000/xmlns/}samlp
    - {http://www.w3.org/2000/xmlns/}samlp is a namespace declaration, adding it to the list of namespaces on the XMLObject
    - Unmarshalling other child nodes of DOM Element {urn:oasis:names:tc:SAML:2.0:protocol}NameIDPolicy
    - Unmarshalling child elements of XMLObject {urn:oasis:names:tc:SAML:2.0:protocol}AuthnRequest
    - Unmarshalling child element {urn:oasis:names:tc:SAML:2.0:protocol}RequestedAuthnContextwith unmarshaller org.opensaml.saml2.core.impl.RequestedAuthnContextUnmarshaller
    ======
    From topics I found using google, I understood that this attribute is not required, and that I should "suppres" it from the request.
    Now here come my question, how do you suppress this? I assume I would need to add some information to the idp-extended.xml file that indicates to exclude this attribute (SPNameQualifer) from the authrequest. But unfortunately I'm unable to find this infomation.
    Any help, tips are appreciated. I'm sure somewhere this information is stored, but I'm unable to find it.
    Many thanks
    Peter Daalder
    Edited by: user11240309 on 13-apr-2011 1:29

    I would like to perform similar action too.
    Anyone know how to remove the "standalone" attribute?
    Thanks.

  • How to remove actual XML content from Weather Web Service Client's standard output?

    Hi,
    I tried web service example examples.webservices.rpc.weatherEJB.Weather with WLS6.1,
    it works fine, but on client side, ( either Client or DClient ), I always see
    the actual XML content being sent and received from standard output, like
    "------------- RECEIVING XML -------------", and I can't find any related System.out.println
    statement in client source code, Please explain how to remove it, may there is
    a configurable parameter for this? any help will be highly appreciated.
    Thanks
    Naichen

    Hi Naichen,
    To suppress showing the actual SOAP request and response going to standard out,
    change the following line in the Client.java:
    h.put("weblogic.soap.verbose", "true" );
    to read:
    h.put("weblogic.soap.verbose", "false" );
    Regards,
    Mike Wooten
    "Naichen Liu" <[email protected]> wrote:
    >
    Hi,
    I tried web service example examples.webservices.rpc.weatherEJB.Weather
    with WLS6.1,
    it works fine, but on client side, ( either Client or DClient ), I always
    see
    the actual XML content being sent and received from standard output,
    like
    "------------- RECEIVING XML -------------", and I can't find any related
    System.out.println
    statement in client source code, Please explain how to remove it, may
    there is
    a configurable parameter for this? any help will be highly appreciated.
    Thanks
    Naichen

Maybe you are looking for

  • Cannot install Oracle VM 3.1.1

    Dear All, I try to install Oracle VM Server 3.1.1many times on Sun Fire X4100M2 Server from CD-ROM but always got error (CD not found driver) Please kindly give advice for this. Thanks and regards, Heng

  • Status/Delivery Documents not being updated in C4C from ECC on PGI

    Hi, We are integrating SAP C4C with ERP via HCI. We have created a followup 'Sales Order' from an opportunity in C4C. On creating the followup sales order this gets created in SAP ERP & we get back the sales order/inquiry number in C4C,but we do not

  • Restoring Mac book Pro to Lion

    I am trying to restore my macbook pro to the Factory default..  I go through the process to restore Lyon and when i enter the apple ID I get the message that says that I need to use an apple ID that was used to purchase Lion.  Is it possible to resto

  • Tranferring photos from Photoshop Elements 6 to 8

    I recently upgraded from Photoshop Elements 6 to 8.  However, many of my pictures are still only in version 6.  How do I import them into 8 and avoid duplicates?  Thanks!

  • Do I have to worry about my macpro getting hacked?

    Do I have to worry about my macpro getting hacked?