Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


oracle.ldap.util
Class ServiceRecipient

java.lang.Object
  extended by oracle.ldap.util.LDAPEntry
      extended by oracle.ldap.util.LDAPGroup
          extended by oracle.ldap.util.ServiceRecipient

All Implemented Interfaces:
java.io.Serializable

public class ServiceRecipient
extends LDAPGroup

* This class represents a ServiceRecipient which contains the subscription information of a particular service. A ServiceRecipient object can be obtained directly through its constructor if the DN of the recipient entry is known. Otherwise, to obtain the ServiceRecipients belonging to a particular realm, Subscriber object should be used.

See Also:
Serialized Form

Field Summary

 

Fields inherited from class oracle.ldap.util.LDAPEntry
entryDN, entryIdType, entryPsc, inEntryId, validated

 

Constructor Summary
ServiceRecipient(javax.naming.directory.DirContext inctx, java.lang.String inputDN)
          Constructs a ServiceRecipient object using the given DN
ServiceRecipient(javax.naming.directory.DirContext inctx, java.lang.String inputDN, PropertySet ps)
          Constructs a ServiceRecipient object

 

Method Summary
 void addUniquemember(javax.naming.directory.DirContext ctx, java.lang.String dn)
          Adds the DN (currently user DN only) as a member of this service recipient list
 void addUniquemember(javax.naming.directory.DirContext ctx, java.lang.String[] dnArr)
          Adds an array of DN's as members of this service recipient list
 void removeUniquemember(javax.naming.directory.DirContext ctx, java.lang.String dn)
          Removes the DN as a subscriber from this service recipient list.
 void resolve(javax.naming.directory.DirContext ctx)
          Determines if the service defined is a valid service

 

Methods inherited from class oracle.ldap.util.LDAPGroup
getAllUniquemembers, isUniquemember

 

Methods inherited from class oracle.ldap.util.LDAPEntry
getDN, getProperties, setProperties

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ServiceRecipient

public ServiceRecipient(javax.naming.directory.DirContext inctx,
                        java.lang.String inputDN)
                 throws UtilException
Constructs a ServiceRecipient object using the given DN
Parameters:
ctx - a valid DirContext
inputDN - - the DN representing the service
Throws:
UtilException

ServiceRecipient

public ServiceRecipient(javax.naming.directory.DirContext inctx,
                        java.lang.String inputDN,
                        PropertySet ps)
                 throws UtilException
Constructs a ServiceRecipient object
Throws:
UtilException

Method Detail

addUniquemember

public void addUniquemember(javax.naming.directory.DirContext ctx,
                            java.lang.String dn)
                     throws UtilException
Adds the DN (currently user DN only) as a member of this service recipient list
Overrides:
addUniquemember in class LDAPGroup
Parameters:
ctx - a valid DirContext
user - the User object representing the user to be added
Throws:
UtilException

addUniquemember

public void addUniquemember(javax.naming.directory.DirContext ctx,
                            java.lang.String[] dnArr)
                     throws UtilException
Adds an array of DN's as members of this service recipient list
Parameters:
ctx - a valid DirContext
dnArr - a String[] of DNs to be added as members
Throws:
UtilException

removeUniquemember

public void removeUniquemember(javax.naming.directory.DirContext ctx,
                               java.lang.String dn)
                        throws UtilException
Removes the DN as a subscriber from this service recipient list.
Overrides:
removeUniquemember in class LDAPGroup
Parameters:
ctx - a valid DirContext
user - the User object representing the user to be added
Throws:
UtilException

resolve

public void resolve(javax.naming.directory.DirContext ctx)
             throws UtilException
Determines if the service defined is a valid service
Specified by:
resolve in class LDAPEntry
Parameters:
ctx - a valid DirContext
Throws:
UtilException

Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


Copyright © 1999, 2009 Oracle. All Rights Reserved.