OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

regrep-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [regrep-comment] Slots and the update request


Paul Teasdale wrote:

>AddSlots, RemoveSlots...
>
>Since we can specify slots under an object within a SubmitObjectRequest, I assume we can also add/remove slots within an update request. Its fits...thus we don't need an addSlotsRequest and removeSlotsRequest in LifeCycleManger interface (it simply becomes convenient to have)
>
Paul, once again you are correct in your observation that 
add/removeSlots is not absolutely necessary in teh registry API. The 
history is that add/rremoveSlots existed before the more general 
UpdateObjectsRequests. We may consider removing this in a future 
release. Thanks for your valuable suggetsions.

>
>
><SubmitObjectsRequest>
>
>          <RegistryObjectList>
>
>                      <Organization id="orgId"/>
>
>                            <SlotList>
>
>                                   <Slot name="foo" slotType="type"/>
>
>                             </SlotList>
>
>                         </Organization>
>
>      </RegistryObjectList>
>
></SubmitObjectsRequest>
>
>
>I then update orgId and add 2 more slots...
>
><UpdateObjectsRequest>
>          <RegistryObjectList>
>                      <Organization id="orgId"/>
>
>                            <SlotList>
>
>                                   <Slot name="foo" slotType="type"/>
>
>                                    <Slot name="goo" slotType="type"/>
>
>                                    <Slot name="gaa" slotType="type"/>
>
>                             </SlotList>
>
>                         </Organization>
>
>  ...
>
>Paul
>
>
>  
>


-- 
Farrukh




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]