Skip navigation links

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

E10664-01


oracle.ldap.util
Class LDAPGroup

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

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Group, ServiceRecipient

public abstract class LDAPGroup
extends LDAPEntry

This abstract class represents an LDAP group entry. It is subclassed by Group class.

The class provides some general LDAP methods to be performed on a group entry.

See Also:
Serialized Form

Field Summary

 

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

 

Constructor Summary
protected LDAPGroup(javax.naming.directory.DirContext inCtx, java.lang.String inEntryDN)
           
protected LDAPGroup(javax.naming.directory.DirContext inCtx, java.lang.String inEntryDN, PropertySet inDnPs)
           

 

Method Summary
 void addUniquemember(javax.naming.directory.DirContext ctx, java.lang.String dn)
          Adds the DN as a uniquemember of this group
 java.lang.String[] getAllUniquemembers(javax.naming.directory.DirContext ctx)
          Returns a String array of DN's of all the users who are uniquemembers of this group.
 boolean isUniquemember(javax.naming.directory.DirContext ctx, java.lang.String memberDN)
          Determines if the given DN is a uniquemember of this group
 void removeUniquemember(javax.naming.directory.DirContext ctx, java.lang.String dn)
          Removes the DN as a uniquemember of this group

 

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

 

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

 

Constructor Detail

LDAPGroup

protected LDAPGroup(javax.naming.directory.DirContext inCtx,
                    java.lang.String inEntryDN)

LDAPGroup

protected LDAPGroup(javax.naming.directory.DirContext inCtx,
                    java.lang.String inEntryDN,
                    PropertySet inDnPs)

Method Detail

getAllUniquemembers

public java.lang.String[] getAllUniquemembers(javax.naming.directory.DirContext ctx)
                                       throws UtilException
Returns a String array of DN's of all the users who are uniquemembers of this group.
Parameters:
ctx - a valid DirContext
Throws:
UtilException

isUniquemember

public boolean isUniquemember(javax.naming.directory.DirContext ctx,
                              java.lang.String memberDN)
                       throws UtilException
Determines if the given DN is a uniquemember of this group
Parameters:
memberDN - a valid DN
Throws:
UtilException

addUniquemember

public void addUniquemember(javax.naming.directory.DirContext ctx,
                            java.lang.String dn)
                     throws UtilException
Adds the DN as a uniquemember of this group
Parameters:
ctx - a valid DirContext
dn - the DN representing the object to be added
Throws:
UtilException

removeUniquemember

public void removeUniquemember(javax.naming.directory.DirContext ctx,
                               java.lang.String dn)
                        throws UtilException
Removes the DN as a uniquemember of this group
Parameters:
ctx - a valid DirContext
dn - the DN representing the object to be added
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.