|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ldap.util.LDAPEntry
oracle.ldap.util.LDAPGroup
oracle.ldap.util.ServiceRecipient
public class ServiceRecipient
* 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 ServiceRecipient
s belonging to a particular realm, Subscriber
object should be used.
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 |
---|
public ServiceRecipient(javax.naming.directory.DirContext inctx, java.lang.String inputDN) throws UtilException
ServiceRecipient
object using the given DN
ctx
- a valid DirContextinputDN
- - the DN representing the serviceUtilException
public ServiceRecipient(javax.naming.directory.DirContext inctx, java.lang.String inputDN, PropertySet ps) throws UtilException
ServiceRecipient
object
UtilException
Method Detail |
---|
public void addUniquemember(javax.naming.directory.DirContext ctx, java.lang.String dn) throws UtilException
addUniquemember
in class LDAPGroup
ctx
- a valid DirContextuser
- the User object representing the user to be addedUtilException
public void addUniquemember(javax.naming.directory.DirContext ctx, java.lang.String[] dnArr) throws UtilException
ctx
- a valid DirContextdnArr
- a String[] of DNs to be added as membersUtilException
public void removeUniquemember(javax.naming.directory.DirContext ctx, java.lang.String dn) throws UtilException
removeUniquemember
in class LDAPGroup
ctx
- a valid DirContextuser
- the User object representing the user to be addedUtilException
public void resolve(javax.naming.directory.DirContext ctx) throws UtilException
resolve
in class LDAPEntry
ctx
- a valid DirContextUtilException
|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |