|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides methods for operations on NDS Objects.
The NdsObject interface provides a window into functionality not provided by JNDI. It defines methods dealing with rights as well as methods related to operational attributes.
Fields inherited from class javax.naming.directory.DirContext |
ADD_ATTRIBUTE,
REMOVE_ATTRIBUTE,
REPLACE_ATTRIBUTE |
Fields inherited from class javax.naming.Context |
APPLET,
AUTHORITATIVE,
BATCHSIZE,
DNS_URL,
INITIAL_CONTEXT_FACTORY,
LANGUAGE,
OBJECT_FACTORIES,
PROVIDER_URL,
REFERRAL,
SECURITY_AUTHENTICATION,
SECURITY_CREDENTIALS,
SECURITY_PRINCIPAL,
SECURITY_PROTOCOL,
STATE_FACTORIES,
URL_PKG_PREFIXES |
Method Summary | |
NdsAttributeRights |
getAttributeEffectiveRights(NdsObject trustee)
Returns the effective rights of the specified trustee NDS object. |
NdsAttributeRights |
getAttributeEffectiveRights(NdsObject trustee,
java.lang.String attrName)
Returns the effective rights of the specified trustee NDS object for the specified attribute ID. |
NdsAttributeRights |
getAttributeEffectiveRights(java.lang.String trustee)
Returns the effective rights of the specified trustee String object. |
NdsAttributeRights |
getAttributeEffectiveRights(java.lang.String trustee,
java.lang.String attrName)
Returns the effective rights of the specified trustee String object for the attribute ID. |
javax.naming.NamingEnumeration |
getAttributesEffectiveRights(NdsObject trustee,
java.lang.String[] attrIds)
Returns the effective rights of the specified trustee NDS object and array of attribute IDs. |
javax.naming.NamingEnumeration |
getAttributesEffectiveRights(java.lang.String trustee,
java.lang.String[] attrIds)
Returns the effective rights of the specified trustee String object and array of attribute IDs. |
java.lang.String |
getBaseClass()
Returns the base class (immediate parent class) of the object. |
java.lang.String |
getDistinguishedName()
Returns the Distinguished Name of the NDS Object. |
java.util.Date |
getModificationTime()
Returns the object modification time as a Date type. |
NdsObjectRights |
getObjectEffectiveRights(NdsObject trustee)
Returns the effective rights of the specified trustee object. |
NdsObjectRights |
getObjectEffectiveRights(java.lang.String trustee)
Returns the effective rights of the specified trustee (subject) String object. |
int |
getObjectFlags()
Returns the DSI Entry Flag ID for the object. |
int |
getSubordinateCount()
Returns a count of the subordinates. |
java.lang.String |
getTreeName()
Returns the name of the NDS tree where the object resides. |
javax.naming.NamingEnumeration |
list(java.lang.String name,
boolean containers)
Returns a NamingEnumeration of NameClassPair objects that may be container objects only, or all objects subordinate to the specified name. |
javax.naming.NamingEnumeration |
list(java.lang.String name,
java.lang.String className,
java.lang.String subordinateName)
Returns a NamingEnumeration of NameClassPair objects that satisfy the specified filter criteria in the className and subordinateName parameters. |
javax.naming.NamingEnumeration |
listBindings(java.lang.String name,
boolean containers)
Returns a NamingEnumeration of Binding objects that may be container objects only, or all objects subordinate to the specified name. |
javax.naming.NamingEnumeration |
listBindings(java.lang.String name,
java.lang.String className,
java.lang.String subordinateName)
Returns a NamingEnumeration of Binding objects that satisfy the specified filter criteria in the className and subordinateName parameters. |
Methods inherited from interface javax.naming.directory.DirContext |
bind,
bind,
createSubcontext,
createSubcontext,
getAttributes,
getAttributes,
getAttributes,
getAttributes,
getSchema,
getSchema,
getSchemaClassDefinition,
getSchemaClassDefinition,
modifyAttributes,
modifyAttributes,
modifyAttributes,
modifyAttributes,
rebind,
rebind,
search,
search,
search,
search,
search,
search,
search,
search |
Methods inherited from interface com.novell.service.nds.NdsIteratorFactory |
createIterator,
createIterator,
createIterator,
createIterator,
createIterator |
Methods inherited from interface javax.naming.Referenceable |
getReference |
Methods inherited from interface com.novell.service.nds.naming.Partitionable |
getPartition,
getPartition,
getPartitionRoot,
getPartitionRoot |
Methods inherited from interface javax.naming.Context |
addToEnvironment,
bind,
bind,
close,
composeName,
composeName,
createSubcontext,
createSubcontext,
destroySubcontext,
destroySubcontext,
getEnvironment,
getNameInNamespace,
getNameParser,
getNameParser,
list,
list,
listBindings,
listBindings,
lookup,
lookup,
lookupLink,
lookupLink,
rebind,
rebind,
removeFromEnvironment,
rename,
rename,
unbind,
unbind |
Method Detail |
public java.lang.String getDistinguishedName() throws com.novell.service.jncp.NSIException
The largest supported Distinguished Name is 256 Unicode characters, not including the terminating NULL character. Distinguished Names are not case sensitive, even if one of the naming attributes is case-sensitive.
public int getObjectFlags() throws com.novell.service.jncp.NSIException
public int getSubordinateCount() throws com.novell.service.jncp.NSIException
public java.util.Date getModificationTime() throws com.novell.service.jncp.NSIException
public java.lang.String getBaseClass() throws com.novell.service.jncp.NSIException
public java.lang.String getTreeName() throws com.novell.service.jncp.NSIException
public NdsObjectRights getObjectEffectiveRights(NdsObject trustee) throws com.novell.service.jncp.NSIException
trustee
- NDS Object for which access privileges will be
provided.NdsObjectRights
public NdsObjectRights getObjectEffectiveRights(java.lang.String trustee) throws com.novell.service.jncp.NSIException
The trustee can be one of the following:
trustee
- NDS String object for which access privileges
will be provided.NdsObjectRights
public NdsAttributeRights getAttributeEffectiveRights(NdsObject trustee) throws com.novell.service.jncp.NSIException
trustee
- NDS object for which access privileges will be
provided.public NdsAttributeRights getAttributeEffectiveRights(java.lang.String trustee) throws com.novell.service.jncp.NSIException
The trustee can be one of the following:
trustee
- Name for which access privileges will be
provided.public NdsAttributeRights getAttributeEffectiveRights(NdsObject trustee, java.lang.String attrName) throws com.novell.service.jncp.NSIException
trustee
- NDS object for which access privileges will be
provided.attrName
- Specific attribute name.public NdsAttributeRights getAttributeEffectiveRights(java.lang.String trustee, java.lang.String attrName) throws com.novell.service.jncp.NSIException
The trustee can be one of the following:
trustee
- Name for which access privileges will be
provided.attrName
- Specific attribute name.public javax.naming.NamingEnumeration getAttributesEffectiveRights(NdsObject trustee, java.lang.String[] attrIds) throws com.novell.service.jncp.NSIException
trustee
- NDS object for which access privileges will be
provided.attrIds
- Array of attribute IDs for which to return
effective rights.public javax.naming.NamingEnumeration getAttributesEffectiveRights(java.lang.String trustee, java.lang.String[] attrIds) throws com.novell.service.jncp.NSIException
The trustee can be one of the following:
trustee
- Name for which access privileges will be
provided.attrIds
- Array of attribute IDs for which to return
effective rights.public javax.naming.NamingEnumeration list(java.lang.String name, boolean containers) throws javax.naming.NamingException
name
- Container name for which subordinate objects will be
returned.containers
- If true, specifies that all containers subordinate to
name will be returned. If false, specifies that all
objects subordinate to name will be returned.public javax.naming.NamingEnumeration list(java.lang.String name, java.lang.String className, java.lang.String subordinateName) throws javax.naming.NamingException
name
- Container name for which NameClassPair objects will be
returned for matching subordinates.className
- Specifies a class name to be used as a filter (can
contain wildcards).subordinateName
- Specifies an object name to be used as a filter
(can contain wildcards).public javax.naming.NamingEnumeration listBindings(java.lang.String name, boolean containers) throws javax.naming.NamingException
name
- Container name for which subordinate objects will be
returned.containers
- If true, specifies that all containers subordinate to
name will be returned. If false, specifies that all
objects subordinate to name will be returned.public javax.naming.NamingEnumeration listBindings(java.lang.String name, java.lang.String className, java.lang.String subordinateName) throws javax.naming.NamingException
name
- Container name for which Binding objects will be
returned for matching subordinates.className
- Specifies a class name to be used as a filter (can
contain wildcards).subordinateName
- Specifies an object name to be used as a filter
(can contain wildcards).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |