|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SetOperationFactory is a component that allows users to create executable commands for a WSRP document by providing either the values of the command or an XML fragment that represents it. All commands are compliant with the WSRP v1.2 SetResourceProperties spec definition.
Method Summary | |
---|---|
SetRequest |
createDelete(QName qname)
This is a convenience method that creates a new SetRequest object an populates it with a DeleteRequest for the given property. |
SetRequest |
createInsert(QName qname,
java.lang.Object[] values)
This is a convenience method that creates a new SetRequest object an populates it with a InsertRequest for the given property. |
SetRequest |
createSet(org.w3c.dom.Element request)
Parses the given XML fragment according to the WS-RP spec for SetResourceProperties requests. |
SetRequest |
createUpdate(QName qname,
java.lang.Object[] values)
This is a convenience method that creates a new SetRequest object an populates it with a UpdateRequest for the given property. |
Method Detail |
public SetRequest createDelete(QName qname)
qname
- The name of the property to delete.public SetRequest createInsert(QName qname, java.lang.Object[] values)
qname
- The name of the property to insert.values
- The initial values for each instance of the property. This
array should not be null, nor empty.public SetRequest createSet(org.w3c.dom.Element request) throws BaseFault
request
- An XML fragment containing a SetResourceProperties request.
BaseFault
- public SetRequest createUpdate(QName qname, java.lang.Object[] values)
qname
- The name of the property to update.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |