|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SetOperationFactory
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,
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(Element request)
Parses the given XML fragment according to the WS-RP spec for SetResourceProperties requests. |
SetRequest |
createUpdate(QName qname,
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 |
---|
SetRequest createDelete(QName qname)
qname
- The name of the property to delete.SetRequest createInsert(QName qname, 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.SetRequest createSet(Element request) throws BaseFault
request
- An XML fragment containing a SetResourceProperties request.
BaseFault
- SetRequest createUpdate(QName qname, Object[] values)
qname
- The name of the property to update.value
- The value that will be copied to each instance of the property.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |