uk.ac.soton.itinnovation.grid.comms.dataresource
Interface DataResourceRole

All Superinterfaces:
PolicyManagement, ResourceMetadata, WSResourceLifetime
All Known Subinterfaces:
OgsaDaiRole, OgsaDaiRoleConversation
All Known Implementing Classes:
ManagedDataResource, OgsaDaiServiceI2Impl, OgsaDaiServiceImpl

@WebServiceWSDL(targetNamespace="http://www.it-innovation.soton.ac.uk/2004/grid/dataresourcerole",
                portTypeName="DataResourceRole",
                resourcePath="dataresourcerole.wsdl",
                serviceName="DataResourceRole",
                bindingName="DataResourceRoleSoapBinding")
public interface DataResourceRole
extends WSResourceLifetime, ResourceMetadata, PolicyManagement


Field Summary
static String RESOURCE_TYPE
           
 
Method Summary
 org.apache.axis.message.addressing.EndpointReferenceType createSubscription(MatchRule owner, String label)
          Create a subscription to this data resource role.
 Map<String,String> getDataResourceRoleAttributes()
          Get the attribute values of this data resource role.
 void modifyDataResourceRole(String label, Map<String,String> attributes)
          Modify parts of this data resource role.
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.comms.wsrf.WSResourceLifetime
destroy
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.ResourceMetadata
getEPR, setLabel
 
Methods inherited from interface uk.ac.soton.itinnovation.grid.types.PolicyManagement
addPolicyRule, getPolicyRules, getValidRoles, removePolicyRule
 

Field Detail

RESOURCE_TYPE

static final String RESOURCE_TYPE
See Also:
Constant Field Values
Method Detail

createSubscription

@WebMethod(usesBillingHeader=true)
org.apache.axis.message.addressing.EndpointReferenceType createSubscription(MatchRule owner,
                                                                                                       String label)
                                                                            throws RemoteException
Create a subscription to this data resource role.

Parameters:
owner - A rule for the 'owner' PBAC role.
label - A label describing the subscription that is to be created.
Returns:
An EPR describing the subscription.
Throws:
RemoteException

getDataResourceRoleAttributes

@WebMethod
Map<String,String> getDataResourceRoleAttributes()
Get the attribute values of this data resource role. The return type is a key-value map of attributes. Keys will be from the set DataResourceManagement.getDataResourceRoleAttributeNames().


modifyDataResourceRole

@WebMethod
void modifyDataResourceRole(String label,
                                      Map<String,String> attributes)
Modify parts of this data resource role.

Parameters:
label - The new label. If null, the label will not be changed.
attributes - A new key-value map of attributes. Any attributes not specified in this map will not be modified or removed. Keys should be of the set DataResourceManagement.getDataResourceRoleAttributeNames().


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.