org.apache.muse.ws.resource.properties.set
Interface SetRequestComponent

All Superinterfaces:
XmlSerializable
All Known Implementing Classes:
AbstractSetRequestComponent, DeleteRequest, InsertRequest, UpdateRequest

public interface SetRequestComponent
extends XmlSerializable

SetRequestComponent is the atomic unit of construction for WSRP SetResourceProperties requests. Instances of this type can be executed against a WSRP document. There is a finite set of concrete SetRequestComponent types, and they are defined by the WSRP v1.2 spec.

Author:
Dan Jemiolo (danj)

Method Summary
 void execute(ResourcePropertyCollection props)
          Performs the set command on the given WSRP document.
 int getNumberOfValues()
           
 QName getPropertyName()
           
 Object getSecurityToken()
           
 Element getValue(int index)
           
 Element[] getValues()
           
 void setPropertyName(QName qname)
           
 void setSecurityToken(Object securityToken)
           
 void setValues(Object[] values)
           
 
Methods inherited from interface org.apache.muse.util.xml.XmlSerializable
toXML, toXML
 

Method Detail

execute

void execute(ResourcePropertyCollection props)
             throws BaseFault
Performs the set command on the given WSRP document. There may be one or more changes made to the document as the result of this command.

Throws:
BaseFault

getNumberOfValues

int getNumberOfValues()

getPropertyName

QName getPropertyName()
Returns:
The name of the property being operated on.

getSecurityToken

Object getSecurityToken()
Returns:
The security token assigned by the command's creator, which may affect its ability to execute successfully.

getValue

Element getValue(int index)

getValues

Element[] getValues()

setPropertyName

void setPropertyName(QName qname)

setSecurityToken

void setSecurityToken(Object securityToken)

setValues

void setValues(Object[] values)


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.