com.ibm.soa.parlayx21.group_member
Class MemberProxy

java.lang.Object
  extended by com.ibm.soa.parlayx21.group_member.MemberProxy
All Implemented Interfaces:
Member, java.rmi.Remote

public class MemberProxy
extends java.lang.Object
implements Member


Constructor Summary
MemberProxy()
           
 
Method Summary
 void addMemberAttribute(java.net.URI member, SimpleAttribute data)
          Add member attribute.
 void deleteMemberAttribute(java.net.URI member, java.lang.String attributeName)
          Delete attribute from a member.
 java.lang.String getEndpoint()
           
 Member getMember()
           
 SimpleAttribute[] queryMemberAttributes(java.net.URI member, java.lang.String[] attributeNames)
          Query attributes of a member.
 void setEndpoint(java.lang.String endpoint)
           
 void useJNDI(boolean useJNDI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemberProxy

public MemberProxy()
Method Detail

useJNDI

public void useJNDI(boolean useJNDI)

getEndpoint

public java.lang.String getEndpoint()

setEndpoint

public void setEndpoint(java.lang.String endpoint)

getMember

public Member getMember()

addMemberAttribute

public void addMemberAttribute(java.net.URI member,
                               SimpleAttribute data)
                        throws java.rmi.RemoteException,
                               PolicyException,
                               ServiceException
Description copied from interface: Member

Add member attribute. If an attribute with this name exists, its value will be replaced with the value provided in this operation.

Referenced faults

ServiceException from ES 202 391-1 [2]:
  * SVC0001: Service error.
  * SVC0002: Invalid input value.

PolicyException from ES 202 391-1 [2]:
  * POL0001: Policy error.

Specified by:
addMemberAttribute in interface Member
Parameters:
member - xsd:anyURI Member to add attribute to
data - SimpleAttribute Attribute to add to member
Throws:
java.rmi.RemoteException
PolicyException
ServiceException

queryMemberAttributes

public SimpleAttribute[] queryMemberAttributes(java.net.URI member,
                                               java.lang.String[] attributeNames)
                                        throws java.rmi.RemoteException,
                                               PolicyException,
                                               ServiceException
Description copied from interface: Member

Query attributes of a member. If any attributes requested do not exist, they will not be included in the result.

Referenced faults

ServiceException from ES 202 391-1 [2]:
  * SVC0001: Service error.
  * SVC0002: Invalid input value.

PolicyException from ES 202 391-1 [2]:
  * POL0001: Policy error.

Specified by:
queryMemberAttributes in interface Member
Parameters:
member - xsd:anyURI Member to query attributes for
attributeNames - xsd:string [1..unbounded] List of attribute names to retrieve
Returns:
result SimpleAttribute [0..unbounded] List of attributes
Throws:
java.rmi.RemoteException
PolicyException
ServiceException

deleteMemberAttribute

public void deleteMemberAttribute(java.net.URI member,
                                  java.lang.String attributeName)
                           throws java.rmi.RemoteException,
                                  PolicyException,
                                  ServiceException
Description copied from interface: Member

Delete attribute from a member. If the attribute specified does not exist, it will be ignored.

Referenced faults

ServiceException from ES 202 391-1 [2]:
  * SVC0001: Service error.
  * SVC0002: Invalid input value.

PolicyException from ES 202 391-1 [2]:
  * POL0001: Policy error.

Specified by:
deleteMemberAttribute in interface Member
Parameters:
member - xsd:anyURI Member to remove attributes from
attributeName - xsd:string Name of attribute to delete
Throws:
java.rmi.RemoteException
PolicyException
ServiceException


Copyright © 2003 IBM Corp. All Rights Reserved.