You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Mohammad Fakhar (JIRA)" <ji...@apache.org> on 2006/08/14 23:23:15 UTC

[jira] Created: (MUSE-55) Implementation of put resource property doc

Implementation of put resource property doc
-------------------------------------------

                 Key: MUSE-55
                 URL: http://issues.apache.org/jira/browse/MUSE-55
             Project: Muse
          Issue Type: New Feature
          Components: WSRF WSRP ResourcePropertyCollection and Capabilities
    Affects Versions: 2.0.0 M2
         Environment: any
            Reporter: Mohammad Fakhar
         Assigned To: Dan Jemiolo
         Attachments: putRPDoc.jar

I implemented put resource property doc operation in SimpleResourcePropertyCollection.

    public synchronized Element putResourcePropertyDocument(Element newDoc) throws 
    UnableToPutResourcePropertyDocumentFault, BaseFault

The algorithm is:
1) if newDoc is null, throw fault
2) delete all NON-READ-ONLY properties - The  spec states that this operation is supposed to be a full replacement
of the resource properties, which means all old properties, with the exception of read-only properties, need to be deleted.
3) Break down the newDoc into InsertRequest components - Basically I iterate through all top level properties in newDoc and
create InsertRequests for them. If a read-only property is being inserted, i throw a fault.
4) Then finally i execute all the InsertRequest components.

I have attached binary and source in jar.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


[jira] Closed: (MUSE-55) Implementation of put resource property doc

Posted by "Dan Jemiolo (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/MUSE-55?page=all ]

Dan Jemiolo closed MUSE-55.
---------------------------

    Fix Version/s: 2.0.0 M2
       Resolution: Fixed

This is a duplicate of MUSE-29, so I have moved the comments/file over.


> Implementation of put resource property doc
> -------------------------------------------
>
>                 Key: MUSE-55
>                 URL: http://issues.apache.org/jira/browse/MUSE-55
>             Project: Muse
>          Issue Type: New Feature
>          Components: WSRF WSRP ResourcePropertyCollection and Capabilities
>    Affects Versions: 2.0.0 M2
>         Environment: any
>            Reporter: Mohammad Fakhar
>         Assigned To: Dan Jemiolo
>             Fix For: 2.0.0 M2
>
>         Attachments: putRPDoc.jar
>
>
> I implemented put resource property doc operation in SimpleResourcePropertyCollection.
>     public synchronized Element putResourcePropertyDocument(Element newDoc) throws 
>     UnableToPutResourcePropertyDocumentFault, BaseFault
> The algorithm is:
> 1) if newDoc is null, throw fault
> 2) delete all NON-READ-ONLY properties - The  spec states that this operation is supposed to be a full replacement
> of the resource properties, which means all old properties, with the exception of read-only properties, need to be deleted.
> 3) Break down the newDoc into InsertRequest components - Basically I iterate through all top level properties in newDoc and
> create InsertRequests for them. If a read-only property is being inserted, i throw a fault.
> 4) Then finally i execute all the InsertRequest components.
> I have attached binary and source in jar.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org